| ||||||||||
![]() |
Shopping cart software Solutions for online shops and malls | |||||||||
![]() |
![]() |
|
X-Cart Home | ![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
Sort by "Date Added" in the Sort by bar... | |||
![]() |
|
|
Thread Tools | Search this Thread |
#1
|
|||||||||
|
|||||||||
![]() Hi Guys,
I am really wanting to have a sort by "Date Added" link in my sort bar and I'm wanting it to be the default when a customer visits that category/page. I'd like all the newest products withing any category/page to be listed first. Older products will be seen listed below the newer ones. I know there is a mod out there for 4.3.x but it creates a drop down menu and I think it's ugly. I don't like it. I had a WONDERFUL (and free) sort by date feature in my old version of x-cart pro - 4.1.9, but it's not being updated to work with 4.3.x (I have 4.3.1 pro) I know there are some highly talented folks that hang out here and I'm hopeful you'll step up and help me out. I'm sure I'm not the only one who would love this! Following is a screen shot of where I'd like it to be, obviously in the sort bar, and I do want it to say "Date Added" if possible, and be the default setting. Hopefully this is an easy task. I never know with x-cart. Sheesh! (: In fact, if it's easier to modify the 'Default' word to be "Date Added" and modify the right template(s) so it sorts by date added to the store, that would be great too! Unless I'm missing some other reason why 'default' is even there, and why isn't sorting by "Date Added" a part of x-cart already?? hmmm. I appreciate your time so very much! http://www.scrapdelicious.com/images/SD2.jpg
__________________
Joli Kirk, "Life is not measured by the number of breaths we take, but by the number of moments that take our breath away" X-Cart PRO 4.3.1 | Linux | PHP 5 | MySQL 5 AlteredCart.com - Download Expander; Product Page Downloads BCSEngineering.com - On Sale Products; Newest Added Products |
|||||||||
#2
|
|||||||||
|
|||||||||
![]()
__________________
Steve Stoyanov CFLSystems.com Web Development |
|||||||||
#3
|
|||||||||
|
|||||||||
![]() Thanks Steve, but I don't want a drop down menu. I actually want it just like it is in my screen shot, only with the words "Date Added" to replace the words 'default' so when a customer visits a page it will show the newest products first in the list.
Hopefully someone can make this happen. Again, I had it for my 4.1.9 pro version and it was exactly what I wanted (and it was free) but it isn't an option with pro 4.3.1. ![]() Thanks to anyone who can help, and Steve for trying! ![]()
__________________
Joli Kirk, "Life is not measured by the number of breaths we take, but by the number of moments that take our breath away" X-Cart PRO 4.3.1 | Linux | PHP 5 | MySQL 5 AlteredCart.com - Download Expander; Product Page Downloads BCSEngineering.com - On Sale Products; Newest Added Products |
|||||||||
#4
|
|||||||||
|
|||||||||
![]() Anyone? I'm willing to pay a few bucks to have this done and work right. Thx!
__________________
Joli Kirk, "Life is not measured by the number of breaths we take, but by the number of moments that take our breath away" X-Cart PRO 4.3.1 | Linux | PHP 5 | MySQL 5 AlteredCart.com - Download Expander; Product Page Downloads BCSEngineering.com - On Sale Products; Newest Added Products |
|||||||||
#5
|
|||||||||
|
|||||||||
![]() I don;t think this was ever part of the default cart install. Maybe someone did it for you for free before or you just had it as part of some other mod. This requires php files changes as well as templates. That's why I suggested ready mod, having this custom coded will cost you more then buying the mod. And the why mod shows search fields can be modified
__________________
Steve Stoyanov CFLSystems.com Web Development |
|||||||||
#6
|
|||||||||
|
|||||||||
![]() Hi Steve,
No, it wasn't part of any default x-cart version. It was a free module available at BCSE. In fact, it's still there but it's not compatible with 4.3.x and they tell me they won't be updating it for future versions and directed me to the same module you directed me to. I did buy that module, however, I really hate the drop down menu... they are ugly. I really just want the word 'default' (located in the 'Sort by' bar in my version of x-cart, as shown in the previous screenshot) to be replaced with the words "Date Added" and have it automatically sort by date added and put the newest products first in the list. So when a customer goes to any page it loads by default and shows the newest products first. Does that make sense? Is it really going to be this big of a headache to achieve? In the back of my brain it seems like it could be done easily but I do not have the knowledge required to create the necessary PHP if that's what it would take. I appreciate your time, and I'm still hopeful someone around here can help me. (:
__________________
Joli Kirk, "Life is not measured by the number of breaths we take, but by the number of moments that take our breath away" X-Cart PRO 4.3.1 | Linux | PHP 5 | MySQL 5 AlteredCart.com - Download Expander; Product Page Downloads BCSEngineering.com - On Sale Products; Newest Added Products |
|||||||||
#7
|
|||||||||
|
|||||||||
![]() Not tested, make sure you backup the file first:
you can try this - open include/search.tpl, find Code:
Code:
Code:
Code:
__________________
Steve Stoyanov CFLSystems.com Web Development |
|||||||||
#8
|
|||||||||
|
|||||||||
![]() Hi Steve, thanks for trying to help but that didn't appear to do it.
Any other ideas? Anyone? I do appreciate the help!
__________________
Joli Kirk, "Life is not measured by the number of breaths we take, but by the number of moments that take our breath away" X-Cart PRO 4.3.1 | Linux | PHP 5 | MySQL 5 AlteredCart.com - Download Expander; Product Page Downloads BCSEngineering.com - On Sale Products; Newest Added Products |
|||||||||
#9
|
|||||||
|
|||||||
![]() Does the BCS addon allow you to choose one of these new sort-bys as your default in General settings?
__________________
Live with Gold 4.5.1 Dedicated Linux server MaxCDN 4 pull zones Dedicated SSL ![]() |
|||||||
|
|||
X-Cart forums © 2001-2020
|