Base Price for Variant with tax, Virtuemart

Chrisnz
39 Posts
Chrisnz posted this 31 May 2018

I can't see a control to use to add the base price for variant with tax. I can only see one without tax
Base price for variant:
echo $this->currency->createPriceDiv ( 'basePriceVariant', 'COM_VIRTUEMART_PRODUCT_BASEPRICE_VARIANT', $this->product->prices );

How do I display it with tax?

Thanks

I can't see a control to use to add the base price for variant with tax. I can only see one without tax Base price for variant: echo $this->currency->createPriceDiv ( 'basePriceVariant', 'COM_VIRTUEMART_PRODUCT_BASEPRICE_VARIANT', $this->product->prices ); How do I display it with tax? Thanks
Vote to pay developers attention to this features or issue.
10 Comments
Order By: Standard | Newest
Support Team
Support Team posted this 31 May 2018

Hi,

This article
http://answers.themler.io/articles/67028/tips-and-tricks
contains all prices we found in the Virtuemart source files. How would you display this price with default joomla theme? As I can see VM outputs the variant price with tax inside sales price.

Thank you,
Olivia

Hi, This article http://answers.themler.io/articles/67028/tips-and-tricks contains all prices we found in the Virtuemart source files. How would you display this price with default joomla theme? As I can see VM outputs the variant price with tax inside *sales price*. Thank you, Olivia
Chrisnz
39 Posts
Chrisnz posted this 31 May 2018

I'm trying to have a was and now price for products that have variants on special. Both prices need to have the tax included.

I'm trying to have a was and now price for products that have variants on special. Both prices need to have the tax included.

Last edited 31 May 2018 by Chrisnz

Support Team
Support Team posted this 04 June 2018

Hi,

Sorry for the delay.
Did you try using the code for Sales Price with Tax from this article?
http://answers.themler.io/articles/67028/tips-and-tricks

It should display what you need.

Thank you,
Olivia

Hi, Sorry for the delay. Did you try using the code for Sales Price with Tax from this article? http://answers.themler.io/articles/67028/tips-and-tricks It should display what you need. Thank you, Olivia
Chrisnz
39 Posts
Chrisnz posted this 04 June 2018

Thanks - yes I did. I can display the sales price no problem. It is the original price I cannot display as the product has variants. There is only an option to display the base variant price without tax, but I need it to include the tax

Thanks - yes I did. I can display the sales price no problem. It is the original price I cannot display as the product has variants. There is only an option to display the base variant price without tax, but I need it to include the tax
Support Team
Support Team posted this 05 June 2018

Hi,

How would you display it with non-Themler theme?
All prices supported by VM are listed in VM Configuration >> Pricing:

vp-confog-pricing.png

As I can see "Final salesprice" displays the variant price with tax. This price uses sales price function provided in the article.

Thank you,
Olivia

Hi, How would you display it with non-Themler theme? All prices supported by VM are listed in VM Configuration >> Pricing: !vp-confog-pricing.png! As I can see "Final salesprice" displays the variant price with tax. This price uses sales price function provided in the article. Thank you, Olivia
henryashford663
30 Posts
henryashford663 posted this 04 August 2025

Thanks for the detailed responses here. I’ve been dealing with a similar situation—not just in VirtueMart but even in other systems where base prices need tax added manually, especially for variant-level configurations. It reminds me of checking NSDL PAN Status, you often get the raw data, but interpreting it correctly with all components (like tax in this case) takes extra steps or alternate methods.

Thanks for the detailed responses here. I’ve been dealing with a similar situation—not just in VirtueMart but even in other systems where base prices need tax added manually, especially for variant-level configurations. It reminds me of checking [NSDL PAN Status][1], you often get the raw data, but interpreting it correctly with all components (like tax in this case) takes extra steps or alternate methods. [1]: https://thepancardstatus.com/
brookswilliam845
1 Posts
brookswilliam845 posted this 18 December 2025

This looks like a common pricing setup challenge, especially when taxes and variants need to stay consistent across records. One approach that often helps is structuring your base values separately and then applying rules per project or item, similar to how recurring tasks are templated with date offsets in Airtable. I’ve seen teams align this logic with financial planning tools like a Tax paycheck calculator to validate numbers before finalizing configurations. It keeps everything predictable while still allowing flexibility for unique project timelines.

This looks like a common pricing setup challenge, especially when taxes and variants need to stay consistent across records. One approach that often helps is structuring your base values separately and then applying rules per project or item, similar to how recurring tasks are templated with date offsets in Airtable. I’ve seen teams align this logic with financial planning tools like a [Tax paycheck calculator][1] to validate numbers before finalizing configurations. It keeps everything predictable while still allowing flexibility for unique project timelines. [1]: https://paycheckcity-calculator.com
coleharry246
4 Posts
coleharry246 posted this 18 December 2025

When the pursuit intensifies, it's essential to plan your escape route in escape road advance. Avoid dead ends and crowded areas, as these will make it easier for the police to apprehend you.

When the pursuit intensifies, it's essential to plan your escape route in [escape road][1] advance. Avoid dead ends and crowded areas, as these will make it easier for the police to apprehend you. [1]: https://escaperoad.io/
suzyiulee2024
16 Posts
suzyiulee2024 posted this 23 April 2026

The game does not require any complicated strategies or tutorials. https://slope-gameonline.io

The game does not require any complicated strategies or tutorials. https://slope-gameonline.io
victor04052024
26 Posts
victor04052024 posted this 3 weeks ago

I would like to extend my appreciation for the exceptional information you have provided Granny 2. I certainly appreciated a small portion of it. I have bookmarked your website in order to monitor your latest post.

I would like to extend my appreciation for the exceptional information you have provided [Granny 2][1]. I certainly appreciated a small portion of it. I have bookmarked your website in order to monitor your latest post. [1]: https://granny2.io
You must log in or register to leave comments