News:

You may pay someone to create your store, or you visit our seminar and become a professional yourself with the silver certification

Main Menu

Product prices based on front-end language

Started by Genius WebDesign, December 29, 2016, 11:09:51 AM

Previous topic - Next topic

Genius WebDesign

Quote from: Milbo on January 02, 2017, 19:22:31 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

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 €.
Should I fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/

Genius WebDesign

Quote from: Milbo 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 €.

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

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.
Should I fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/

Genius WebDesign

Quote from: Milbo 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.

Does this involve hacking the core of VM?