View Single Post
  #5  
Old 05-26-2008, 11:27 AM
  pairodimes's Avatar 
pairodimes pairodimes is offline
 

Advanced Member
  
Join Date: Dec 2007
Posts: 50
 

Default Re: Add Extra options to Sort By in products list V4.x.x

Ok - I read another thread and found the SQL table that contains the Admin Drop Down information for sorting products.

just add your new 'add_date' to the "xcart_config" table - sort by 'title' field - look for the row "product_order" -> look for the field 'varients' -> edit this content to include our new date field.

ex:
add_date:
adddate: lbl_add_date
productcode:lbl_sku
title:lbl_product
orderby: lbl_default
price:lbl_price

this should now show up in the Admin drop down.
__________________
------
Brian

Portland web design / development
X-Cart 4.1.9 (a few carts)
X-Cart 4.2.0 (1 cart so far)
Reply With Quote