X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Dev Questions (X-Cart 5) (https://forum.x-cart.com/forumdisplay.php?f=56)
-   -   XC5 Sorting Order (https://forum.x-cart.com/showthread.php?t=71234)

jriggins911 02-11-2015 05:37 AM

XC5 Sorting Order
 
I am trying to find a way to sort by add date--e.g. newest first.

Under the cart and checkout settings I have a menu in which I can select the default sorting order. In my list I have "Recommended, By Price -- cheapest first, By Price -- cheapest last, By Name -- A-Z and By Name -- Z-a". That's it. Nothing else. In the X-cart Demo store, there are quite a few more options including Newest First. I thought maybe this sorting feature was part of the Product Filter module, but having looked at the settings in the Demo store, there is nothing about it there.

Is this a paid feature? We're running XC 5.1.10 free edition.

jriggins911 02-11-2015 06:47 AM

Re: XC5 Sorting Order
 
I think I stumbled onto where the solution resides....

It looks like it is contained in the product advisor module. The question is, how can this, new arrivals/sort by add date, be accomplished independent of this module? We really do not need all of the modules that comes with the upgrade to a business license. So I can't justify the cost for the upgrade for this one feature.

Anyone have anything already coded to accomplish this? I know the add date is probably already in the db. Just looking to save some time.

tony_sologubov 02-18-2015 05:16 AM

Re: XC5 Sorting Order
 
Hi!

Thanks for your interest in X-Cart 5.
Start with creating an empty module according to the article here:
http://kb.x-cart.com/display/XDD/Step+1+-+creating+simplest+module

and provide me with your developer and module ID. After that I will suggest how to proceed with this task.

Tony.

jriggins911 02-18-2015 06:24 AM

Re: XC5 Sorting Order
 
Developer ID: TCR
Module ID: NewArrivals

Thank you for assisting.

tony_sologubov 02-19-2015 04:21 AM

Re: XC5 Sorting Order
 
Hi!

Thanks for that. I will prepare a guide for you within a week or so.

Tony.

jriggins911 02-20-2015 11:34 AM

Re: XC5 Sorting Order
 
Thank you

jriggins911 03-04-2015 05:51 PM

Re: XC5 Sorting Order
 
Tony,

Checking to see if you have had any cycles to look at this.

Thanks

tony_sologubov 03-06-2015 04:26 AM

Re: XC5 Sorting Order
 
Hi @jriggins911!

Sorry, I was not able to make it due to me going to London meetup. I have planned this guide for the next week though.

jriggins911 03-10-2015 06:48 PM

Re: XC5 Sorting Order
 
Sounds good. Thanks

tony_sologubov 03-18-2015 12:35 PM

Re: XC5 Sorting Order
 
Hi @jriggins911!

Sorry that I delayed the article again. Quite hectic time before 5.2.2 release.
Here it is: http://kb.x-cart.com/display/XDD/Adding+new+sort+by+option+to+ItemsList


All times are GMT -8. The time now is 04:32 AM.

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2021, Jelsoft Enterprises Ltd.