| ||||||||||
![]() |
Shopping cart software Solutions for online shops and malls | |||||||||
![]() |
![]() |
|
X-Cart Home | ![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
Listing newest added product first | ||||
![]() |
|
|
Thread Tools | Search this Thread |
#11
|
|||||||
|
|||||||
![]() Quote:
same here: http://www.fractalspin.com/x/home.php?cat=7 any thoughts?
__________________
http://www.fractalspin.com nerdy jewelry, geekcessories, bags, tshirts and other neat stuff Xcart Version: 4.0.17, PHP: 4.3.11, MySQL server: 4.1.13-standard-log |
|||||||
#12
|
|||||||
|
|||||||
![]() any idea to get it to sort be price from high to low price
Thanks
__________________
Online stores . Bestdata.com / Diamondmm.com X-cart Gold 4.0.13 & 4.0.18 & 4.1 UNIX/LINUX |
|||||||
#13
|
|||||||||
|
|||||||||
![]() try change
DESC for $direction
__________________
Looking for a reliable X-cart host ? You wont go wrong with either of these. ![]() ![]() |
|||||||||
#14
|
|||||||
|
|||||||
![]() It's still not working--yes, when you click it once you can get it to sort with the newest first, but it doesn't sort like the other ones do. I think there is a problem with the code. It doesn't sort ASC or DESC.
__________________
http://www.fractalspin.com nerdy jewelry, geekcessories, bags, tshirts and other neat stuff Xcart Version: 4.0.17, PHP: 4.3.11, MySQL server: 4.1.13-standard-log |
|||||||
#15
|
|||||||
|
|||||||
![]() thanks shan
I tried it but did not work. How about takaing out the mod and having to show products sorted first by price form highest to lowest price. Any advise will be appreciated. thanks
__________________
Online stores . Bestdata.com / Diamondmm.com X-cart Gold 4.0.13 & 4.0.18 & 4.1 UNIX/LINUX |
|||||||
#16
|
|||||||
|
|||||||
![]() Thanks for the mod I did have to change one line to get the sort by working correctly.
As noted by Shan in an earlier post I changed the following line: Code:
to this Code:
Works great! Thanks again Update: Mod did not by default change to dispay by date. I found that I had to update the products_order feild in the Config table within the datebase. Use the following SQL command to get the new Date module as an option in the admin section. Code:
|
|||||||
#17
|
|||||||
|
|||||||
![]() Quote:
When I made that change I got this DB Error: Code:
weird, right?[/quote]
__________________
http://www.fractalspin.com nerdy jewelry, geekcessories, bags, tshirts and other neat stuff Xcart Version: 4.0.17, PHP: 4.3.11, MySQL server: 4.1.13-standard-log |
|||||||
#18
|
|||||||
|
|||||||
![]() Great and easy mod...I'm all about easy! Works like a charm! Thank you !!!
__________________
Gold 4.0.18 |
|||||||
#19
|
|||||||
|
|||||||
![]() Incorrect Answer... Deleted.
|
|||||||
#20
|
|||||||
|
|||||||
![]() fractalspin,
Your problem is right here... Code:
This means while the $direction is working its not being translated... Might try something like this.. Code:
|
|||||||
|
|||
X-Cart forums © 2001-2020
|