Author Topic: Product prices based on front-end language  (Read 3707 times)

Genius WebDesign

  • 3rd party VirtueMart Developer
  • Jr. Member
  • *
  • Posts: 175
    • Genius WebDesign
Re: Product prices based on front-end language
« Reply #15 on: January 03, 2017, 16:30:10 pm »
https://docs.virtuemart.net/manual/general-concepts/206-hidden-configurations.html

param name pricesbyCurrency

Just to check if I understand this correctly..
All I need to do is to add the line:
pricesbyCurrency=1
to the file: /administrator/components/com_virtuemart/virtuemart.cfg

Is that correct?

Milbo

  • Virtuemart Projectleader
  • Administrator
  • Super Hero
  • *
  • Posts: 9856
  • VM3.2 Cached and Optimized
    • VM3 Extensions
  • VirtueMart Version: VirtueMart 3 on joomla 3
Re: Product prices based on front-end language
« Reply #16 on: January 03, 2017, 19:05:32 pm »
Then vm takes if provided the price by the currency

For example, your vendor currency is $, your users can choice between, $ and €. When your users selelcts € and the price is only given in  he gets the price in $. But when you provided a price in $ and €, it will provide the price which is set in €.

We have one product in $, the user sees 10$ as 9.x €. When the product has the price provided also in €, for example 10 €, he will see 10 €.
I should fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/

Genius WebDesign

  • 3rd party VirtueMart Developer
  • Jr. Member
  • *
  • Posts: 175
    • Genius WebDesign
Re: Product prices based on front-end language
« Reply #17 on: January 04, 2017, 15:43:11 pm »
Then vm takes if provided the price by the currency

For example, your vendor currency is $, your users can choice between, $ and €. When your users selelcts € and the price is only given in  he gets the price in $. But when you provided a price in $ and €, it will provide the price which is set in €.

We have one product in $, the user sees 10$ as 9.x €. When the product has the price provided also in €, for example 10 €, he will see 10 €.

That is basically wonderful news, Milbo :)
That is exactly what I (my client) is looking for.

I have 1 quick question regarding custom fields with prices.
If I have a product with 2 prices, 1 in EUR and 1 in DKK, and the product has a custom field for extra accessories with price, e.g. + 14 DKK, as I understand it the custom field price will always be calculated according to the vendor currency, this is correct, no?
If so, do I need to create my own custom field plugin in order to have product options with prices specific for each currency?

Milbo

  • Virtuemart Projectleader
  • Administrator
  • Super Hero
  • *
  • Posts: 9856
  • VM3.2 Cached and Optimized
    • VM3 Extensions
  • VirtueMart Version: VirtueMart 3 on joomla 3
Re: Product prices based on front-end language
« Reply #18 on: January 04, 2017, 22:07:29 pm »
Stan solved this problem. He did not provide the code for the core, but I could add it for a reasonable price for example a silvermembership.
I should fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/

Genius WebDesign

  • 3rd party VirtueMart Developer
  • Jr. Member
  • *
  • Posts: 175
    • Genius WebDesign
Re: Product prices based on front-end language
« Reply #19 on: January 06, 2017, 10:27:18 am »
Stan solved this problem. He did not provide the code for the core, but I could add it for a reasonable price for example a silvermembership.

Does this involve hacking the core of VM?