Display SKU (Stock Keeping Unit) of a product on the frontend of product page in OpenCart 3.0.2.
The ocmod for sku looks for this code in the catalog/view/theme/default/template/product/product.twig file. Make sure you add it where you want the code to be output by the ocmod.
<!-- product_sku -->
How to install OCMOD
- 1. Download the install.xml file
- 2. Zip the file (not the folder) and name it: productsku.ocmod.zip (important)
- 3. upload in extensions
- 4. clear modifications cache
- 5. clear opencart cache