guest* Posted November 13, 2010 Share Posted November 13, 2010 I want to search my products in category-list on BO by EAN. There is no filed for this. How can I add the EAN there ? I.E. I don't need the field Position, perhaps it is possible to change code to have EAN there ? Link to comment Share on other sites More sharing options...
rocky Posted November 14, 2010 Share Posted November 14, 2010 Do you want to be able to use the "Search box" to search by EAN13 or just add the option to sort a category by EAN13?PrestaShop lets you use the search box to search by Reference, but not EAN13. You'd have to add them add a feature to search by EAN13.To add a new "sort by" option to sort by EAN13, edit product-sort.tpl in your theme's directory and add a new option like the following: <option value="{$link->addSortDetails($request, 'ean13', 'asc')|escape:'htmlall':'UTF-8'}" {if $orderby eq 'ean13' AND $orderway eq 'ASC' }selected="selected"{/if}>{l s='ean13'} Link to comment Share on other sites More sharing options...
guest* Posted November 14, 2010 Author Share Posted November 14, 2010 Hi Rocky,no I want to have the field on BO ! When you open a category you will see listed all products contained there. There are the fields ID, product picture, name, ref....There is also a field named position. This one I don't need. I want to have instead a field called EAN/UPC and want allow sorting in this fiels by EAN/UPC (for coming version, When UPC is integrated). Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now