Page 1 of 1

Sort By on Product List Pages

Posted: Thu Mar 14, 2024 12:02 am
by GetSirius
Hello,

Wondering if there is a way to completely remove the Sort By box on product listing pages?

Also, is there a way I can control the order that products are listed? I have a Sort Order addon in osC 2.3.4 but did not find such a thing here.

Thank you, Chuck

Re: Sort By on Product List Pages

Posted: Thu Mar 14, 2024 12:30 am
by GetSirius
Still would like to know about controlling the order that products are listed.

Found my answer for removing the Sort Order box after posting.
For someone else who may want to do this:

1. Copy templates/includes/components/product_listing.php to templates/override/includes/components/product_listing.php
2. Edit file and remove the full div: <div class="card mb-2 card-body alert-filters">
3. Save and Sort By box is gone.

Hopefully this is not something that will cause an issue in the future when upgrading.

Re: Sort By on Product List Pages

Posted: Thu Mar 14, 2024 8:46 am
by heatherbell
GetSirius wrote: Thu Mar 14, 2024 12:30 am Found my answer for removing the Sort Order box after posting.
Maybe simpler using user.css:
.alert-filters{display:none;}
GetSirius wrote: Thu Mar 14, 2024 12:30 am Still would like to know about controlling the order that products are listed.
viewtopic.php?p=7960#p7960

Re: Sort By on Product List Pages

Posted: Thu Mar 14, 2024 6:38 pm
by burt
Another option for setting a default sort order;

viewtopic.php?f=28&t=1624&p=11290#p11290