Author Topic: Different Product Price For Each Currency  (Read 1911 times)

raunhar

  • Jr. Member
  • **
  • Posts: 234
Different Product Price For Each Currency
« on: February 17, 2016, 06:25:47 am »
Is there any plugin in VM for Different Product Price For Each Currency .
I found one for open cart (http://www.opencart.com/index.php?route=extension/extension/info&extension_id=6068), but need for Virtuemart .

Milbo

  • Virtuemart Projectleader
  • Administrator
  • Super Hero
  • *
  • Posts: 9591
  • VM3.2 Cached and Optimized
    • VM3 Extensions
  • VirtueMart Version: VirtueMart 3 on joomla 3
Re: Different Product Price For Each Currency
« Reply #1 on: February 17, 2016, 12:56:33 pm »
I should fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/

raunhar

  • Jr. Member
  • **
  • Posts: 234
Re: Different Product Price For Each Currency
« Reply #2 on: February 22, 2016, 09:24:31 am »
Is there any detailed documentation for this option.

raunhar

  • Jr. Member
  • **
  • Posts: 234
Re: Different Product Price For Each Currency
« Reply #3 on: February 22, 2016, 11:21:06 am »
Did not find any line with
VmConfig::get('myvalue','default')

Joomla 3.4.8
VM 3.0.12

Milbo

  • Virtuemart Projectleader
  • Administrator
  • Super Hero
  • *
  • Posts: 9591
  • VM3.2 Cached and Optimized
    • VM3 Extensions
  • VirtueMart Version: VirtueMart 3 on joomla 3
Re: Different Product Price For Each Currency
« Reply #4 on: February 22, 2016, 11:29:14 am »
listed as last option
pricesbyCurrency

look in the file and you see explanations. But these comments must be deleted if you use a version below vm3.0.13.2
I should fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/

raunhar

  • Jr. Member
  • **
  • Posts: 234
Re: Different Product Price For Each Currency
« Reply #5 on: February 22, 2016, 11:35:22 am »
Nothing by that variable.
Attaching the config file for ref.

Milbo

  • Virtuemart Projectleader
  • Administrator
  • Super Hero
  • *
  • Posts: 9591
  • VM3.2 Cached and Optimized
    • VM3 Extensions
  • VirtueMart Version: VirtueMart 3 on joomla 3
Re: Different Product Price For Each Currency
« Reply #6 on: February 22, 2016, 14:48:45 pm »
lol, read the manual and understand it.

Writing vmcongig.txt instead of virtuemart.cfg tells all.
I should fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/

raunhar

  • Jr. Member
  • **
  • Posts: 234
Re: Different Product Price For Each Currency
« Reply #7 on: February 22, 2016, 15:55:25 pm »
The file name was a typo error.
I copied the config file content and pasted as text file as , php attachment is not possible.

Milbo

  • Virtuemart Projectleader
  • Administrator
  • Super Hero
  • *
  • Posts: 9591
  • VM3.2 Cached and Optimized
    • VM3 Extensions
  • VirtueMart Version: VirtueMart 3 on joomla 3
Re: Different Product Price For Each Currency
« Reply #8 on: February 22, 2016, 19:21:09 pm »
Yeh you used it completly wrong, please read the manual.

HOW TO USE A HIDDEN CONFIGURATION PARAMETER?

open the virtuemart.cfg (at /administrator/components/com_virtuemart/virtuemart.cfg)
Preset any value used in VmConfig::get('myvalue','default').
In the example, change the line myvalue=default to myvalue=mydefaultvalue
Save the file
Enter the virtuemart backend:
For VirtueMart 3: store the configuration file once. The configuration file is load first and overwritten by the form and you should keep all settings.
For VirtueMart 2: you must use the button in tools "udpate config by file". Be aware that you loose your settings then.
Of course, you could theoretically set all config defaults into the virtuemart.cfg (interesting for retailers actually).
I should fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/

raunhar

  • Jr. Member
  • **
  • Posts: 234
Re: Different Product Price For Each Currency
« Reply #9 on: February 23, 2016, 07:21:08 am »
in the virtuemart.cfg file I added
pricesbyCurrency=-1
(Changed this value to 0 and 1 also)

under ##Pricing
but nothing changed in the VM backend. The option pricesbyCurrency never showed up.

raunhar

  • Jr. Member
  • **
  • Posts: 234
Re: Different Product Price For Each Currency
« Reply #10 on: February 25, 2016, 08:39:47 am »
How to:
For VirtueMart 3: store the configuration file once. The configuration file is load first and overwritten by the form and you should keep all settings.

Need help.
The config is as:

[config]
##shop settings
shop_is_offline=0
offline_message=Our Shop is currently down for maintenance. Please check back again soon.
use_as_catalog=0
currency_converter_module=convertECB.php
order_mail_html=1
useSSL=0
useVendorEmail=0
dangeroustools=0
debug_enable=none
dev=none
vmdev=none
google_jquery=0
multix=none
usefancy=1
jchosen=1
enableEnglish=1
pricesbyCurrency=1

Milbo

  • Virtuemart Projectleader
  • Administrator
  • Super Hero
  • *
  • Posts: 9591
  • VM3.2 Cached and Optimized
    • VM3 Extensions
  • VirtueMart Version: VirtueMart 3 on joomla 3
Re: Different Product Price For Each Currency
« Reply #11 on: February 25, 2016, 14:19:47 pm »
ehrm, I missed to say that this option was implemented for vm3.0.13.4 or so.
I should fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/

raunhar

  • Jr. Member
  • **
  • Posts: 234
Re: Different Product Price For Each Currency
« Reply #12 on: February 26, 2016, 06:00:16 am »
But 3.0.12 is the latest as shown in Virtuemart site.

raunhar

  • Jr. Member
  • **
  • Posts: 234
Re: Different Product Price For Each Currency
« Reply #13 on: February 26, 2016, 09:23:00 am »
Thanks a lot.

Its done.

But now the currency symbols are not showing properly (sometimes).

http://192.185.163.163/~jvm/index.php/store/headpiece/ceg-a-33-detail?s=&showall=1

When the page opens in default currency, the symbols are proper, but when currency is changed, the symbols get damaged.

Please suggest.

Milbo

  • Virtuemart Projectleader
  • Administrator
  • Super Hero
  • *
  • Posts: 9591
  • VM3.2 Cached and Optimized
    • VM3 Extensions
  • VirtueMart Version: VirtueMart 3 on joomla 3
Re: Different Product Price For Each Currency
« Reply #14 on: February 29, 2016, 17:14:05 pm »
I should fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/