Hi All,
I need to move arabic currency name "QAR149.00" from left to "149.00QAR" in my magento 1.9.2.4. Have tried several techniques but none working.
Urgent responce is highly appricated.
Thank you
@TMDesignz You need to track "currency_display_options_forming" event for this... Make observer class and write below code.
config.xml
<events> <currency_display_options_forming> <observers> <namespace_module_format_price> <type>singleton</type> <class>Namespace_Module_Model_Observer_FormatPrice</class> <method>formatPrice</method> </namespace_module_format_price> </observers> </currency_display_options_forming> </events>
observer.php
class Namespace_Module_Model_Observer_FormatPrice { public function formatPrice(Varien_Event_Observer $observer) { $event = $observer->getEvent(); $options = $event->getCurrencyOptions(); $options->setData(array( 'position' => Zend_Currency::RIGHT )); } }
Cheers
Sure ill test this code. Will update you.