Author Topic: calculate the discount in dropdown options  (Read 113 times)

vmieraora

  • Beginner
  • *
  • Posts: 3
  • A beginner
calculate the discount in dropdown options
« on: November 29, 2017, 09:00:05 am »
Good morning,
for me this is the first time in this forum.
calculate the discount in dropdown options
1) I wanted to ask if it is normal that the discount is shown only by ticking the override box - see attachments;
2) Can you show the drop in discount product variations? see photos


I would like to change the code but I can not locate the file to edit
Thanks in advance
ZElio

Jörgen

  • Global Moderator
  • Full Member
  • *
  • Posts: 1142
    • Kreativ Fotografi
  • VirtueMart Version: 3.2.6
Re: calculate the discount in dropdown options
« Reply #1 on: November 29, 2017, 09:41:05 am »
VM version, Joomla version ?

You should set up discount using calculation rules:

Start here:
https://docs.virtuemart.net/manual/general-concepts/204-tax-and-calculation-rules-overview.html

Also check the tutorials

regards

Jörgen @ Kreativ Fotografi
Joomla 3.8.2
Virtuemart 3.2.6
Olympiantheme Hera (customized)

vmieraora

  • Beginner
  • *
  • Posts: 3
  • A beginner
Re: calculate the discount in dropdown options
« Reply #2 on: November 29, 2017, 10:40:38 am »
Hi,
Quote
Also check the tutorials
ok done

Quote
You should set up a discount using calculation rules:
ok done

The rules are set correctly: the final price is correct, but

the problem is how to calculate the discount on custom fields

Thanks for the reply

vmieraora

  • Beginner
  • *
  • Posts: 3
  • A beginner
Re: calculate the discount in dropdown options
« Reply #3 on: November 29, 2017, 10:41:58 am »
VirtueMart 3.2.2.
Joomla 3.8.2.

Jörgen

  • Global Moderator
  • Full Member
  • *
  • Posts: 1142
    • Kreativ Fotografi
  • VirtueMart Version: 3.2.6
Re: calculate the discount in dropdown options
« Reply #4 on: November 29, 2017, 13:02:45 pm »
So only the total price is affected not the custom prices added to the total price Product price ?

regards

Jörgen @ Kreativ Fotografi
Joomla 3.8.2
Virtuemart 3.2.6
Olympiantheme Hera (customized)