News:

Looking for documentation? Take a look on our wiki

Main Menu

Label Discount " To Be or Not To BE"

Started by giordenzo, September 19, 2017, 11:13:40 AM

Previous topic - Next topic

giordenzo

Hello Team
I have a problem with Virtuemart 3.2.2 and joomla 3.7.5
I try to explain the problem, sorry for my bad engllish  :-[ when a discount is applied to a product:
example
Basic price 100 € (it's ok)
Price 99 (even here is right)
discount - 1 (and this is also perfect)
but if I remove the discount on a product
have thei results
Basic price 100 € (ok)
Price 100 (also here is right)
discount (it remains the label discount and is not good) there is a way to remove the discount when not discount applyed?
if there is no discount on the product the label does not appear.

Thanks  in advance for you support
King Regards
ENzo



GJC Web Design

in the sublayout prices.php do a compare of the retail->discount prices

if they are NOT equal show the discount stuff.. if equal don't show
GJC Web Design
VirtueMart and Joomla Developers - php developers https://www.gjcwebdesign.com
VM4 AusPost Shipping Plugin - e-go Shipping Plugin - VM4 Postcode Shipping Plugin - Radius Shipping Plugin - VM4 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
https://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation