Creating Custom Product Details Pages Using Templates
* Requires programming knowledge of PHP
JEM allows you to create custom product details pages for each product, if you don't want to use the default product details template.
To do this, follow these steps:
- Copy the tpl_product_details.php file from /system/application/views/main/ folder to /themes/main/YOUR_THEME/custom_templates/ where YOUR_THEME is the name of the website theme you are using
- Get the product IDs for the products you want to have a custom template for
- For each product ID, you must create a corresponding tpl_product_details.php file for it, for example, for product ID 5,6, and 7:
tpl_product_details_5.php
tpl_product_details_6.php
tpl_product_details_7.php - so in the example above, product IDs 5, 6, and 7 will have custom templates to use when viewing their product details.
