News:

Support the VirtueMart project and become a member

Main Menu

Discount Problem

Started by jesper.v.meijel, October 25, 2016, 23:54:29 PM

Previous topic - Next topic

jesper.v.meijel

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 :)

jenkinhill

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
Kelvyn
Lowestoft, Suffolk, UK

Retired from forum life November 2023

Please mention your VirtueMart, Joomla and PHP versions when asking a question in this forum

jesper.v.meijel

#2
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

Ghost

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>

jesper.v.meijel

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

jesper.v.meijel


jenkinhill

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.
Kelvyn
Lowestoft, Suffolk, UK

Retired from forum life November 2023

Please mention your VirtueMart, Joomla and PHP versions when asking a question in this forum