Base price with tax, Virtuemart

frederic11
107 Posts
frederic11 posted this 05 May 2019

Hello,
I used the cms code to show the price in the rotator of the reception for the prices in promotions. Since I think the last update of Virtuemart (3.4.5), the basic price with tax is no longer displayed. Is there another way to display the price now?

Here is the code I used that worked:

<?php if(!(isset($currency))){ $currency (); } if ($product-?>prices['discountedPriceWithoutTax'] != $product->prices['priceWithoutTax']) {
echo $currency->createPriceDiv ('basePriceWithTax', 'COM_VIRTUEMART_PRODUCT_BASEPRICE_WITHTAX', $product->prices);
}
?>

Regards

Hello, I used the cms code to show the price in the rotator of the reception for the prices in promotions. Since I think the last update of Virtuemart (3.4.5), the basic price with tax is no longer displayed. Is there another way to display the price now? Here is the code I used that worked: &lt;?php if(!(isset($currency))){ $currency (); } if ($product-?&gt;prices['discountedPriceWithoutTax'] != $product->prices['priceWithoutTax']) { echo $currency->createPriceDiv ('basePriceWithTax', 'COM_VIRTUEMART_PRODUCT_BASEPRICE_WITHTAX', $product->prices); } ?> Regards
Vote to pay developers attention to this features or issue.
1 Comments
Order By: Standard | Newest
frederic11
107 Posts
frederic11 posted this 05 May 2019

The shop url, see at the bottom of the home page : https://lelapinbo.ch/fr/
Note that the base price work in the product detail page

The shop url, see at the bottom of the home page : https://lelapinbo.ch/fr/ Note that the base price work in the product detail page
You must log in or register to leave comments