0
我們如何更改一個magento模塊的方法名稱。我們如何更改一個magento模塊的方法名稱?
即,我有一個模塊來按日期向客戶交付產品。其config.xml定義的方法名稱爲
<default>
<carriers>
<deliverybydate>
<active>0</active>
<model>deliverybydate/carrier_deliverybydate</model>
<title>Delivery date of your choice</title>
<name>Delivery By Date</name>
<deliveridatenote>Delivery on date of your choice</deliveridatenote>
<deliverydate>1</deliverydate>
<deliverytime>0</deliverytime>
<deliverydatetoday>0</deliverydatetoday>
<deliverydaterange>7</deliverydaterange>
<deliverytimerange>08.00-09.00 AM,</deliverytimerange>
<price>10.00</price>
<specificerrmsg>This shipping method is currently unavailable. If you would like to ship using this shipping method, please contact us.</specificerrmsg>
</deliverybydate>
</carriers>
</default>
我們如何動態更改<name>Delivery By Date</name>
。我搜索了一會兒,但沒有得到任何解決方案。
沒錯!我忘了,默認標籤下的元素可以由管理員編輯!只是新手到magento ...這就是.. :) – 2013-03-07 08:23:42