How To Add A Custom Template File For Add-Ons?

Hi,

Is there a way to add a new custom product_representation.tpl file that overrides the current reward_points > views > products > components > product_representation.tpl file ?

I currently made changes to that file and when I upgraded the CS-Cart it deleted all my changes in there and need to know how to include the revision information under the my_changes folder under the Add-ons tab?

I tried to include the folders but that did not work as the Add-ons > my_changes folder is located in the same Add-ons folder as the my_changes, please help?

Thanks.

Please use the following file to override the mentioned one:

design/themes/YOUR_THEME/templates/addons/my_changes/overrides/addons/reward_points/views/products/components/product_representation.tpl

Thank you.

You are welcome!

Hi,

Is there a way to add a new custom product_representation.tpl file that overrides the current reward_points > views > products > components > product_representation.tpl file ?

I currently made changes to that file and when I upgraded the CS-Cart it deleted all my changes in there and need to know how to include the revision information under the my_changes folder under the Add-ons tab?

I tried to include the folders but that did not work as the Add-ons > my_changes folder is located in the same Add-ons folder as the my_changes, please help?

Thanks.

Dear hobbiesdeveloper,

Please do not post developer questions in General Questions forum.

I moved it to Developers Corner.