Ecommerce software home
Shopping Cart Software Forum for Ecommerce Templates
 
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

Find us on Facebook Follow us on Twitter View our YouTube channel
Search our site
 All Forums
 Technical
 PHP (Unix / Linux / Apache) versions
 Product Order not working
Author « Topic »  

charmarsh
Ecommerce Template Expert

USA
933 Posts

Pre-sales questions only
(More Details...)

Posted - 03/13/2023 :  16:57:03  
I entered, by number, the order in which I want my 5 products to appear in its category... Not changing, still showing by alpha.

1818charlie
ECT Moderator

United Kingdom
1180 Posts

Posted - 03/13/2023 :  17:17:06  
Hi Charlotte

Does this help at all? The following is from the PHP parameters page
https://www.ecommercetemplates.com/phphelp/ecommplus/parameters.asp

Product listings

Note
The product sort order is set in the admin main settings page but you can override this with the $orsortby parameter. This is handy if you want to use them on static pages with a different listing. Please note this setting also overrides the listing choices in the new product filter bar.

$orsortby=1; // list your products alphabetically

$orsortby=2; // Sort by product ID

$orsortby=3; // Product Price - Ascending

$orsortby=4; // Product Price - Descending

$orsortby=5; // No order - fastest display

$orsortby=6; // "Product Order" value from the product admin - Ascending.

$orsortby=7; // "Product Order" value from the product admin - Descending.

$orsortby=8; // Date added - Ascending.

$orsortby=9; // Date added - Descending

$orsortby=13; // Random order

$orsortby=14; // Sort by SKU - Ascending

$orsortby=15; // Sort by SKU - Descending

Steve

dbdave
ECT Moderator

USA
10277 Posts

Posted - 03/13/2023 :  18:02:29  
Hi charmarsh, I see you are using product filters on the site in your profile.
Perhaps it is working, but your testing with the sort alphabetically filter set. If at some point you have set that, then cookies will keep that setting. So try clearing cookies for the site, or enable "no sort" as one of the available selections (Admin>main settings>product filter bar) and select that to see if your products are now sorted as you have them in the admin.

Thanks,
David

charmarsh
Ecommerce Template Expert

USA
933 Posts

Pre-sales questions only
(More Details...)

Posted - 03/13/2023 :  18:04:01  
I did have to change the includes.
Thanks Steve

dbdave
ECT Moderator

USA
10277 Posts

Posted - 03/13/2023 :  20:26:24  
Hi, normally you would not have that set if you are using the sorting filter as it's overridden by that setting. You typically set that in the main setting in the admin as it says.

quote:
The product sort order is set in the admin main settings page but you can override this with the $orsortby parameter. This is handy if you want to use them on static pages with a different listing. Please note this setting also overrides the listing choices in the new product filter bar.


Up to you, but you may be preventing the sort filter from working as intended.

Thanks,
David
  « Topic »  
Jump To:
Shopping Cart Software Forum for Ecommerce Templates © 2002-2022 ecommercetemplates.com
This page was generated in 0.03 seconds. Snitz Forums 2000