
Can Anybody help?
Can Anybody help?Can Anybody help?
Can Anybody help?Hello,
Please try this code for Product template:
<?php
if(!(isset($currency))){
$currency = CurrencyDisplay::getInstance ();
}
echo $currency->createPriceDiv ('basePrice', 'COM_VIRTUEMART_PRODUCT_BASEPRICE', $product->prices);
?>
For more CMS Code examples for different prices please refer to https://answers.themler.io/articles/67028/tips-and-tricks#t_price
Sincerely,
Nettie,
BillionDigital Team
The Problem is tha the "BasePrice" is WHITOUT Tax..... :-(
Ive seen Allready the Tips & Tricks, but there are only 2 Scriptdemos for the "Product Template"... :-(
Please help me out :-)
The Problem is tha the "BasePrice" is WHITOUT Tax..... :-( Ive seen Allready the Tips & Tricks, but there are only 2 Scriptdemos for the "Product Template"... :-( Please help me out :-)Hi,
In the provided article you can find the code for Base price with tax also:
echo $this->currency->createPriceDiv ( 'basePriceWithTax', 'COM_VIRTUEMART_PRODUCT_BASEPRICE_WITHTAX', $this->product->prices );
Simply change the line in the example:
echo $currency->createPriceDiv ('basePrice', 'COM_VIRTUEMART_PRODUCT_BASEPRICE', $product->prices);
to the desired price code:
echo $currency->createPriceDiv ( 'basePriceWithTax', 'COM_VIRTUEMART_PRODUCT_BASEPRICE_WITHTAX', $product->prices );
You just need a proper parameter: 'basePriceWithTax
.
Thank you,
Olivia
When seeking assistance with VirtueMart CMS code for base price with tax on products template, consider leveraging ChatGPT Deutsch to brainstorm solutions or troubleshoot coding issues effectively. Its ability to generate code snippets and provide insights can be valuable in resolving your VirtueMart template concerns.
When seeking assistance with VirtueMart CMS code for base price with tax on products template, consider leveraging [ChatGPT Deutsch][1] to brainstorm solutions or troubleshoot coding issues effectively. Its ability to generate code snippets and provide insights can be valuable in resolving your VirtueMart template concerns. [1]: https://gptdeutsch.com/Mahipalpur VIP Model Escorts are expertly trained in the art of seduction and know how to make any experience memorable. Whether you are looking for a high-class model to accompany you on an upcoming business trip or a sexy and adventurous companion to enjoy a night of pleasure on your own, Escort in Mahipalpur are sure to provide exactly what you are looking for. These ladies are available at a variety of prices.
Mahipalpur VIP Model Escorts are expertly trained in the art of seduction and know how to make any experience memorable. Whether you are looking for a high-class model to accompany you on an upcoming business trip or a sexy and adventurous companion to enjoy a night of pleasure on your own, [Escort in Mahipalpur][1] are sure to provide exactly what you are looking for. These ladies are available at a variety of prices. [1]: https://www.erosescorts.in/mahipalpur-escorts.html