0
我想仅在用户选择特定货币时才在Magento中显示一些文本。这怎么能做到,即。如果货币= GBP回声 “......”Magento - 如果货币等于
我想仅在用户选择特定货币时才在Magento中显示一些文本。这怎么能做到,即。如果货币= GBP回声 “......”Magento - 如果货币等于
试试这个
$currentCurrencyCode = Mage::app()->getStore()->getCurrentCurrencyCode();
if ($currentCurrencyCode == 'GBP') {
echo "Got it";
}