After changing the currency of a product from EUR (in my case the default currency) to USD it is not possible to change the currency back to EUR because the currency selector drop down menu disappears (see attachment).

Comments

guguss’s picture

Status: Active » Postponed (maintainer needs more info)

I can't reproduce it ! What are the steps to reproduce that ?

I tried to enable a new currency and switch between the 2 but the selector was always displayed.

Metulski’s picture

Thanks for your replay.
some configuration infos first:
-kickstart 7.x-2.9-beta1 incl. "demo store"
-PostgreSQL 8.3
(kickstart V2 is only installable on PostgreSQL with the dirty workaround described here http://drupal.org/node/1702692 => "search api" is not installed correctly)
-PHP 5.3.2
-Lighttpd 1.4.20

Please have a look at my screenshot I added to my last comment in order to see how it looks when the currency drop down menu is missing.

Here are the steps to reproduce the bug:

A) CREATING A PRODUCT WITH CURRENCY "EUR"
1. I have chosen "EUR" as default currency at the "demo store" setup of kickstart V2 installation process.
2. I go to "/?q=cart#overlay=%3Fq%3Dnode%252Fadd%252Fbags-cases" for adding a new product in "EUR" (sorry for the dirty URL)
3. enter price e.g. 100EUR select "Including Sample French VAT 19,6%"
4. press button "Save Variation"
5. press button "Save"
now the new product appears on the screen

B) CHANGING THE PRODUCT CURRENCY TO "USD"
1. press the "Edit" tabulator
2. go to "Product Variations" and press "Edit"
3. change the currency to "USD"
4. press button "Save Variation"
5. press button "Save"

C) CHANGING THE PRODUCT CURRENCY BACK TO "EUR"
1. press the "Edit" tabulator
2. go to "Product Variations" and press "Edit"
3. changing the currency to "EUR" not possible because currency drop down menu is missing

greetings Metulski

Metulski’s picture

Status: Postponed (maintainer needs more info) » Needs review

I forgot to change the "Status" from "» postponed (maintainer needs more info)" to "needs review".

I guess/hope my steps to reproduce the bug were detailed enough in my last comment on August 13, 2012.

guguss’s picture

Status: Needs review » Active

Actually, the status should be 'active' ;)

I'll reproduce your step and see what I got !

vasike’s picture

Version: 7.x-2.0-beta1 » 7.x-2.x-dev

i still can't reproduce.
i follow the steps from #2 with the exception that the default currency was USD, so i switch the currency in the steps.

when i'll do a new fresh install, i'll try also for exactly your workflow.

vasike’s picture

Status: Active » Needs work

indeed i can confirm this issue
i follow strictly your steps and i came to the same issue.

the cause: even EUR is set as the default currency, this currency it's not enabled, could be checked on Currency settings page : admin/commerce/config/currency.
So
- definitely the selected currency should be enabled
- what about the USD currency, should be enabled if it was not selected?

vasike’s picture

Title: currency selector drop down menu disappears after changing default currency EUR to USD » Installation default currency not Enabled
Status: Needs work » Needs review

there is a commit that enables the selected default currency from installation.
https://code.drupalcommerce.org/#/c/389/

bojanz’s picture

Status: Needs review » Fixed

Merged, thanks!

Great job on tracking this down.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.