VirtueMart Forum

VirtueMart 2 + 3 + 4 => Product pricing => Topic started by: jesper.v.meijel on October 25, 2016, 23:54:29 PM

Title: Discount Problem
Post by: jesper.v.meijel on October 25, 2016, 23:54:29 PM
Hello,

I have a problem on my Virtuemart page with discount.
http://creacorrect.nl/shop/webshop/search?keyword=balance&limitstart=0&option=com_virtuemart&view=category&virtuemart_category_id=0

I want only see the baseprice if there is a discount, right now i get a red icon sign.
I have read many tutorials but i cant fix it. Could someone please help me with it :)
Title: Re: Discount Problem
Post by: jenkinhill on October 26, 2016, 10:35:53 AM
This is the "icon" - it is in fact a zero  <span class="PricebasePriceWithTax red">0</span>

You are (incorrectly) using a price override so that is the only price that will be used/displayed.  Discount should be applied to the base price by using a tax/calculation rule.
You are using template overrides so it is not possible to know how the prices would normally display.
http://forum.virtuemart.net/index.php?topic=79799.0
Title: Re: Discount Problem
Post by: jesper.v.meijel on October 27, 2016, 12:05:36 PM
Hello Sir,

Sorry for my late response, i dont know what im doing wrong.
Because i dont using tax rules or something like that. My prices are always incl TAX.

Please try to search for "balance" in the searchbar, here it is correct.

Currently using VM3.0.18 on Joomla 3.6.4 PHP 5.6.27
http://tinyurl.com/zrv5pe3
Title: Re: Discount Problem
Post by: Ghost on October 27, 2016, 12:38:52 PM
This is clearly an issue with your template.

<span class="price-crossed" ><div class="PricebasePriceWithTax" style="display :  vm-nodisplay;" ><span class="PricebasePriceWithTax red" >0</span></div></span>
Title: Re: Discount Problem
Post by: jesper.v.meijel on October 27, 2016, 12:43:18 PM
So what do i have to change to make it work? In which document do i have to change it?
Sorry im new with Virtuemart and Joomla
Title: Re: Discount Problem
Post by: jesper.v.meijel on November 03, 2016, 20:16:39 PM
Can someone help me?
Title: Re: Discount Problem
Post by: jenkinhill on November 04, 2016, 00:02:58 AM
You have been advised that this is an issue with your template, but you are not using the default VirtueMart templates so it is very difficult to help. See http://forum.virtuemart.net/index.php?topic=108212.0

Try using Protostar as your Joomla template which will also use default VM templates and see if you still have a problem there. If not then talk to whoever supplied the template you are using.