Jump to content

Display total for products (without tax & shipping) -- how in 1.5?


Recommended Posts

In the confirmation page

I would like to display JUST the total for products (without taxes & shipping)

 

I need to know WHICH variable PS 1.5 is now using to hold this amount.

 

In version 1.4, I used this code (generously provided by a forum member)

and it worked fine. but in 1.5 it break the cart and displays a blank page

 

OLD CODE

 

$theCart = new Cart($this->id_cart);

$total_products = $theCart->getOrderTotal(false, Cart::ONLY_PRODUCTS);

self::$smarty->assign('total_products ', $total_products );

 

NEW CODE

 

how?

Link to comment
Share on other sites

this should be an easy answer fore those programmer familiar with prestashop

 

i just want to know how to display the total for products --without tax and shipping -- in the confirmation page.

 

Please, anyone here can assist me in this?

 

Thanks

Link to comment
Share on other sites

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...