Hi,

I have not a product's CCK prices field. Step 1 to 4 is OK, CCK-version is 2.8.

Comments

jensvoigt’s picture

You need to manually add a standard CCK field in step 3. On this fields edit-page there is a 'Multiple currency field settings'-fieldset, where you can assign this field as a currency field.

amirtaiar’s picture

I don't have any CCk field.
I have install the module, disable the cache option like said.

amitaibu’s picture

Assigned: d0r0ttya » Unassigned
Status: Active » Fixed

You need to create the CCK field yourself.

amirtaiar’s picture

Sorry, no cck "Ubercart CCK currency" option available.

amitaibu’s picture

> no cck "Ubercart CCK currency" option available.

It's working with number field, it doesn't provide a special field.

amirtaiar’s picture

OK.
Now there a lot of mic going on.
My defualt curency is ILS. So I have set the field to display $ - USD.
When editing my Hebrew product everything fine.
When editing the English product nothing happens.

Trying to enter myshop.co.il/uc_cck_currency/set/field_uc_mc_yen it gives me a 403.

Also, am I understanding correct - The price on the English product will be in ILS until I press the add to cart and then on the cart it will change?

amitaibu’s picture

> Trying to enter myshop.co.il/uc_cck_currency/set/field_uc_mc_yen it gives me a 403.

Is your field called "field_uc_mc_yen" ?

amirtaiar’s picture

Yes - field_uc_mc_yen.
Now it takes me to the homepage [I am on non-clear-url].

amitaibu’s picture

> Now it takes me to the homepage

This is by design, unless you pass the ?destination in the URL.

amirtaiar’s picture

I didn't quite understand the meaning - "This is by design".
This is a multilanguage so I implement some code in the settings.php for the dual homepage, but not more then that.
When I enter the myshop.co.il/uc_cck_currency/set/field_uc_mc_yen - what sepose to happen?

jensvoigt’s picture

You can redirect to the page you came from (while still changing currency of course), with something like this in a block:

$url = drupal_get_path_alias($_GET[q]);
$ils = '/uc_cck_currency/reset?destination=' . $url;
$usd = '/uc_cck_currency/set/field_currency_euro?destination=' . $url;
print '<a href="' . $ils . '">ILS</a>';
print '<a href="' . $usd . '">USD</a>';

Status: Fixed » Closed (fixed)

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