Guest Posted March 9, 2018 Share Posted March 9, 2018 (edited) 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 March 9, 2018 by Guest (see edit history) Link to comment Share on other sites More sharing options...
jgamio Posted March 11, 2018 Share Posted March 11, 2018 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 More sharing options...
Guest Posted March 11, 2018 Share Posted March 11, 2018 (edited) 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 March 11, 2018 by Guest (see edit history) Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now