VirtueMart Forum

VirtueMart 2 + 3 + 4 => General Questions => Topic started by: jlabuelo_sm on November 06, 2016, 21:49:55 PM

Title: Base price not appear in Order summary nor Invoice
Post by: jlabuelo_sm on November 06, 2016, 21:49:55 PM
Hi there

I am using Virtuemart 3.0.18 and we have a problem as in the order summary, just before confirming the order, when the customer reviews the cart, the system does not show the total base price with not taxes. I have the unit price per product, the unit Taxes cost per product and the total price (base+Taxes) per product. Also I have the Total Taxes and Total Order Cost (Total Base + Total Taxes), but it is not included the Total Base of the order. Also this happens in the invoice the system produces when the order is payed by credit card.

How can we include the Total Base cost in the screen and also in the PDF of the Invoice???

Thanks a lot!!!
Title: Re: Base price not appear in Order summary nor Invoice
Post by: jlabuelo_sm on November 11, 2016, 16:53:06 PM
Hi there

none can explain me please how to add the total ammount of the order with no taxes to the cart summary view?. It is mandatory to include this in an online store in Spain.
Thanks a lot!!
Title: Re: Base price not appear in Order summary nor Invoice
Post by: GJC Web Design on November 12, 2016, 00:16:55 AM
afaik the base price is only available to display to vendors/admins

try another in the cart loop .. echo out the prices object in the cart list template.. templates\xxxx\html\com_virtuemart\cart\default_pricelist.php

print 'Debug Line '.__LINE__.' $prow->prices <pre>'; print_r ($prow->prices); print "</pre><br />\n";

$prow->prices['discountedPriceWithoutTax']  ?
Title: Re: Base price not appear in Order summary nor Invoice
Post by: jlabuelo_sm on December 01, 2016, 14:26:18 PM
Thanks for the answer, but what I have done is touching the code a little bit to include a new row in the table that shows the invoice template and add in there the info.
Regards