Virtuemart Pricing

Chrisnz
39 Posts
Chrisnz posted this 26 October 2016

If you have a discounted price in virtuemart, there doesn't seem to be a way to display the old price with tax. It shows the pre-tax price. It is also showing the old pre-tax price when there is no discount.
It needs to show the discounted price and original price with tax. When there is no discount, just show the original price. This works fine with the default VM template.

Voila-Capture2016-10-26-04-46-55-PM.png

Voila-Capture2016-10-26-04-48-06-PM.png

If you have a discounted price in virtuemart, there doesn't seem to be a way to display the old price with tax. It shows the pre-tax price. It is also showing the old pre-tax price when there is no discount. It needs to show the discounted price and original price with tax. When there is no discount, just show the original price. This works fine with the default VM template. !Voila-Capture2016-10-26-04-46-55-PM.png! !Voila-Capture2016-10-26-04-48-06-PM.png!
Vote to pay developers attention to this features or issue.
15 Comments
Order By: Standard | Newest
Support Team
Support Team posted this 26 October 2016

Hello,

Please try following the suggestion from this topic:
http://answers.themler.com/questions/82331/virtuemart-pricing
It should help.

Sincerely,
Nettie,
BillionDigital Team

Hello, Please try following the suggestion from this topic: http://answers.themler.com/questions/82331/virtuemart-pricing It should help. Sincerely, Nettie, BillionDigital Team
Chrisnz
39 Posts
Chrisnz posted this 26 October 2016

Yes, I have tried that but the code on those templates have changed.
Is there any way to achieve this using the CMS code control?

Yes, I have tried that but the code on those templates have changed. Is there any way to achieve this using the CMS code control?
Support Team
Support Team posted this 28 October 2016

Hello Chris,
yes, you may use CMS Code control to incorporate your custom code.
May be one of theses samples would be helpful
http://answers.themler.com/articles/67028/tips-and-tricks

regards,
Aileen

Hello Chris, yes, you may use CMS Code control to incorporate your custom code. May be one of theses samples would be helpful http://answers.themler.com/articles/67028/tips-and-tricks regards, Aileen
Chrisnz
39 Posts
Chrisnz posted this 31 October 2016

I need to be able to show the sale price with tax. There is only an example of the sales price without tax.

I need to be able to show the sale price **with** tax. There is only an example of the sales price **without** tax.
Support Team
Support Team posted this 03 November 2016

Hi,

Do you mean that you need a base price with tax? If so please try the following code:

<?php echo $this->currency->createPriceDiv('basePriceWithTax','COM_VIRTUEMART_PRODUCT_BASEPRICE_WITHTAX',$product->prices); ?>

Thank you,
Olivia

Hi, Do you mean that you need a base price with tax? If so please try the following code: `<?php echo $this->currency->createPriceDiv('basePriceWithTax','COM_VIRTUEMART_PRODUCT_BASEPRICE_WITHTAX',$product->prices); ?>` Thank you, Olivia
Chrisnz
39 Posts
Chrisnz posted this 03 November 2016

OK, I'll try and make this clearer!
Here in New Zealand we have a Goods & Services tax (GST) of 15%. So the website needs to show the base price plus tax (GST). That is no problem.

The issue is when a product is on sale because you need to be able to show the old price and discounted price. I can only see a way to show the discounted price and then the old price without tax (they need to both include the tax).

Also if you have 'show old price' selected, it will show the price without tax on non-sale items as well.

Here is a mock up of what I'm after - all prices are with tax for both sale and non-sale items.

Screen-Shot-2016-11-04-at-6.11.57-AM.png

Here is the shopping cart which does display the totals correctly

Screen-Shot-2016-11-04-at-6.22.16-AM.png

I can achieve this with the native virtuemart template (and all other shopping carts I've used) but not with Themler.

OK, I'll try and make this clearer! Here in New Zealand we have a Goods & Services tax (GST) of 15%. So the website needs to show the base price plus tax (GST). That is no problem. The issue is when a product is on sale because you need to be able to show the old price and discounted price. I can only see a way to show the discounted price and then the old price without tax (they need to both **include** the tax). Also if you have 'show old price' selected, it will show the price without tax on non-sale items as well. Here is a mock up of what I'm after - all prices are with tax for both sale and non-sale items. !Screen-Shot-2016-11-04-at-6.11.57-AM.png! Here is the shopping cart which does display the totals correctly !Screen-Shot-2016-11-04-at-6.22.16-AM.png! I can achieve this with the native virtuemart template (and all other shopping carts I've used) but not with Themler.
Support Team
Support Team posted this 08 November 2016

Hi,

Here is the list of prices available in Virtuemart:
<?php
echo $this->currency->createPriceDiv ( 'basePrice', 'COM_VIRTUEMART_PRODUCT_BASEPRICE', $this->product->prices );
echo $this->currency->createPriceDiv ( 'basePriceVariant', 'COM_VIRTUEMART_PRODUCT_BASEPRICE_VARIANT', $this->product->prices );
echo $this->currency->createPriceDiv ( 'variantModification', 'COM_VIRTUEMART_PRODUCT_VARIANT_MOD', $this->product->prices );
echo $this->currency->createPriceDiv ( 'basePriceWithTax', 'COM_VIRTUEMART_PRODUCT_BASEPRICE_WITHTAX', $this->product->prices );
echo $this->currency->createPriceDiv ( 'discountedPriceWithoutTax', 'COM_VIRTUEMART_PRODUCT_DISCOUNTED_PRICE', $this->product->prices );
echo $this->currency->createPriceDiv ( 'salesPriceWithDiscount', 'COM_VIRTUEMART_PRODUCT_SALESPRICE_WITH_DISCOUNT', $this->product->prices );
echo $this->currency->createPriceDiv ( 'salesPrice', 'COM_VIRTUEMART_PRODUCT_SALESPRICE', $this->product->prices );
echo $this->currency->createPriceDiv ( 'priceWithoutTax', 'COM_VIRTUEMART_PRODUCT_SALESPRICE_WITHOUT_TAX', $this->product->prices );
echo $this->currency->createPriceDiv ( 'discountAmount', 'COM_VIRTUEMART_PRODUCT_DISCOUNT_AMOUNT', $this->product->prices );
echo $this->currency->createPriceDiv ( 'taxAmount', 'COM_VIRTUEMART_PRODUCT_TAX_AMOUNT', $this->product->prices );
?>

You can replace Themler Product Price control with CMS code control which outputs the price you need.

Please note that this is default VM price output. VM provide some styles for these elements. Themler can override these styles partially. You can set color? font-size, etc under the CMS Code >> More Styles. Unfortunately alignment cannot be overridden.
Here is css for this:
.vm-price-value
{
text-align: left;
}

Thank you,
Olivia

Hi, Here is the list of prices available in Virtuemart: `<?php echo $this->currency->createPriceDiv ( 'basePrice', 'COM_VIRTUEMART_PRODUCT_BASEPRICE', $this->product->prices ); echo $this->currency->createPriceDiv ( 'basePriceVariant', 'COM_VIRTUEMART_PRODUCT_BASEPRICE_VARIANT', $this->product->prices ); echo $this->currency->createPriceDiv ( 'variantModification', 'COM_VIRTUEMART_PRODUCT_VARIANT_MOD', $this->product->prices ); echo $this->currency->createPriceDiv ( 'basePriceWithTax', 'COM_VIRTUEMART_PRODUCT_BASEPRICE_WITHTAX', $this->product->prices ); echo $this->currency->createPriceDiv ( 'discountedPriceWithoutTax', 'COM_VIRTUEMART_PRODUCT_DISCOUNTED_PRICE', $this->product->prices ); echo $this->currency->createPriceDiv ( 'salesPriceWithDiscount', 'COM_VIRTUEMART_PRODUCT_SALESPRICE_WITH_DISCOUNT', $this->product->prices ); echo $this->currency->createPriceDiv ( 'salesPrice', 'COM_VIRTUEMART_PRODUCT_SALESPRICE', $this->product->prices ); echo $this->currency->createPriceDiv ( 'priceWithoutTax', 'COM_VIRTUEMART_PRODUCT_SALESPRICE_WITHOUT_TAX', $this->product->prices ); echo $this->currency->createPriceDiv ( 'discountAmount', 'COM_VIRTUEMART_PRODUCT_DISCOUNT_AMOUNT', $this->product->prices ); echo $this->currency->createPriceDiv ( 'taxAmount', 'COM_VIRTUEMART_PRODUCT_TAX_AMOUNT', $this->product->prices ); ?>` You can replace Themler Product Price control with CMS code control which outputs the price you need. Please note that this is default VM price output. VM provide some styles for these elements. Themler can override these styles partially. You can set color? font-size, etc under the CMS Code >> More Styles. Unfortunately alignment cannot be overridden. Here is css for this: `.vm-price-value { text-align: left; }` Thank you, Olivia
California Business Journal
43 Posts
California Business Journal posted this 21 May 2025

Explore the truth behind is internet gambling legal in California. Find out which forms of internet gambling are restricted, regulated, or under review for legalization.

Explore the truth behind [is internet gambling legal in California][1]. Find out which forms of internet gambling are restricted, regulated, or under review for legalization. [1]: https://calbizjournal.com/online-gambling-california-laws-legalization-best-online-slots-real-money-california/
gahoauhahhh
2 Posts
gahoauhahhh posted this 03 October 2025

That’s a really important point—shoppers expect to see both the original and discounted prices clearly, always including tax. It not only improves transparency but also builds trust with customers since they can compare real savings without confusion.

That’s a really important point—shoppers expect to see both the original and discounted prices clearly, always including tax. It not only improves transparency but also builds trust with customers since they can compare real savings without confusion.
gahoauhahhh
2 Posts
gahoauhahhh posted this 03 October 2025

This reminds me of why people look for unlocked apks like https://spottifyapk.pro/ —just like users want straightforward, ad-free music without hidden catches, online shoppers also want clear, tax-inclusive pricing that shows them exactly what they’re paying and saving.

This reminds me of why people look for unlocked apks like https://spottifyapk.pro/ —just like users want straightforward, ad-free music without hidden catches, online shoppers also want clear, tax-inclusive pricing that shows them exactly what they’re paying and saving.

Last edited 03 October 2025 by gahoauhahhh

downloadroblox1
4 Posts
downloadroblox1 posted this 04 October 2025

You can create a mobile menu that pushes content down using CSS and JavaScript for smooth transitions. For gaming on the go, try Roblox for Android.
for more visit this site https://rblapkdownload.com/

You can create a mobile menu that pushes content down using CSS and JavaScript for smooth transitions. For gaming on the go, try **Roblox for Android**. for more visit this site https://rblapkdownload.com/
bonniesotfwe
10 Posts
bonniesotfwe posted this 04 October 2025

Foodle will give you the best time because there are so many great games out there right now.

[Foodle][1] will give you the best time because there are so many great games out there right now. [1]: https://food-le.io
janiecarmody
67 Posts
janiecarmody posted this 24 February 2026

While setting up my online store, I kept running into confusing price options and unexpected fees, which made me wish for someone who could guide me through the complexities. It reminded me of how critical it is to have the best criminal defense lawyer san diego when navigating complicated legal situations—having the right guidance makes a huge difference. The best criminal defense lawyer san diego knows how to break down every detail clearly, anticipate challenges, and provide practical solutions, much like understanding every aspect of Virtuemart pricing prevents costly mistakes. Knowing that an expert is handling the tricky parts gives a sense of control and reduces stress. Just like careful planning keeps an online store profitable, having the best criminal defense lawyer san diego ensures your legal path is well-prepared and secure.

While setting up my online store, I kept running into confusing price options and unexpected fees, which made me wish for someone who could guide me through the complexities. It reminded me of how critical it is to have the best criminal defense lawyer san diego when navigating complicated legal situations—having the right guidance makes a huge difference. The [best criminal defense lawyer san diego][1] knows how to break down every detail clearly, anticipate challenges, and provide practical solutions, much like understanding every aspect of Virtuemart pricing prevents costly mistakes. Knowing that an expert is handling the tricky parts gives a sense of control and reduces stress. Just like careful planning keeps an online store profitable, having the best criminal defense lawyer san diego ensures your legal path is well-prepared and secure. [1]: https://www.sevenslegal.com
stevesmith9441
16 Posts
stevesmith9441 posted this 26 February 2026

Anonimoig is a free and easy-to-use online tool that lets you view and download Instagram Stories, Highlights, and posts from public profiles without needing to log in or reveal your identity. It offers anonymous access, meaning the account owner won’t know you viewed their content, and everything remains private and secure. With a simple interface that works on phones, tablets, and computers, users can quickly enter a username and start browsing content instantly. The platform does not require an Instagram account or password, making it a convenient choice for discreet IG story viewing. For a fast and anonymous experience, visit us at the site and start exploring public Instagram content now.

[Anonimoig][1] is a free and easy-to-use online tool that lets you view and download Instagram Stories, Highlights, and posts from public profiles without needing to log in or reveal your identity. It offers anonymous access, meaning the account owner won’t know you viewed their content, and everything remains private and secure. With a simple interface that works on phones, tablets, and computers, users can quickly enter a username and start browsing content instantly. The platform does not require an Instagram account or password, making it a convenient choice for discreet IG story viewing. For a fast and anonymous experience, visit us at the site and start exploring public Instagram content now. [1]: https://anonimoig.com/de/insta-story-viewer/
assistlandlord0
6 Posts
assistlandlord0 posted this 26 February 2026

This looks like a template override issue, since the default VM template works correctly. Your custom template is likely using the base pre-tax price instead of the tax-inclusive sales price and not properly checking for discounts. It’s a small logic fix—much like how tenant eviction solicitors must rely on the correct legal basis to avoid costly mistakes.

This looks like a template override issue, since the default VM template works correctly. Your custom template is likely using the base pre-tax price instead of the tax-inclusive sales price and not properly checking for discounts. It’s a small logic fix—much like how [tenant eviction solicitors][1] must rely on the correct legal basis to avoid costly mistakes. [1]: https://www.assistalandlord.co.uk/
You must log in or register to leave comments