Author Topic: Cart Variant currency when Product Price currency does not match Shop currency  (Read 1983 times)

dblaze

  • Beginner
  • *
  • Posts: 5
I don't know if this would be a bug or would i classify it as a feature request but here it goes.

I have a shop which has a default currency set to Euro.
I enter a new product and set it's Price value to 100.00 and set currency to USD and save the product. Now I added a custom field (Type: Cart Variant) but cart variant values are expressed in Shop's default currency instead of currency that is assigned to the product.

Now I know logic is the best way to self confidently get to a wrong answer but wouldn't it be logical that cart variant prices are expressed in self confidently Product's currency values ?

Example...
If i sell t-shirts from my american supplier I will enter the product price in $ - USD and leave currency converter take care of converting it to my shop's defult currency (€ - Euro), but if I have cart variants for red, blue and yellow shirt, it would be logical that those price differences are entered in USD (products currency).

Did I miss an option somewhere in the configuration or ?

P.S. It would also  be satisfactory if we could choose the currency for cart variant.

Any help on this problem ?
2b || !2b; this.question();
http://www.dblaze.eu

Maxim Pishnyak

  • Global Moderator
  • Sr. Member
  • *
  • Posts: 2656
Link?
You can support Community by voting for Project on the JED
https://extensions.joomla.org/extension/virtuemart/#reviews
Join us at
https://twitter.com/virtuemart

dblaze

  • Beginner
  • *
  • Posts: 5
Link?

Why would you need a link? I'm using 2.0.20 VM, just repeat this steps i described.... There will even be a shop's defult currency echoed next the cart variant price input field....

So the products currency is set to different one then the shop's default currency, and when you go to products custom fields there will be a shop default currency next to the price input. Wouldn't it be logical to have product's currency here ?

I've attached some screenshots with another shop that has "Croatian Kuna" as default currency, and products currency is USD....



[attachment cleanup by admin]
2b || !2b; this.question();
http://www.dblaze.eu

nanosmile

  • Beginner
  • *
  • Posts: 8
I’ve got exactly the same problem and have no idea how to solve the bug. I hope some experts find time to examine the issue. The basic problem is in custom fields currency conversion and final calculation in cart page. In short - custom fields with cart variant values come for calculation in wrong currency if U try to use more than two currencies under default converter module. SOS:)

Milbo

  • Virtuemart Projectleader
  • Administrator
  • Super Hero
  • *
  • Posts: 10530
  • VM4.0.7 Eagle Owl
    • VM3 Extensions
  • VirtueMart Version: VirtueMart 3 on joomla 3
Fixed http://forum.virtuemart.net/index.php?topic=119773.0 thank you nanosmile for the good observation
Should I fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/