How to display the weight and dimensions in opencart card?
Web Studio - site development of any direction. | WEB-STYDIA.COM
Creation, development, manufacturing sites | WEB-STYDIA.COM

5/56 ratings

Everyone who added products online store opencart well aware that the editor of the goods in the admin present such fields as length, width, height, weight, but in most item card when you view these settings are not displayed, but we need to show them, well, let's Bring them to the card.
We will display the size and weight of the goods to the card, and if we have the weight or length is not specified - did not deduce anything in the box.
1. Open the file catalog/language/russian/product/product.php and amended as follows:

2.Open the file catalog/language/english/product/product.php and we do the same but with the English language.

3. Open the file catalog/controller/product/product.php and change the code in it:

4. Open the file name of your theme, the example uses the default theme by default, so open the file catalog/view/theme/default/template/product/product.tpl and change the code:

All you now have will show the length, width, height, weight on the item card.

You may also like

No Comment

You can post first response comment.

Leave A Comment

Please enter your name. Please enter an valid email address. Please enter a message.