Author Topic: customizing the orderBy in category pages  (Read 430 times)

kiasati

  • Jr. Member
  • **
  • Posts: 109
    • JoomlaJoy
customizing the orderBy in category pages
« on: May 09, 2019, 11:29:47 am »
Hi,

I sell security cameras on my website.
I have a category page for Camera Packages. and in each package, there are more than one cameras.

I want to add an option to sortBy in category pages, so the user can sort the packages by the number of cameras in the package.

How can I do this?
any help is appreciated.

GJC Web Design

  • 3rd party VirtueMart Developer
  • Super Hero
  • *
  • Posts: 9245
  • Virtuemart, Joomla & php developer
    • GJC Web Design
  • VirtueMart Version: 3.6.8
Re: customizing the orderBy in category pages
« Reply #1 on: May 09, 2019, 11:41:13 am »
there are many many sort by options in the admin  -- choose one and use that as camera numbers  - fill in the numbers and change the labels
GJC Web Design
VirtueMart and Joomla Developers - php developers http://www.gjcwebdesign.com
VM3 AusPost Shipping Plugin - e-go Shipping Plugin - VM3 Postcode Shipping Plugin - Radius Shipping Plugin - VM3 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
http://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

kiasati

  • Jr. Member
  • **
  • Posts: 109
    • JoomlaJoy
Re: customizing the orderBy in category pages
« Reply #2 on: May 09, 2019, 11:55:33 am »
there are many many sort by options in the admin  -- choose one and use that as camera numbers  - fill in the numbers and change the labels

I should put the number of cameras in "Units in Box" in the product settings,
and in the vm configurations, I check the "Product Unit" in the "Available Sort-by fields" section?

I was considering this. I'll try it. thank you...

GJC Web Design

  • 3rd party VirtueMart Developer
  • Super Hero
  • *
  • Posts: 9245
  • Virtuemart, Joomla & php developer
    • GJC Web Design
  • VirtueMart Version: 3.6.8
Re: customizing the orderBy in category pages
« Reply #3 on: May 09, 2019, 12:06:36 pm »
something like this -- try and see
GJC Web Design
VirtueMart and Joomla Developers - php developers http://www.gjcwebdesign.com
VM3 AusPost Shipping Plugin - e-go Shipping Plugin - VM3 Postcode Shipping Plugin - Radius Shipping Plugin - VM3 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
http://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation