| ||||||||||
![]() |
Shopping cart software Solutions for online shops and malls | |||||||||
![]() |
![]() |
|
X-Cart Home | ![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
Disbale Sort by Options on the Products page | |||
![]() |
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
![]() I want to hide the Sort options that appear on the top right hand corner of muliple producst displayed.
Any guidnace on a quick and easy way to disable? Cheers
__________________
Version 4.7.7 |
|||||||
#2
|
|||||||
|
|||||||
![]() In customer/main/subcategories.tpl, comment out this bit:
{if $sort_fields} <div align="right">{include file="main/search_sort_by.tpl" sort_fields=$sort_fields selected=$search_prefilled.sort_field direction=$search_prefilled.sort_direction url="home.php?cat=`$cat`&"}</div> {/if}
__________________
Padraic Ryan Ryan Design Studio Professional E-Commerce Development |
|||||||
#3
|
|||||||
|
|||||||
![]() Once again - you are the master
![]()
__________________
Version 4.7.7 |
|||||||
#4
|
|||||||
|
|||||||
![]() Is there a way to do this via the cart settings (admin). How/where do I set the $sort_fields variable to zero so that the code itself chooses not to show the sort options.
I am new to x-cart, and so far, so good, but there seems to be alot of variables which I can't work out where I can set them - this being a case in point. Any advice much appreciated.
__________________
---------------------------------------- Looking for helpful pointers with his x-cart installation X-Cart version 4.1.8 |
|||||||
#5
|
|||||||
|
|||||||
![]() Welcome to the X-Cart forums! Please start by reading the following thread, which will help you get started and hopefully make your experience here a positive one:
http://forum.x-cart.com/showthread.php?t=23970 Please note that this link is not an answer to your question, but we need you to update your signature with your X-Cart version so that we can answer your question correctly. Thanks! ![]()
__________________
Padraic Ryan Ryan Design Studio Professional E-Commerce Development |
|||||||
#6
|
|||||||
|
|||||||
![]() No worries. I;ve updated my signature (I'm using 4.1.
![]() Thanks for that link. I looked through the topics, but couldn't find the answer to the question posted above. Any ideas? Much appreciated
__________________
---------------------------------------- Looking for helpful pointers with his x-cart installation X-Cart version 4.1.8 |
|||||||
#7
|
|||||||
|
|||||||
![]() Thanks! Like I said, that link wasn't an answer to your question. The sort by links can only be removed by commenting them out in the template as mentioned above unfortunately.
__________________
Padraic Ryan Ryan Design Studio Professional E-Commerce Development |
|||||||
#8
|
|||||||
|
|||||||
![]() Is the only way to do this as an all or nothing solution? Is there any way to remove just one sort option? eg SKU.
__________________
Xcart 4.0.19 Pro mySQL 5.5.44 PHP 5.3.27 |
|||||||
#9
|
|||||||
|
|||||||
![]()
__________________
Padraic Ryan Ryan Design Studio Professional E-Commerce Development |
|||||||
#10
|
|||||||
|
|||||||
![]() Excellent! Many thanks.
__________________
Xcart 4.0.19 Pro mySQL 5.5.44 PHP 5.3.27 |
|||||||
|
|||
X-Cart forums © 2001-2020
|