Jump to content

Overriding theme tpls within module?


Guest

Recommended Posts

Hi, what is the directory structure to observe when you want to override, within a module, an existing theme template (specifically "mytheme/catalog/_partials/product-variants.tpl")?

And besides that, would anything else be required from my side?

Thank you.

Edited by Guest (see edit history)
Link to comment
Share on other sites

Maybe I am wrong but you can't

 

you need create hooks on your module to add to the theme tpl or using the hook to change the info pass to the tpl

 

Remember something no all the themes are handling the same tpl to show the information

Link to comment
Share on other sites

Ok, thanks a lot for the explanation. More suggestions are welcome, but I think in my case it's pretty clear from the tpl vars what needs to be done on the tpls side, so I will just place the tpls in the theme.

Edited by Guest (see edit history)
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...