| ||||||||||
Shopping cart software Solutions for online shops and malls | ||||||||||
|
X-Cart Home | FAQ | Forum rules | Calendar | User manuals | Login |
Remove Sort By Options in product listing | |||
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
Remove Sort By Options in product listing
How do I remove the sort by options in product listings in 4.6.1? I'm pulling my hair out here.
__________________
x-cart v4.6 modules: FashionWalk theme (the xcart store) xMenus (the xcart store) xBanners2 (the xcart store) Out-of-stock (kosmos central) |
|||||||
#2
|
|||||||||
|
|||||||||
Re: Remove Sort By Options in product listing
It needs to be commented out of the appropriate template. I don't see any option in admin settings to remove it.
__________________
Mike White - Now Accepting new clients and projects! Work with the best, get a US based development team for just $125 an hour. Call 1-502-773-6454, email mike at babymonkeystudios.com, or skype b8bym0nkey XcartGuru X-cart Tutorials | X-cart 5 Tutorials Check out the responsive template for X-cart. |
|||||||||
#3
|
|||||||
|
|||||||
Re: Remove Sort By Options in product listing
Yeah, I got that far. There are two files that I can see (based on the html rendering of the source code) where the code that needs to be commented out might reside. I did so in both instances and nothing happened. I am beyond frustrated.
__________________
x-cart v4.6 modules: FashionWalk theme (the xcart store) xMenus (the xcart store) xBanners2 (the xcart store) Out-of-stock (kosmos central) |
|||||||
#4
|
|||||||||
|
|||||||||
Re: Remove Sort By Options in product listing
Sorry that it is so frustrating. What skin (template) are you using?
Have you tried webmaster mode? What templates did you comment out the sort options in?
__________________
Mike White - Now Accepting new clients and projects! Work with the best, get a US based development team for just $125 an hour. Call 1-502-773-6454, email mike at babymonkeystudios.com, or skype b8bym0nkey XcartGuru X-cart Tutorials | X-cart 5 Tutorials Check out the responsive template for X-cart. |
|||||||||
#5
|
|||||||
|
|||||||
Re: Remove Sort By Options in product listing
I'm using the Ideal Comfort template in this case. I guess the REAL problem is that when you click on a manufacturer, sometimes all of the products associated with that manufacturer are listed, and sometimes they're not. Resetting how the products are sorted in the admin panel will take care of the problem, but the minute someone sorts the listing in the storefront, they will disappear again. I can't for the life of me figure out why this is happening, so I thought I'd remove the option to sort the listing of the products.
As far as I can tell, the file with the code to comment out is skin/common_files/customer/search_sort_by.tpl. (The FashionWalk template also has this file, but that doesn't apply here.) Webmaster Mode is no good for this.
__________________
x-cart v4.6 modules: FashionWalk theme (the xcart store) xMenus (the xcart store) xBanners2 (the xcart store) Out-of-stock (kosmos central) |
|||||||
#6
|
|||||||||
|
|||||||||
Re: Remove Sort By Options in product listing
Template: /common_files/modules/Manufacturers/customer_manufacturer_products.tpl
Look at line 47: {include file="customer/dialog.tpl" title=$lng.lbl_products content=$smarty.capture.dialog selected=$sort direction=$sort_direction products_sort_url="manufacturers.php?manufactureri d=`$manufacturer.manufacturerid`" sort=true additional_class="products-dialog"} Just change sort=true to sort=false I would recreate this template in ideal_comfort and make the change there, rather than edit the common_files directory at all.
__________________
Mike White - Now Accepting new clients and projects! Work with the best, get a US based development team for just $125 an hour. Call 1-502-773-6454, email mike at babymonkeystudios.com, or skype b8bym0nkey XcartGuru X-cart Tutorials | X-cart 5 Tutorials Check out the responsive template for X-cart. |
|||||||||
#7
|
|||||||
|
|||||||
Re: Remove Sort By Options in product listing
That did the trick - thank you so much!
__________________
x-cart v4.6 modules: FashionWalk theme (the xcart store) xMenus (the xcart store) xBanners2 (the xcart store) Out-of-stock (kosmos central) |
|||||||
|
|||
X-Cart forums © 2001-2020
|