Diachronic Posted August 19, 2015 Share Posted August 19, 2015 (edited) Hello I want to ask how to add payments(installed payments module) to an custom CMS page, the same as they displayed in the shopping cart page(just listing them with links). I've tried to add { $HOOK_PAYMENT} to the CMS page but i got errors in the page Any help please!!! Best Regards Edited August 19, 2015 by Diachronic (see edit history) Link to comment Share on other sites More sharing options...
NishantVadgama Posted August 20, 2015 Share Posted August 20, 2015 before use { $HOOK_PAYMENT} in .tpl file you have to define that smarty variable in controller file of that CMS page as follows. $this->context->smarty->assign(array( 'HOOK_PAYMENT' => Hook::exec('displayPayment'), )); then you will able to display all payment method list in the .tpl file of CMS page. 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