12

I will paraphrase the answer of St0iK. You can't set different base currency per store, but you can do it per website. First you have to go to the admin panel -> System -> Configuration -> CATALOG -> Catalog -> Price -> Catalog Price Scope and change it from Global to Website. Now when you go to the admin panel -> System -> Configuration -> GENERAL -> ...


11

Block name to remove currency should be "currency", please try: <referenceBlock name="currency" remove="true"/>


7

After config the currency, you want to show in a drop down list. You also have to setup the exchange rate. stores > currency rates. Seem we could only have one base currency per website. That means the currency switch in the front will only change price accordingly for display purpose only. The actual amount customers to paid is still calculated in base ...


6

This magento2 bug. Path: vendor\magento\module-catalog\Block\Product\View.php Line: 237-259 You need replace below code.This is a temporary fix. Please upgrade to the latest version if it is not working. $config = [ 'productId' => $product->getId(), 'priceFormat' => $this->_localeFormat->getPriceFormat(), ...


5

Add <?php echo Mage::app()->getLocale()->currency($_code)->getSymbol() ?> after <?php echo $_name ?>


5

NOTE: In the example the amount in current store currency is converting to amount in base store currency. You can use this code to convert one currency to another: /** * @var \Magento\Store\Model\StoreManagerInterface */ protected $storeManager; /** * @var \Magento\Directory\Model\CurrencyFactory */ protected $currencyFactory; /** * @param \...


5

You can use below code in your helper or in a function /** * @var \Magento\Store\Model\StoreManagerInterface */ protected $storeManager; /** * @var \Magento\Directory\Model\CurrencyFactory */ protected $currencyFactory; /** * @param \Magento\Store\Model\StoreManagerInterface $storeManager * @param \Magento\...


4

I used to do it like this: create the folders website1/store1, website1/store2, ... Then, in the folder website1 clone the index.php and .htaccess from the rood folder and replace this in index.php $mageFilename = MAGENTO_ROOT . '/app/Mage.php'; with $mageFilename = '../app/Mage.php'; and replace /* Store or website code */ $mageRunCode = isset($...


4

To setup multiple currency on Magento 2 follow this step: Setup currency: Move to menu Stores >> Configuration. Under GENERAL tab you will find sub menu Currency Setup. Setup Currency Options with what you need and click Save Config. Setup currency rates: Move menu to Stores >> Currency Rates. Set value for all parameters and hit Saves Currency Rates ...


4

It turns out that Base Currency can be set on each Store View. However, this option was not presented on the admin side. I had to change the system.xml app/code/core/Mage/Directory/etc/system.xml <label>Base Currency</label> I have to set the appropriate to change from 0 to 1 <show_in_store>1</show_in_store> Once this was done, ...


4

<?php class Customclass{ protected $storeManager; protected $currencySymbol; protected $localeCurrency; public function __construct( \Magento\Store\Model\StoreManagerInterface $storeManager, \Magento\Directory\Model\Currency $currencySymbol, \Magento\Framework\Locale\CurrencyInterface $localeCurrency ) { ...


4

Solution: public function convertPrice($amount = 0, $store = null, $currency = null) {     $objectManager = \Magento\Framework\App\ObjectManager::getInstance();     $priceCurrencyObject = $objectManager->get('Magento\Framework\Pricing\PriceCurrencyInterface'); //instance of PriceCurrencyInterface     $storeManager = $objectManager->get('Magento\...


3

Take a look at loginPostAction() in app/code/core/Mage/Customer/controllers/AccountController.php login() in app/code/core/Mage/Customer/Model/Session.php To log in a customer we need to do /** @var $customer Mage_Customer_Model_Customer */ $customer = Mage::getModel('customer/customer') ->setWebsiteId(Mage::app()->getStore()->...


3

If you want different prices on different domains (and you don't want to code or look for extensions) then separate websites is the way to go. Simple as that. Magento supports this out of the box for multiple websites configuration. For one website / multiples store views this is not possible out of the box. There are a few extensions out there that do this, ...


3

normally the base_grant_total (and all other fields that begin with base_) are kept in the value you set for default currency in the backend in system->configuration. The grant_total is kept in the currency used to place the order.


3

vendor/magento/framework/pricing/amount/AmountFactory.php public function create($amount, array $adjustmentAmounts = []) { $amountModel = $this->objectManager->create( self::DEFAULT_PRICE_AMOUNT_CLASS, [ 'amount' => **round($amount)**, 'adjustmentAmounts' => $adjustmentAmounts ] ); if (...


2

Try this code snippet !! This will convert current currency with base currency. you can give your (GBP) as current currency and get converted price. $_taxHelper = $this->helper('tax'); $_store = $_product->getStore(); $baseCurrencyCode = Mage::app()->getStore()->getBaseCurrencyCode(); $currentCurrencyCode = Mage::app()->getStore()->...


2

This is not configurable unless you use separate websites per base currency.


2

From what I'm seeing in Mage_Directory_Model_Currency_Import_Abstract and Mage_Directory_Model_Currency_Import_Webservicex and the whole Mage_Directory module, there is no dispatchEvent() method included. You could just hook on events from basic save/update methods then. You did not mention what you're trying to achieve but as a general advice, best ...


2

This happens by default - you have a base currency on which everything is configured and setup (product prices etc) and the other currencies the prices for which are calculated based on the current currency rate between the base. When an order is put through figures are stored against the order for all prices in both base and sale currency.


2

You are not completely right about baskets not being shared between websites. The reason is that normally Magento uses a specific Website scope (so Magento terminology) to refer to a specific website (so common web terminology). A website is bound to a domain, so this also implies each Website scope has its own domain. And because cookies can't be shared ...


2

Another approach to this would be using customer groups, you can then apply different pricing to each product depending on how they registered, you could have different registration forms or a dropdown to select which group they apply to. That would be of course if you wanted to share other things like shipping etc..


2

unfortunately, you can't set the scope to store/website level for a product. You have to manage this by editing the price for each store-view. When you edit the price per view, magento will properly override the default data with the one you defined in the view. For the problem with multiple stores on one domain: Magento supports this behaviour (https://...


2

The simplest way (although not necessarily the best), would be to iterate over the currencies you've chosen to enable on your store in price.phtml. At the top of price.phtml, just before the HTML, add $store = Mage::app()->getStore(); $currentCurrency = $store->getCurrentCurrencyCode(); $currencies = array(); $codes = Mage::app()->getStore()->...


2

Go to STORES > CONFIGURATION > Currency Setup choose Allowed Currencies you want to display Choose base and display currency in there. Save before leave STORES > Currency Rates and allow all currency in there


2

You need to set-up multiple websites, one for each currency (not just store views, complete websites) Then you will be able to change the store from the Configuration scope dropdown in settings, and un-check the checkbox(Use website) on the currency. Then you will be able to set different currencies for each of your stores.


2

Replace this : <?php if(count($this->getStores())>1): ?> <div class="form-language"> <ul id="select-language" title="<?php echo $this->__('Currency') ?>" class="dropDownMenu"> <li><a href=""><?php echo $this->__('Currency') ?></a> <ul> <?php foreach ($this-&...


2

"Product attributes are different in each country (description, images, price and currency - beware I need to set each price manually, not auto convert" Based on this sole requirement you are looking at individual websites per "site".


2

There are tons of tutorials on this subject on the web. You can try this or this To summarize the proccess: Create a two store views and name them "Language 1" and "Language 2" Install language packs for the languages you want or duplicate app/locale/en_US/* to app/locale/your_LUNGUAGE and translate the files yourself In System->Config->General->General->...


2

Please check these: Go to Stores >> Configuration >> General >> Currency Setup, then check how many currencies have you selected under Allowed Currencies. If there are more than one currency, then first you need to deselect currency which you don't want. Then click on Save Config button. Now go to Stores >> Currency Rates and check whether there are more ...


Only top voted, non community-wiki answers of a minimum length are eligible