Author Topic: show discount price along with discount percentage  (Read 559 times)

paritosh

  • Beginner
  • *
  • Posts: 13
  • A beginner
show discount price along with discount percentage
« on: April 05, 2018, 10:05:59 am »
Hi,

I want to display price detail like below:

MRP Rs. 224 (Inclusive of all taxes)
Sales price Rs. 212.8
Discount Rs. 11.2 (5%)

i share the link where i need the change:

https://www.globalvess.com/index.php?option=com_virtuemart&view=productdetails&virtuemart_product_id=1307&virtuemart_category_id=354

please help me to change as the required.

jenkinhill

  • UK Web Developer & Consultant
  • Global Moderator
  • Super Hero
  • *
  • Posts: 27108
  • Always on vacation
    • Jenkin Hill Internet
Re: show discount price along with discount percentage
« Reply #1 on: April 05, 2018, 11:23:32 am »
That is not the default VirtueMart template, so you will have to edit your template override. In this case it is probably templates/[your-joomla-template]/com_virtuemart/sublayouts/prices.php

http://forum.virtuemart.net/index.php?topic=108212.0
Kelvyn

Jenkin Hill Internet,
Lowestoft, Suffolk, UK

Unsolicited PMs/emails will be ignored.

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

Currently using VM 3.4.3.9989 on Joomla 3.9.1 PHP 7.0.32
Testing VM 3.4.3.9993 on Joomla 3.9.1

paritosh

  • Beginner
  • *
  • Posts: 13
  • A beginner
Re: show discount price along with discount percentage
« Reply #2 on: April 05, 2018, 11:38:20 am »
hi

joomla version - Joomla! 3.8.6 Stable

virtuemart version - VirtueMart 3.2.1

Thanks for reply