How to display the SKU, UPC, ID card in opencart
Web Studio - site development of any direction. | web-ukraine.com
💼 Creation of modern websites of any complexity. | 👌 WEB-UKRAINE.COM

How to display the SKU, UPC, ID card in opencart

5/56 ratings

As you may have guessed from the title, today we will talk about these fields such as SKU, UPC, ID. Sometimes our clients need on product page display any additional fields that are in the admin area editor of goods but not in the window of the store, and now I'll show you how to easily and quickly bring the above-mentioned fields. To display them, we all just need to tweak the two files is the controller product.php and the file product.tpl is your theme.

1. So open the file catalog/controller/product/product.php and after a line of code:

Add the following line of code:

2. Then open the file catalog/view/theme/Your theme/template/product/product.tpl and add in the required place the following code:

For example, the default template you can insert the following lines just after the presence of a code:

That's the simple method we vyel SKU, UPC, ID card in our product.

You may also like

No Comment

You can post first response comment.

Leave a Reply

Виберіть спосіб спілкування
Звязатися з нами!
Ми готові до діалогу.