magento-1.4

How to change rupee symbol

泪湿孤枕 提交于 2019-12-20 06:40:05
问题 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??? 回答1: 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

conflicting two magento extension

孤人 提交于 2019-12-19 11:39:32
问题 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

Overridding a Shipping Method - What am I missing

半世苍凉 提交于 2019-12-19 06:58:11
问题 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

Overridding a Shipping Method - What am I missing

孤街醉人 提交于 2019-12-19 06:57:16
问题 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

How do I know whether my Config.xml file is working in Magento?

守給你的承諾、 提交于 2019-12-19 05:08:06
问题 I have created a sample module, but I am not sure if its /module/etc/config.xml file is getting loaded. I am sure there is a problem in that only. Is there a way that I can find out whether this file is getting loaded? 回答1: If you have a good debugger Xdebug or Zend Debugger, you can check the variable $mergeToObject in the method loadModulesConfiguration of the class Mage_Core_Model_Config . Or the bad guy way :-), you die the script at the same place but just before return $mergeToObject;

Magento - How do I add an invoice fee to an order during checkout process

半腔热情 提交于 2019-12-18 12:03:26
问题 How do I add an invoice fee to an order with my payment module? I guess this should be done during the checkout process through my payment method model. Perhaps I should create and add an item/product to the cart/quote/order object? I don't know how to do any of these things though. Please help 回答1: Although possible it is not for the feint-hearted. Here is a rough run-down of the steps to add a line to the totals area, which will then add your fee to the grand total. In the config node

Magento Email Template If Statements

点点圈 提交于 2019-12-18 10:35:46
问题 The Magento Email Template If Statements aren't evaluating to true when I expect them to. Can someone tell me what's wrong? Take a look at the following code: {{var customer.group_id}} {{if customer.group_id}}Print true{{else}}Print false{{/if}} {{if customer.group_id==4}}Print true{{else}}Print false{{/if}} {{if customer.group_id=4}}Print true{{else}}Print false{{/if}} {{if customer.group_id eq 4}}Print true{{else}}Print false{{/if}} The output is 4 Print True Print False Print False Print

Best way to output ajax data from a Magento Admin Extension

╄→гoц情女王★ 提交于 2019-12-18 06:19:38
问题 I'm writing a Magento Admin extension that has some ajax callbacks in it. Up until now I've been echoing the json I'm feeding back through the ajax call with a simple echo statement in the controller. It "works" but I get a bunch of errors like this in my log file: 2010-12-14T15:37:05+00:00 DEBUG (7): HEADERS ALREADY SENT: [0] /home/simplifiedsafety/www/store/app/code/core/Mage/Core/Controller/Response/Http.php:44 [1] /home/simplifiedsafety/www/store/lib/Zend/Controller/Response/Abstract.php

can a magento adminhtml field depend on more then one field or value?

我的梦境 提交于 2019-12-18 05:04:36
问题 In http://alanstorm.com/magento_system_configuration_in_depth_tutorial @AlanStorm gives a very good tutorial for system configuration. He also explains how to use a <depends> tag to make a field show only when a specific value is set in another field. My Q is how can I make fieldB visible if field A has either value V1 or V2. and are there any other options with the <depends> ? Also If someone knows where in magento's code this is implemented I would also like to have a look at the code

Make all store images the base, small and thumbnail images in Magento?

给你一囗甜甜゛ 提交于 2019-12-17 22:20:26
问题 I have a Magento store that has around 3,000 products. Almost all of these products have a single image attached to it. For some reason, even though I set the small image and thumbnail image as the same as the base image in the import CSV file, only the base image is set for each product. This means that when you search for a product you get a placeholder - but once you go into the product page you get the correct image. This can be easily remedied by going into the product admin page and