| ||||||||||
![]() |
Shopping cart software Solutions for online shops and malls | |||||||||
![]() |
![]() |
|
X-Cart Home | ![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
Changing the "Sort by" options | |||
![]() |
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
![]() Hello,
When looking at product, at the top of the page there is Sort by : SKU Product Price Default I'm trying to remove "Default" options. Also, I want 'SKU' to read Style Number I've looked in the main/search_sort_by template, and it kind of looks like these values are read from a table? I looked at the tables in the database, and nothing is making sense. Any help would be appreciated. Thanks!
__________________
version 4.0.19 |
|||||||
#2
|
|||||||
|
|||||||
![]() Look at the very top of include/search.php, this bunch of code:
"productcode" => func_get_langvar_by_name("lbl_sku"), "title" => func_get_langvar_by_name("lbl_product"), "price" => func_get_langvar_by_name("lbl_price"), "orderby" => func_get_langvar_by_name("lbl_default") remove this line to get rid of the 'default' option: "orderby" => func_get_langvar_by_name("lbl_default") 'SKU' is a language variable, so you can change that in your languages area.
__________________
Padraic Ryan Ryan Design Studio Professional E-Commerce Development |
|||||||
#3
|
|||||||
|
|||||||
![]() How can i make the Product link be the active sort after hiding the Default? Thanks!
__________________
--------------- Brandon Larsen --------------- X-Cart version 4.4.3 X-Cart version 4.1.9 X-Cart version 4.1.10 |
|||||||
#4
|
|||||||
|
|||||||
![]() General Settings/Appearance Options:
Select the order in which products should be displayed within a category:
__________________
Padraic Ryan Ryan Design Studio Professional E-Commerce Development |
|||||||
#5
|
|||||||
|
|||||||
![]() oh duh! Thanks!
__________________
--------------- Brandon Larsen --------------- X-Cart version 4.4.3 X-Cart version 4.1.9 X-Cart version 4.1.10 |
|||||||
#6
|
|||||||
|
|||||||
![]() Quote:
This will be as stupid as stupid can be as far as questions are concerned. Where do I find the include/search.php file?
__________________
version 4.0.19 |
|||||||
#7
|
|||||||||
|
|||||||||
![]() ^ Using an FTP program.
|
|||||||||
#8
|
|||||||
|
|||||||
![]() Thanks!!! I feel a whole lot less stupid.
__________________
version 4.0.19 |
|||||||
#9
|
|||||||
|
|||||||
![]() I'm looking to sort my products by importance- is that possible? Ie to have them come up in a list with the most important products first and then their accessories and other products later. Any ideas?
__________________
4.1.2 |
|||||||
|
|||
X-Cart forums © 2001-2020
|