kstepyra Posted March 8, 2013 Share Posted March 8, 2013 (edited) Hi, I am modifying payment module (default bank wire) and i am stuck on smarty assigns for payment_execution.tpl I am passing smarty variables using $this->smarty->assign($var, $val) method but in module HOOK methods like hookPayment etc. and this works fine for payment.tpl and payment_return.tpl. Problem comes when i try to assign smarty variable to payment_execution.tpl file (modules/bankwire/views/templates/front/payment_execution.tpl) - where i can do so? In which method? or maybe i should make additional php file? Prestashop version: 1.5.3.1 (newest) I will appreciate any help, this is very important to me. PROBLEM SOLVED, TY. Edited March 8, 2013 by kstepyra (see edit history) Link to comment Share on other sites More sharing options...
PascalVG Posted March 8, 2013 Share Posted March 8, 2013 Hi kstepkyra, Can you summarize what you did to fix it? Others can have similar questions, so an answer to it would be great to have here. Thanks! Link to comment Share on other sites More sharing options...
kstepyra Posted March 8, 2013 Author Share Posted March 8, 2013 Sure, Fix is in folder modules/bankwire/controllers/front. There we go similar way as in normal php files located in module folder. To access methods of module php file we use $this->module-> 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