![]() |
Different Product Detail Page
I have played with 4.3.1 and I found it quite easy to find the correct files to modify. But with 4.4.1 everything is literally duplicated which does make it much more difficult to customize.
To answer you question regarding editing the product details page, this is where I did it. /xcart/skin/2-columns/customer/main/product_details.tpl |
Yes, in 4.4.x the template structure has been changed.
The main idea is: each skin can have its own templates... inside its own directory, which overwrites the common ones "on the fly". The customization should simplify the upgrade and reduce the changes to the "common", or, in other words, "core" templates. For example you need to change the product page in 2-column template. There is no skin/2-columns/customer/main/product.tpl template, thus the skin/common_files/customer/main/product.tpl is the one. The safe way is: 1. copy skin/common_files/customer/main/product.tpl to skin/2-columns/customer/main/ 2. make the necessary changes to skin/2-columns/customer/main/product.tpl |
Thank you for your reply. Can I use the same if statement that I used in version 4.3 or has the code changed? What I used was:
{if $current_category.categoryid ne '29'} |
Pretty sure you can use the same if statement .. As this is standard Smarty syntax...
|
| All times are GMT +8. The time now is 03:44 AM. |
Powered by vBulletin Version 3.8.7
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.