Hi there,
I have just set up my webshop using OC 3.0.2.0.
When I add a new product in, I find that instead of that product being added to the page in alphabetical order, it is in fact added to the end of the page.
The way around this is to manually set the Sort By drop down to (NAME A - Z).
The newly created item (uncloned) then appears in the correct order.
How do I change it so that each page automatically defaults to the (NAME A - Z) SORT BY setting, instead of the SORT BY: Default setting?
Just as a foot note, this doesn't happen, if say I copy a current product then edit it. The reason I don't wish to do that, is that the then newly (cloned/copied) item, does not appear in the New Arrivals element if the webshop, in the correct order i.e. date added.
Would appreciate some assistance please.
Webshop link added for reference, so you can see the out of Alpha order item at the end.
https://www.winter-light.nl/Mail-Order- ... ABC?page=8
Many thanks.
Winter-Light
While you are adding products don't use sort order leave it blankwinter wrote: ↑Sat Oct 20, 2018 9:03 pmHi there,
I have just set up my webshop using OC 3.0.2.0.
When I add a new product in, I find that instead of that product being added to the page in alphabetical order, it is in fact added to the end of the page.
The way around this is to manually set the Sort By drop down to (NAME A - Z).
The newly created item (uncloned) then appears in the correct order.
How do I change it so that each page automatically defaults to the (NAME A - Z) SORT BY setting, instead of the SORT BY: Default setting?
Just as a foot note, this doesn't happen, if say I copy a current product then edit it. The reason I don't wish to do that, is that the then newly (cloned/copied) item, does not appear in the New Arrivals element if the webshop, in the correct order i.e. date added.
Would appreciate some assistance please.
Webshop link added for reference, so you can see the out of Alpha order item at the end.
https://www.winter-light.nl/Mail-Order- ... ABC?page=8
Many thanks.
Winter-Light
Urgent Questions shoot here: khnaz35@gmail.com
Enjoy nature
Hi,
for category page, edit this file:
Find:
Change it to:
Then you may need to refresh your modifications.
for category page, edit this file:
Code: Select all
catalog\controller\product\category.php
Code: Select all
$sort = 'p.sort_order';
Code: Select all
$sort = 'pd.name';
You are welcome, glad you found it helpful
Urgent Questions shoot here: khnaz35@gmail.com
Enjoy nature
Who is online
Users browsing this forum: nonnedelectari and 404 guests