netman Posted June 19, 2010 Share Posted June 19, 2010 I would like to display both product referernce and EAN13 in the product page (product.tpl). By default only product reference is displayed but I want to display EAN13 as well. Can anybody help with this?Thanks Link to comment Share on other sites More sharing options...
bartman Posted June 19, 2010 Share Posted June 19, 2010 edit product.tpl in your theme directory and add the following where you require the barcode to be displayed {if $product->ean13} {$product->ean13} {/if} regardsChris Link to comment Share on other sites More sharing options...
netman Posted June 19, 2010 Author Share Posted June 19, 2010 Thanks, Chris. It works like charm. Link to comment Share on other sites More sharing options...
rocky Posted June 20, 2010 Share Posted June 20, 2010 Please edit your first post and add [sOLVED] to the front of the title. Link to comment Share on other sites More sharing options...
Carl.Tedford Posted April 3, 2013 Share Posted April 3, 2013 edit product.tpl in your theme directory and add the following where you require the barcode to be displayed {if $product->ean13} {$product->ean13} {/if} regards Chris Understand I need to insert this in product.tpl but where exactrly should I insert this code ? (which line) 1 Link to comment Share on other sites More sharing options...
Alex Simonchik BelVG Posted April 3, 2013 Share Posted April 3, 2013 Hi, Carl.Tedford it is depends on place where you want to display ean13 info. Regards Link to comment Share on other sites More sharing options...
Carl.Tedford Posted April 3, 2013 Share Posted April 3, 2013 Alex, I want to be displayed on the category page and product page aswell. Link to comment Share on other sites More sharing options...
Alex Simonchik BelVG Posted April 4, 2013 Share Posted April 4, 2013 Category page uses product-list.tpl for display items. Link to comment Share on other sites More sharing options...
Carl.Tedford Posted April 4, 2013 Share Posted April 4, 2013 Could give you me an example where exactly (which line in the product.tpl and product-list.tpl) should I insert the code below: {if $product->ean13} {$product->ean13} {/if} Link to comment Share on other sites More sharing options...
Alex Simonchik BelVG Posted April 8, 2013 Share Posted April 8, 2013 Hi again, for product.tpl lets try -> {$product->ean13} for product-list.tpl lets try -> {$product.ean13} Regards Link to comment Share on other sites More sharing options...
templatin Posted April 10, 2013 Share Posted April 10, 2013 How to display EAN13 on product page if the product has attributes (or combinations)?? I have tried with {$product->ean13} but it returns nothing if product has combinations. Link to comment Share on other sites More sharing options...
Alex Simonchik BelVG Posted April 11, 2013 Share Posted April 11, 2013 Hi, templatin for any manipulation with combination product page uses findCombination() js function. I think you need some customization for it. Regards Link to comment Share on other sites More sharing options...
templatin Posted April 11, 2013 Share Posted April 11, 2013 Thanks Alexander for your reply. I have tried coding in findCombination() js function (in product.js) but still cannot get EAN for combination products. Can you please provide code for this? Link to comment Share on other sites More sharing options...
templatin Posted April 12, 2013 Share Posted April 12, 2013 I have finally solved it by making few changes in core files for setting up EAN for combination products. 1 Link to comment Share on other sites More sharing options...
faDdy Posted June 19, 2013 Share Posted June 19, 2013 Hey templatin can you please post the solution here ? i am looking for this solution for a long time ... Please Thanks in Advance Link to comment Share on other sites More sharing options...
designproducers Posted October 30, 2014 Share Posted October 30, 2014 Can you please post the solution Link to comment Share on other sites More sharing options...
kmikruta Posted March 6, 2015 Share Posted March 6, 2015 Hi,Is there any easy solution to make it work in 1.6.0.9 ? Link to comment Share on other sites More sharing options...
ukbaz Posted September 24, 2015 Share Posted September 24, 2015 I'm looking for the solution too - any chance someone can paste the relevant code here? Link to comment Share on other sites More sharing options...
saintofinternet Posted December 22, 2015 Share Posted December 22, 2015 i am still not able to get the EAN 13 code displayed on my product listing. Link to comment Share on other sites More sharing options...
Recommended Posts