How to display the weight and dimensions in opencart card?
Web Studio - site development of any direction. | web-ukraine.com
πŸ’Ό Creation of modern websites of any complexity. | πŸ‘Œ WEB-UKRAINE.COM

How to display the weight and dimensions in opencart card?

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 Reply

Π’ΠΈΠ±Π΅Ρ€Ρ–Ρ‚ΡŒ спосіб спілкування
Звязатися Π· Π½Π°ΠΌΠΈ!
Ми Π³ΠΎΡ‚ΠΎΠ²Ρ– Π΄ΠΎ Π΄Ρ–Π°Π»ΠΎΠ³Ρƒ.