| ||||||||||
Shopping cart software Solutions for online shops and malls | ||||||||||
|
X-Cart Home | FAQ | Forum rules | Calendar | User manuals | Login |
3.5.7 Product Sort Solution | ||||
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
3.5.7 Product Sort Solution
customer/products.php
old; Code:
new: Code:
old; Code:
new Code:
customer/home.php?cat=105&orderby=price you will see sorting products |
|||||||
#2
|
|||||||
|
|||||||
good little mod, how might we go about sorting by price ascending rather than the default descending?
__________________
X-Cart Gold Version: 4.0.17 X-Configurator X-AOM X-FancyCategories X-RMA X-Offers |
|||||||
#3
|
|||||||
|
|||||||
please goto admin area and click to general settings
select apperance options find : List products in reversed order check/uncheck <-> asc/dsc ok? |
|||||||
#4
|
|||||||
|
|||||||
customer/main/sortProduct.tpl (new page, please add)
Code:
customer/main/products.tpl add new line on top or whereever you want Code:
Little but important mod from Turkey! |
|||||||
#5
|
|||||||
|
|||||||
I found this in include/func.php:
Code:
My question is, how can we add a drop down menu so the user can choose to have the product sort displayed as ascending or descending? |
|||||||
#6
|
|||||||||
|
|||||||||
http://www.cart-lab.com/lab/customer/product.php?productid=7
Product Sort, with ascending,descending dropdowns as well as configurable field types or fields from the products database dynamically. Demo: http://www.cart-lab.com/lab/customer/search.php?substring=
__________________
Cart-Lab - 100+ Social Bookmarks for X-Cart. |
|||||||||
#7
|
|||||||
|
|||||||
thanks for the recommendation boomer but I've already got the product sort down thanks to the mod above, the only thing I need is the Ascending/Descending bit.
nice looking site by the way =) |
|||||||
#8
|
|||||||
|
|||||||
mod modification?
cool mod, very handy, but when there are multiple pages (as in a list that goes beyond the users prefered quantity per page) the sorting breaks (ie, returns to alphebetical by title)
Any thoughts on how to remedy this? |
|||||||
#10
|
|||||||
|
|||||||
let me rephrase
Hey Boomer.
What I mean is that I sort by lets say price. There are 51 products in my category, 10 are displayed at a time. To view the next 10 you must click the small arrow or the page number. I have been working on getting these links to use the sort code from above, but have been unsuccessful so far. does that clear it up? Thanks for the quick reply!!! |
|||||||
|
|||
X-Cart forums © 2001-2020
|