Hi, i want to override the template of adding and updating the product.
I followed the steps form the documentation and created the following directory to override default one
design/backend/templates/addons/product_addon/overrides/views/products/update.tpl
and default file is
design/backend/templates/views/products/update.tpl
When i install the addon the default template is overrided but nothing is displaying from the new template. as shown in the attachment. So can you guide me what i m doing wrong. Thanks
Please clarify what do you mean by "overrided but nothing is displaying ". No image was attached to your message
i mean nothing is on display on the product add page its blank. adding the screenshot again check it.
Please make sure that the following template structure is saved
... {capture name="mainbox"} .... {/capture} .... {include file="common/mainbox.tpl" title=$title content=$smarty.capture.mainbox select_languages=(bool) $id buttons=$smarty.capture.buttons adv_buttons=$smarty.capture.adv_buttons } ....
I added the same template as default one for product update and want to remove some of the hooks.
It looks like something is not removed correctly. Please do the following:
- copy original content to your file and make sure that it works
- remove necessary blocks one by one and check the result after each action
- do not forget to clear cache after each change
I did not make any changes in the template yet it is same as the original one. Also i am not able to override the hooks from the template. same response after clearing the cache.
I can see the overrided template in the debug mode and the changes are also visible can you tell me why is that not happening in the normal mode?
It is hard to answer on your question without detailed examination