| ||||||||||
Shopping cart software Solutions for online shops and malls | ||||||||||
|
X-Cart Home | FAQ | Forum rules | Calendar | Mark Forums Read | User manuals | Login |
Product Sort By - Dropdown | |||
|
|
Thread Tools | Search this Thread |
#1
|
|||||||||
|
|||||||||
Product Sort By - Dropdown
Has anyone created or know of a forum thread that explains how to modify the code to change the sort by on the products page to a dropdown selection?
Looking for a solution for the 4.1.x branch. Thanks, Louise
__________________
Louise Studio 57 Designs - X-Cart Customization Providing X-Cart Services since 2004 Hottest Blog Directory - Submit Your Blog for a Free Listing |
|||||||||
#2
|
|||||||||
|
|||||||||
Re: Product Sort By - Dropdown
Hi,
See the attached file. This file originaly from "main/search_sort_by.tpl"
__________________
Regards, SpinyMan X-Cart Templates Store - http://www.x-cart-customization.com/shop/ X-Cart Customization Services - http://www.x-cart-customization.com/ |
|||||||||
#3
|
|||||||||
|
|||||||||
Re: Product Sort By - Dropdown
SpinyMan,
Excellent! That was what I was looking for. Below is a slightly different version. Both are useful. Quote:
Thank you! I am sure others will find these useful as well. Louise
__________________
Louise Studio 57 Designs - X-Cart Customization Providing X-Cart Services since 2004 Hottest Blog Directory - Submit Your Blog for a Free Listing |
|||||||||
|
#4
|
|||||||||
|
|||||||||
Re: Product Sort By - Dropdown
Quote:
Hey spiny guy- i opened the zip and got stickies! huh! what is the code for that- for dropdown
__________________
X-CART Pro V.4.3.0 PHP version 5.2.11 MySQL version 5.0.81 Architecture x86_64 Apache version 2.2.14 (Unix)mod_ssl/2.2.14 Operating System: Linux Dedicated Ip cPanel Pro 1.0 (RC1) cPanel Version 11.24.5-RELEASE Modules: DL Expander, DL Products, One Page Checkout, Dynamic Images, Multicolumn Recommends, Narrow by Search, Random Products Tabs. X-AOM, SALES-N-STATS 1.3 , X-Offers-4.1.9, X-Magnifier41x, X-Fancy Categories, X-RSS Feeds, Static Meta Tags , X-AJAX Rating System v4.1 |
|||||||||
#5
|
|||||||||
|
|||||||||
Re: Product Sort By - Dropdown
Quote:
hi louise what temp does this go in the product.tpl?
__________________
X-CART Pro V.4.3.0 PHP version 5.2.11 MySQL version 5.0.81 Architecture x86_64 Apache version 2.2.14 (Unix)mod_ssl/2.2.14 Operating System: Linux Dedicated Ip cPanel Pro 1.0 (RC1) cPanel Version 11.24.5-RELEASE Modules: DL Expander, DL Products, One Page Checkout, Dynamic Images, Multicolumn Recommends, Narrow by Search, Random Products Tabs. X-AOM, SALES-N-STATS 1.3 , X-Offers-4.1.9, X-Magnifier41x, X-Fancy Categories, X-RSS Feeds, Static Meta Tags , X-AJAX Rating System v4.1 |
|||||||||
#6
|
|||||||||
|
|||||||||
Re: Product Sort By - Dropdown
main/search_sort_by.tpl - just replace or comment out the default code
It doesn't go on the product.tpl Louise
__________________
Louise Studio 57 Designs - X-Cart Customization Providing X-Cart Services since 2004 Hottest Blog Directory - Submit Your Blog for a Free Listing |
|||||||||
#7
|
|||||||
|
|||||||
Re: Product Sort By - Dropdown
Hi SpinyMan
It works great! Thanks.
__________________
Version 4.1.9 |
|||||||
#8
|
|||||||
|
|||||||
Re: Product Sort By - Dropdown
I'm wondering how the dropdown looked/came out.
Any of you got it live to see how it worked out?
__________________
X-Cart 4.0.18 DBest |
|||||||
#9
|
|||||||||
|
|||||||||
Re: Product Sort By - Dropdown
Louise your idea is OK, but the code is not. Could you please revise it?
Victor your custom work is working great. I appreciate if you offer it as only one select menu, without pushing any button after selecting. Close to Louise (which is not working). Thanks. Quote:
__________________
X-Cart Next: Business 5.2 (learning and testing) X-Cart Classic: Gold and Gold Plus 4.7 Lots of Modules and Customizations OS in use: Red Hat Enterprise, Fedora, CentOS, Debian, Ubuntu, Linux Mint, Kali Linux Ideas for Server configuration (basicaly): Nginx/Pound (reverse proxy), Apache/Nginx (webserver), Squid/Varnish (cache server), HHVM or (PHP-FPM + PHP 5.6 + opcache), MariaDB/Percona MySQL Server, Redis (storing sessions) You can catch my ideas here: http://ideas.x-cart.com |
|||||||||
|
Thread Tools | Search this Thread |
|
|
|
|||
X-Cart forums © 2001-2020
|