HI,
I am trying to create a subtotal column in my cart pricelist.php.
Basically I have Tax, Discount and Total columns but require another which shows total but without tax.
Any help or pointers would be great!
Using VirtueMart 3.8.7 and Joomla! 3.10.11
Ok, so i have worked out the without tax prices for each item in the list and a subtotal of all lines without tax as per the attached image.
Does anyone now how I can get the shipment price without tax and the total without tax?
Thanks
aren't all prices in $this->cart->cartPrices ?
just echo it out and see what's there
print 'Debug Line '.__LINE__.' $this->cart->cartPrices <pre>'; print_r ($this->cart->cartPrices); print "</pre><br />\n";
Quote from: GJC Web Design on January 06, 2023, 21:01:34 PM
aren't all prices in $this->cart->cartPrices ?
just echo it out and see what's there
print 'Debug Line '.__LINE__.' $this->cart->cartPrices <pre>'; print_r ($this->cart->cartPrices); print "</pre><br />\n";
Perfect, all sorted thank you so much for the help ;)