VirtueMart Forum

VirtueMart 1.1.x [ Old version - no longer supported ] => Questions VM 1.1 ( the only active board for the old version) => Topic started by: JustAnotherMe on August 18, 2010, 15:40:27 pm

Title: [solved]access to Subtotal
Post by: JustAnotherMe on August 18, 2010, 15:40:27 pm
HI,

I need to show the Subtotal a second time during the checkout. I just ant find a function or variable for that ... any help or hint appreciated.

ty
Title: Re: access to Subtotal
Post by: zanardi on August 19, 2010, 08:39:35 am
Work on the files in folder:

/components/com_virtuemart/themes/default/templates/basket
Title: Re: access to Subtotal
Post by: JustAnotherMe on August 19, 2010, 09:52:01 am
at first ty for your time ...

these files are mend just for displaying the cart? ... the variables that are there like $subtotal_display are not globally available and i cant figure out where they are created.

I really need to read the value.

I found the class ps_checkout it has the methods i might need but the documentation only tells me that it needs an array not what kind of array.... but any other approach is good too.

Title: Re: access to Subtotal
Post by: JustAnotherMe on August 19, 2010, 15:37:28 pm
ok found it by my self ...

$vars['order_subtotal_withtax']

regards