Welcome, Guest
Username: Password: Remember me
Use this Category for your support questions about Joomla Virtuemart Template - DarkMart (SKU# FLEX-00011)

TOPIC: Discount showing percentage not working

Discount showing percentage not working 8 years 8 months ago #3368

The percentage won't show on my product discount, it only shows the amount of the discount.

I have taken pictures as examples, and also took a picture of my current configurations on the VM.

If you need more information or pictures let me know.
Attachments:
The topic has been locked.

Discount showing percentage not working 8 years 8 months ago #3378

Hi,
the percentage is calculated on the fly in the template around lines 391 of

templates/flexible_darkmart/html/com_virtuemart/category/default.php

it uses this if statement
if ((!empty($basePriceWithTax) && $basePriceWithTax != $salesPrice)) {

then the % is appended by JS

the display here ->

http://flexiblewebdesign.com/virtuemart-2-template-darkmart/index.php?option=com_virtuemart&view=category&virtuemart_category_id=18&Itemid=482

has a config as the screen shot - so only one check box different from you - hmmm

can you try unchecking the one box and check if you have those lines above -
if so there should be some JS in the head appending a class FlexiblePercentage

If you need further help we will need a url etc

Cheers
Attachments:
The topic has been locked.

Discount showing percentage not working 8 years 8 months ago #3404

I got it to work, for future reference the discount only works if you set your Tax and Calculation Rules exactly like the one in the screenshot, you have to have a TAX for every product.
Attachments:
The topic has been locked.

Discount showing percentage not working 8 years 8 months ago #3410

topic solved - locked
The topic has been locked.
Time to create page: 0.118 seconds

MaterialMart

for Virtuemart 3

Google's Material Design has finally arrived to Virtuemart

Virtumart Template - MaterialMart Virtumart Template - CleanMart Virtumart Template - CleanMart Virtumart Template - CleanMart

Fully responsive!

Buy Now   |   Live Demo