Jump to content

  • You cannot start a new topic
  • You cannot reply to this topic

Sort By Number In Specific Category Only Rate Topic   - - - - -

 
  • johnbol1
  • Never Re
  • Members
  • Join Date: 23-Feb 10
  • 4,090 posts

Posted 19 June 2017 - 12:26 PM #1

In my store I use sort order of "price" but in 1 particular user group or category I want to able to sort by number order, by using the number positions in admin.

 

Is this possible or can anyone make me and addon

 

THanks

John


Custom printed hi visibility clothing sale the UK's online hivis safety shop
v4.5.2


 
  • beencart
  • Senior Member
  • Authorized Reseller
  • Join Date: 27-Feb 17
  • 181 posts

Posted 19 June 2017 - 12:29 PM #2

In my store I use sort order of "price" but in 1 particular user group or category I want to able to sort by number order, by using the number positions in admin.

 

Is this possible or can anyone make me and addon

 

THanks

John

 

Hello! We can make an add-on for you, please contact us to sales@beencart.com



 
  • eComLabs
  • CS-Cart Expert
  • Authorized Reseller
  • Join Date: 27-Jan 14
  • 15,404 posts

Posted 19 June 2017 - 01:15 PM #3

You can use the get_products_pre hook in the fn_get_products function (app/functions/fn.catalog.php) to add new condition by dispatch and category_id


GET A FREE QUOTE | CS-Cart Add-ons | CS-Cart Licenses | CS-Cart Development | CS-Cart Design | Server Configuration

Certified CS-Cart RU Developer | Сертифицированный разработчик на CS-Cart Русская Версия