Author Topic: [solved]access to Subtotal  (Read 1189 times)

JustAnotherMe

  • Beginner
  • *
  • Posts: 7
[solved]access to Subtotal
« 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

zanardi

  • Contributing Developer
  • Full Member
  • *
  • Posts: 878
    • GiBiLogic
Re: access to Subtotal
« Reply #1 on: August 19, 2010, 08:39:35 am »
Work on the files in folder:

/components/com_virtuemart/themes/default/templates/basket
--
Francesco (zanardi)
http://extensions.gibilogic.com
@gibilogic on Twitter

JustAnotherMe

  • Beginner
  • *
  • Posts: 7
Re: access to Subtotal
« Reply #2 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.


JustAnotherMe

  • Beginner
  • *
  • Posts: 7
Re: access to Subtotal
« Reply #3 on: August 19, 2010, 15:37:28 pm »
ok found it by my self ...

$vars['order_subtotal_withtax']

regards