scalambra Posted May 31, 2010 Share Posted May 31, 2010 Thanks to this posthttp://www.prestashop.com/forums/viewthread/25715/general_discussion/adding_ean13_or_other_field_to_search/I can search by EAN13. But how can I index by EAN13, i.e.http://www.milonga.co.uk/shop/product.php?ean13=0724383747726instead of:http://www.milonga.co.uk/shop/product.php?id_product=10This will enable me to automatically generate links to products within my shop, so would be a massive bonus. Help appreciated!Michael Link to comment Share on other sites More sharing options...
rocky Posted May 31, 2010 Share Posted May 31, 2010 This would be difficult to do, since PrestaShop doesn't have a function to get a product by its ean13. You'd have to add a function to classes/Product.php that gets a product by ean13, then modify product.php to create the product using the ean13 instead of the product ID. 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