VirtueMart Forum

VirtueMart 2 + 3 + 4 => Product pricing => Topic started by: Gingerweb on April 07, 2020, 10:46:21 AM

Title: Remove "Total Discount" text if no discount
Post by: Gingerweb on April 07, 2020, 10:46:21 AM
The "Total Discount" is shown correctly when the boxes "Total discount amount" label is ticked. Im sure this text in the product view would only show IF there was a discount applied to the product but it is showing in all products. Is there a way to just show this label IF there is a discount and nothing to show if there is no discount?

See screenshots for correct and not correct

many thanks
Title: Re: Remove "Total Discount" text if no discount
Post by: jenkinhill on April 07, 2020, 11:44:32 AM
It does not do that with my default VM template. Check using Protostar, you may need to edit your overrides. I usually just use the Discount amount and not the Total discount amount.
Title: Re: Remove "Total Discount" text if no discount
Post by: Gingerweb on April 08, 2020, 00:07:40 AM
Many thanks for your reply.