Hi
Is it possible to display products alphabetically by default?
Thanks
Hi
Is it possible to display products alphabetically by default?
Thanks
admin > config > layoutsettings > Categories/Products Display Sort Order > select for the options
Zen-Venom Get Bitten
Thanks,
That didn't do it, but I did find the problem. One of the many mods I installed had an overwrite for the default_filter.php. As soon as I removed it the problem was fixed. Hopefully it didn't break something else as I don't know what mod it was part of.
Thanks again.
Files are not included in mods unless there is a need for them, so removing one will break whatever that version was supposed to do. You'll have to test things until you find what is not working... may be tricky if it was an added function that you don't realize is now missing.
I have compared the two default_filter.php files and they are different. The one causing problems was an older version copyright 2007, the newer one 2009.
Thanks
So the mod file was missing some code from the recent version. If you want to keep the mod function, whatever it was, you can compare the mod file with a stock v1.3.7 file to find the mod changes, then apply those changes to the newer version of the file.
Although there are other differences the line causing the problem was line 131 //$listing_sql .= " order by p.products_sort_order, pd.products_name"; commented out. Any ideas?
Not without more context...
I uncommented line 131 and it works. This job has been ongoing for a year now and finally close to going live.(not my fault!). There was so many mods done to the site I don't remember half of them. This was my first attempt at a Zencart site. Next time I'll keep track of every mod done so I can backtrack.
Thanks
Bookmarks