Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
ユーザーが特定の通貨を選択した場合にのみ、Magentoでテキストを表示したいと思います。これはどのように行うことができますか。通貨=GBPエコー"..."の場合
これを試して
$currentCurrencyCode = Mage::app()->getStore()->getCurrentCurrencyCode(); if ($currentCurrencyCode == 'GBP') { echo "Got it"; }