Post by rafael_marques » Tue Jun 25, 2013 4:52 am

Hello, does anyone know how to get the products total value on checkout.

I need to use this value but when i try to get this value, all the values come together.

hopefully, thanx


Posts

Joined
Wed Feb 06, 2013 9:44 pm

Post by grgr » Tue Jun 25, 2013 3:16 pm

Have you tried:

Code: Select all

$this->cart->total;
?

-
Image Image Image
VIEW ALL EXTENSIONS * EXTENSION SUPPORT * WEBSITE * CUSTOM REQUESTS


User avatar
Active Member

Posts

Joined
Mon Mar 28, 2011 4:08 pm
Location - UK

Post by rafael_marques » Tue Oct 15, 2013 1:51 am

Where do I Put this? the controller page?

and how do I call this from the TPL.

Thanks


Posts

Joined
Wed Feb 06, 2013 9:44 pm

Post by Qphoria » Tue Oct 15, 2013 2:53 am

what do you want to show?
grgr's call is wrong, it should be:
$this->cart->getSubTotal();

but that isn't an array.. its just the subtotal of cart items without tax or shipping etc.
but what are you actually looking for?

Image


User avatar
Administrator

Posts

Joined
Tue Jul 22, 2008 3:02 am

Post by rafael_marques » Fri Nov 22, 2013 12:37 am

Qphoria, where can Iput this in TPL? I want to get the values of that array separated to put where I need.


Posts

Joined
Wed Feb 06, 2013 9:44 pm
Who is online

Users browsing this forum: No registered users and 4 guests