Jump to content

Show cart summary in payment execution


Recommended Posts

Hi Prestafriends!

 

 

I just want to show a simple Shopping Cart Summary at the last Step

(for Bankwire ex.: payment_execution.tpl)

 

I dont use Standard theme, i use the theme new_parure from addons.prestashop

 

when i add the code from shopping_cart.tpl or from blockcart.tpl it shows empty cart. but the window is there.

 

I just simply want a summary with the product picture, product number, product quantity, the price and total price

 

also

 

Delivery address and invoice address should be shown just like in my order-opc

 

 

but i dont get it.

I just need a simple code to show the shopping cart (not empty :) )

 

would be nice if someone could help me with this problem.

 

Robert

Link to comment
Share on other sites

  • 2 weeks later...
  • 1 month later...
  • 3 months later...

I am also looking for this solution... Anyone knows?

 

Hi guys,

 

I have found a solution... it uses Block Cart module... I have created a new hook with help of this post and then I hooked the module Block Cart to my new hook and to be able to change the template especially for my new hook (to remove checkout button, make the product name longer) I copied the tpl file and named it blockcart-payment.tpl and in its php file I put this code:

 

function hookdisplayCartSummary($params) {
if (Configuration::get('PS_CATALOG_MODE'))
return;

// @todo this variable seems not used
$this->smarty->assign('order_page', strpos($_SERVER['PHP_SELF'], 'order') !== false);
$this->assignContentVars($params);
return $this->display(__FILE__, 'blockcart-payment.tpl');
}

I hope I helped... its not the original cart like on the order page but you can change the design in the tpl and css ;)

  • Like 1
Link to comment
Share on other sites

  • 2 years 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...