Chillax86 Posted September 28, 2013 Share Posted September 28, 2013 (edited) I would like to know how I should override paypal's order-confirmation.tpl. Do I override... shop/modules/paypal/views/templates/front/order-confirmation.tpl in shop/themes/myTheme/modules/paypal/views/templates/front/order-confirmation.tpl or shop/themes/myTheme/modules/paypal/order-confirmation.tpl or am I totally wrong??? Edited September 29, 2013 by Chillax86 (see edit history) Link to comment Share on other sites More sharing options...
vekia Posted September 28, 2013 Share Posted September 28, 2013 second method should work, have you tried it? 1 Link to comment Share on other sites More sharing options...
Chillax86 Posted September 28, 2013 Author Share Posted September 28, 2013 No I haven't tried it yet but when I saw the directory structure to the paypal module and the prestashop documentation on overrides it leads you to believe that the first suggestion was right so I thought I'd check. As it is the second suggestion I have another question, to override any of paypal's tpl's do they all belong in shop/themes/myTheme/modules/paypal? Link to comment Share on other sites More sharing options...
Chillax86 Posted September 28, 2013 Author Share Posted September 28, 2013 I can now confirm it works in both locations, which one do you recommend? Link to comment Share on other sites More sharing options...
vekia Posted September 28, 2013 Share Posted September 28, 2013 everything depends on you, in my opinion, second method is easier in use mainly because you don't have to create so many directories / subdirectories 1 Link to comment Share on other sites More sharing options...
Globem Posted December 14, 2015 Share Posted December 14, 2015 everything depends on you, in my opinion, second method is easier in use mainly because you don't have to create so many directories / subdirectories Hello! I need to customize the order-confirmation.tpl so I would like to override it. I'm with Prestashop 1.6.1.2 and I've tryed both solutions written by Chillax86 but neither it seems to work. What shuold I do? Tnx! Link to comment Share on other sites More sharing options...
Globem Posted December 14, 2015 Share Posted December 14, 2015 I think I've solved on my own. All I had to do was to clean the cache and delete the file class_index.php located at /cache/class_index.php 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