vinaykumar Posted January 6, 2017 Share Posted January 6, 2017 I am trying to create a module in prestashop 1.7.* . I have got into a situation which needs me to edit cart.tpl file located in themes/classic/templates/checkout folder. In documentation I came across /themes/[theme_name]/modules which has the description as "Sub-folder for overriding .tpl files and languages files, if necessary." . Unable to find proper explanation I tried creating "MyModule/themes/classic/templates/checkout/cart.tpl" and unfortunately the changes are not reflected in the site. I have no clue what should be done. P.S When I tried creating a hook and placing it by altering the themes/classic/templates/checkout/cart.tpl file it was successful. I am planning to place my hook in my module's overriding cart.tpl file. Link to comment Share on other sites More sharing options...
PepeLopez Posted June 11, 2017 Share Posted June 11, 2017 ...same problem here. Just 've been read a lot of stuff googling around didnt find any answer. Do some experienced coders have explanation? 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