View Single Post
  #1  
Old 02-26-2017, 03:29 PM
 
sysp2 sysp2 is offline
    
Join Date: Dec 2016
Posts: 1
 

Default Items List sort on a Product Attribute

I have gone through the doc on creating a new sort:
http://devs.x-cart.com/en/basics/itemslist_introduction_--_showing_products_on_a_page/adding_new_sort_by_option_to_itemslist.html
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
__________________
sysp
Reply With Quote