magento-1.4

How to change rupee symbol

被刻印的时光 ゝ 提交于 2019-12-02 09:05:02
Hiii I am using magento 1.4,I want to change indian currency symbol Rs with new rupee symbol on frontend as well as backend. Anyone Can tell me about this??? Barbanet If I'm not wrong the symbol definitions can be found into lib/Zend/Locale/Data/characters.xml lib/Zend/Locale/Data/root.xml If you change those values then copy those files to your local code-pool app/code/local/Zend/Locale/Data/characters.xml app/code/local/Zend/Locale/Data/root.xml when done don't forget to clear cache rm -rf var/cache/* nazim10 Navigate to your magento root directory and open lib/Zend/Locale/Data/root.xml

Magento custom module date field saving date to one day before the selected date

纵然是瞬间 提交于 2019-12-02 03:52:46
i followed steps on this link to add a date field to my custom module : http://magentomechanic.blogspot.com/2010/01/to-add-custom-date-field-in-custom.html Everything went fine, except for the that when i select a date and save configurations, it returns me date one day before the selected one :( For Example : When i select 25 Feb , 2012 and save , it will save and return 24 Feb , 2012. Notice it saved one day before :( i get this when i print_r($model) in admin controller before save: [start_date] => 2012-01-24 16:00:00 // i set it to 25 but its saving 24 [end_date] => 2012-01-26 16:00:00 //

Magento display all categories on product view page with parent categories

大兔子大兔子 提交于 2019-12-01 14:47:32
Following on from this question: Display ALL categories that a product belongs to in Magento Is there a way to display the full category path (with links at each stage) rather than only displaying the final category that a product belongs to? I have this code so far... <?php $currentCatIds = $_product->getCategoryIds(); $categoryCollection = Mage::getResourceModel('catalog/category_collection') ->addAttributeToSelect('name') ->addAttributeToSelect('url') ->addAttributeToFilter('entity_id', $currentCatIds) ->addIsActiveFilter(); foreach($categoryCollection as $cat){ ?> <a href="<?php echo $cat-

conflicting two magento extension

瘦欲@ 提交于 2019-12-01 12:54:23
I have two same extension but both are using for a different-different purpose. Extension A Config.xml <config> <modules> <Mageworks_Fee> <version>0.1.5</version> </Mageworks_Fee> </modules> <global> <sales> <quote> <totals> <fee> <class>fee/sales_quote_address_total_fee</class> <renderer>fee/checkout_totals_fee</renderer> <admin_renderer>fee/adminhtml_sales_order_create_totals_fee</admin_renderer> </fee> </totals> </quote> <order_invoice> <totals> <fee> <class>fee/sales_order_total_invoice_fee</class> </fee> </totals> </order_invoice> <order_creditmemo> <totals> <fee> <class>fee/sales_order

Magento display all categories on product view page with parent categories

纵然是瞬间 提交于 2019-12-01 12:11:52
问题 Following on from this question: Display ALL categories that a product belongs to in Magento Is there a way to display the full category path (with links at each stage) rather than only displaying the final category that a product belongs to? I have this code so far... <?php $currentCatIds = $_product->getCategoryIds(); $categoryCollection = Mage::getResourceModel('catalog/category_collection') ->addAttributeToSelect('name') ->addAttributeToSelect('url') ->addAttributeToFilter('entity_id',

Magento Customer Grid - Mask Email address

落花浮王杯 提交于 2019-12-01 11:04:05
I have a requirement for call centre agents to search for a customer based on email address. But I don't want to show the email address in the customer grid unless they search for a email. How can I do this?? Magento Version: 1.4.1.1 Thank you in advance. Renon Stewart Write a custom module that extend: /app/code/core/Mage/Adminhtml/Block/Customer/Grid.php Read more @ How to get data for an entity (for example customer) from eav_attribute table to be shown in Customer Grid for admin (remove line with sales_order_grid) Copy '_prepareColumns()' method to your custom module and change $this-

Magento: Obtain Id for order, listening to the event checkout_onepage_controller_success_action

梦想与她 提交于 2019-12-01 09:39:06
When I look at the event checkout_onepage_controller_success_action and works, but I can not get the Id of the newly created order. Anyone have any idea?? Use magento-1.4.1.0 Thanks Hans Stevens The event is dispatched like this: Mage::dispatchEvent('checkout_onepage_controller_success_action', array('order_ids' => array($lastOrderId))); So to get the last orderId, simply make your observer method like this: public function orderSuccessEvent($observer) { $observer->getData('order_ids')); } This is an answer provided by Branko Ajzele and I've just successfully tested: $order = new Mage_Sales

Magento: Obtain Id for order, listening to the event checkout_onepage_controller_success_action

给你一囗甜甜゛ 提交于 2019-12-01 08:28:45
问题 When I look at the event checkout_onepage_controller_success_action and works, but I can not get the Id of the newly created order. Anyone have any idea?? Use magento-1.4.1.0 Thanks 回答1: The event is dispatched like this: Mage::dispatchEvent('checkout_onepage_controller_success_action', array('order_ids' => array($lastOrderId))); So to get the last orderId, simply make your observer method like this: public function orderSuccessEvent($observer) { $observer->getData('order_ids')); } 回答2: This

Magento Customer Grid - Mask Email address

非 Y 不嫁゛ 提交于 2019-12-01 08:07:44
问题 I have a requirement for call centre agents to search for a customer based on email address. But I don't want to show the email address in the customer grid unless they search for a email. How can I do this?? Magento Version: 1.4.1.1 Thank you in advance. 回答1: Write a custom module that extend: /app/code/core/Mage/Adminhtml/Block/Customer/Grid.php Read more @ How to get data for an entity (for example customer) from eav_attribute table to be shown in Customer Grid for admin (remove line with

Overridding a Shipping Method - What am I missing

佐手、 提交于 2019-12-01 05:43:58
I've written many many modules before but for some reason my shipping module won't override an exsiting Magneto shipping method. Is that allowed? What am I missing here? The module name shows up in the advanced tab of the configuration area, so it's getting loaded, but nothing is happening. Any hints? Code etc/modules/Ssi_Shipping.xml <?xml version="1.0"?> <config> <modules> <Ssi_Shipping> <active>true</active> <codepool>local</codepool> </Ssi_Shipping> </modules> </config> local/Ssi/Shipping/etc.xml <?xml version="1.0"?> <config> <modules> <Ssi_Shipping> <version>0.1.0</version> </Ssi