I have set up the module to convert prices. A product with some options shows the correct converted price and symbol for the main price, but for each option price, the original unconverted price amount (e.g. "+₫500.00" for an option costing $500.00) is shown, but the "convert to" currency symbol is shown before it.

The converted price should be shown for the options as well.

When the product is added to the cart with some options, the total price is calculated correctly.

Comments

sukr_s’s picture

Status: Active » Fixed
StatusFileSize
new715 bytes

apply the enclosed patch and confirm.

Status: Fixed » Closed (fixed)

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

okias’s picture

Version: 6.x-1.0 » 6.x-1.1

Same problem with 1.1.

okias’s picture

Status: Closed (fixed) » Active

I try to convert from CZK => EUR. Flags in module is set to CZ and DE.

sukr_s’s picture

Status: Active » Postponed (maintainer needs more info)

I've checked this again today with the above mentioned currencies. all option prices are converting fine. what problem are you facing? pls provide more information.

okias’s picture

http://bouda.linuxservices.cz/?q=hotel-booking/search
try this please. try search some rooms, it'll show you price in CZK. Try change settings in upper left corner to EUR and it'll only change euro sign.
It happends everywhere same.

sukr_s’s picture

Does this happen only with anonymous users see #1391924: Currency won't change for anonymous user with cache enabled (AJAX page load) or do you face this issue for logged in user as well?

okias’s picture

even with logged user

okias’s picture

do you need any more informations?

sukr_s’s picture

i think the problem is because you do no have clean url enabled. is it possible to enable clean url?

sukr_s’s picture

Status: Postponed (maintainer needs more info) » Fixed
StatusFileSize
new871 bytes

@okias: apply the enclosed patch or use git and get the latest code.

okias’s picture

# patch -p1 < patch.diff
patching file uc_currency_convert.module
Hunk #1 FAILED at 52.
1 out of 1 hunk FAILED -- saving rejects to file uc_currency_convert.module.rej

and if I manually aplied, it doesn't show anything (blank page, not even same price with DE or CZK mark)

okias’s picture

if you could bump lastest git version into http://drupal.org/project/uc_currency_convert/ it'll be great!

sukr_s’s picture

it's already in git!

okias’s picture

git gives me this:

warning: call_user_func_array() expects parameter 1 to be a valid callback, function 'theme_uc_currency_convert_uc_price' not found or invalid function name in /var/www/data/includes/theme.inc on line 669.

okias’s picture

Status: Fixed » Active
sukr_s’s picture

Status: Active » Fixed

open a different message for #15. it's not related to the original problem. pls do not mix different issues in one message.

also don't forget to clear you cache and check before opening a new message.

okias’s picture

thanks a lot, after clearing cache, it works :)

Status: Fixed » Closed (fixed)

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