View Single Post
  #6  
Old 05-02-2019, 12:29 AM
 
welly welly is offline
 

eXpert
  
Join Date: Mar 2011
Location: UK
Posts: 209
 

Default Re: Sorting products by 'Position'

Adding a sort option is described in this document:

https://devs.x-cart.com/basics/itemslist_introduction_--_showing_products_on_a_page/adding_new_sort_by_opt...itemslist.html

The example uses a date, but if you can identify the SKU field, you should be able to use that. Unfortunately, this is where I came unstuck, but as Steve said in his last post, the option I wanted was already there. I just didn't know it at the time.

Welly
__________________
X-Cart Business 5.3.6
Various add-ons

www.traininglines.co.uk
Reply With Quote