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.
5 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
You must log in or register to leave comments