Diemux Posted August 9, 2009 Share Posted August 9, 2009 Hi all,I use the default prestashop theme on 1.2.0.8. I entered all my products with EAN codes but where are those shown? Link to comment Share on other sites More sharing options...
Diemux Posted August 10, 2009 Author Share Posted August 10, 2009 Bump. Any idea? Link to comment Share on other sites More sharing options...
adiaz Posted August 10, 2009 Share Posted August 10, 2009 Hi,Where do you want the EAN codes to be shown? In the back or the front office? Link to comment Share on other sites More sharing options...
basar67 Posted August 10, 2009 Share Posted August 10, 2009 Hello,to view the EAN code, you have to add the variable {$product->ean13} in the tpl files, who you want.For example, to show the EAN code beside the productname, you have to edit /themes/YourTheme/product.tplFIND in /themes/YourTheme/product.tpl (~line 90): {$product->name|escape:'htmlall':'UTF-8'} REPLACE it to: {$product->name|escape:'htmlall':'UTF-8'} {l s='EAN Code:'} {$product->ean13} I hope I've helped youRegardsKerim Basar Link to comment Share on other sites More sharing options...
Diemux Posted August 11, 2009 Author Share Posted August 11, 2009 Thanks for the answer. But why isn't this available in the default theme? Not having it there completely makes the EAN code useless? Why make a function in the backoffice but not in the front office? Weird. Link to comment Share on other sites More sharing options...
basar67 Posted August 11, 2009 Share Posted August 11, 2009 Hello,I don´t Know, ask the PrestaShop team :roll: I hope it will be integrated in the next update.RegardsKerim Basar 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