Jump to content

Adding cart summary to payment_execution.tpl?


stephenr

Recommended Posts

Hi,
 
I need to customize the summary at the final step of bankwire payment.

In order to comply with danish regulations i need to add a summary stating:
 
Name of customer
Adress
Phonenumber
email
Products ordered.
 

 

Any ideas as to how i achieve this?

Link to comment
Share on other sites

Hello,

 

You'll need to edit the bankwire/controllers/front/payment.php file.

To get the information of the customer, you'll most likely want to add the delivery address to Smarty (you'll get the name, address, phonenumber if they have them specified in the address).

To get the product list, you should do a $cart->getProducts(), assign it somewhere and then assign it to Smarty.

 

Well, and just program it in the .tpl with the variables that you have passed.

Link to comment
Share on other sites

  • 9 months later...

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...