Store based in europe with euro prices

i know it is possible to use the currency converter and that works nicely


For the US we need a different price level. Is it possible to have a certain pricelevel for euro and another price level for usd for a product in the same store?


1 Answer 1


Yes, have a different attribute known as 'usPrice' or something similar. When you detect the user is using that currency simply display instead of the 'regular' price. Do a similar thing in the cart, etc.

Magento uses 'get' functions to get attributes from objects. In this scenario the object will be something called a Product. These get functions look something like this:

$productPrice = $product -> getPrice();

Now, in the admin side of Magento you can define something called a 'custom attribute'. In your example we can call this custome attribute usPrice, which we will access using this:

$usProductPrice = $product -> getUsPrice();

On the products page you can use an if statement to get either the productPrice or the usProductPrice, which should look something like:

if(*however you're detecting source of user* == 'United States'){
    $price = $product -> getUsPrice();
    $price = $product -> getPrice();

Or, if you have your own conversion rate you could just multiply that by the base price and be done with it.

Hope this helps!

  • Thanks for letting me know it is possible... but this doesn't make sense to me though... would you mind explaining a bit more so a non programmer can follow this ;-)
    – carlo
    Dec 4, 2014 at 20:11
  • @carlo I added some more to the answer. Dec 4, 2014 at 20:24
  • This clarifies it some more thanks :-) ... in think i would need to find out how to detect the user source (ip?)
    – carlo
    Dec 4, 2014 at 23:10
  • Personally I'd use something like a dropdown menu to select difference currencies / languages / etc. But that's just me. Select 'answered' if you feel I have answered this question and open another one as to how to detect the country that the user resides within! Dec 5, 2014 at 14:54

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.