Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls

Items List sort on a Product Attribute

 
Reply
   X-Cart forums > X-Cart 5 > Dev Questions (X-Cart 5)
 
Thread Tools Search this Thread
  #1  
Old 09-12-2018, 11:39 PM
 
lamxuyen1234 lamxuyen1234 is offline
    
Join Date: Sep 2018
Posts: 1
 

Default 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
__________________
xxx
Reply With Quote
  #2  
Old 09-14-2018, 05:40 AM
  tony_sologubov's Avatar 
tony_sologubov tony_sologubov is offline
 

X-Cart team
  
Join Date: Jan 2009
Posts: 2,431
 

Default 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
__________________
Found a bug in X-Cart? Post it to our bug tracker!
Know how to make X-Cart better? Suggest an idea!
Reply With Quote
Reply
   X-Cart forums > X-Cart 5 > Dev Questions (X-Cart 5)


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 11:48 PM.

   

 
X-Cart forums © 2001-2020