Override A Template (Master_Products)

I have CS-Cart multivendor 4.12.2.SP2, I would like to implement some changes in the master products >> vendor_products.tpl file.

I followed the documentations https://docs.cs-cart.com/latest/developer_guide/addons/hooking/tpl_hooks.html

" How to override a template"

Accordingly I tried different directories as below:

my_changes/overrides/master_product/blocks/products

my_changes/overrides/master_product/products

my_changes/overrides/products

None of them worked.

Note:

My changes add-ons is active.

Cache cleared

The changes was tested with vendor_products.tpl file and it worked, but I want to implement it through my changes.

Can you please advise what the right directly, or how to implement the changes using hooks if possible?

Thanks

Hi!

What is the path of the file that you want override? Depending of where it is located the path can be different.

Here is a topic started by me where maybe you can find a solution:

https://forum.cs-cart.com/topic/62137-using-my-changes-to-override-my-accounttpl/?fromsearch=1

Please try

design/themes/responsive/templates/addons/my_changes/overrides/addons/master_products/blocks/products/vendor_products.tpl