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)
-   -   Items List sort on a Product Attribute (https://forum.x-cart.com/showthread.php?t=76532)

lamxuyen1234 09-12-2018 11:39 PM

Items List sort on a Product Attribute
 
I have gone through the doc on creating a new sort:

I can successfully adjust this for stock level with p.amount. I was not able to come up with the correct method to do this for a product attribute. Is this possible?
Thank you

tony_sologubov 09-14-2018 05:40 AM

Re: Items List sort on a Product Attribute
 
Hi @lamxuyen1234,

Could you please explain your logic of sorting product sorting based on product attributes?

Thank you.

Tony

Quote:

Originally Posted by lamxuyen1234
I have gone through the doc on creating a new sort:

I can successfully adjust this for stock level with p.amount. I was not able to come up with the correct method to do this for a product attribute. Is this possible?
Thank you



All times are GMT -8. The time now is 01:06 AM.

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