2013-03-07 2 views
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>을 동적으로 변경할 수 있습니까? 나는 잠시 동안 수색했지만 어떤 해결책도 얻지 못했습니다.

답변

1

당신은 배송 방법의 이름과 기타 설정을 변경하려면 탭

System -> Configuration -> Shipping methods 

에서 관리자에 보일 것입니다.

여기에 표시되는 구성은 지정된 배송 방법의 기본 설정입니다. 구성이 추가되면 (system.xml에서) config.xml에서 기본 설정을 찾습니다.

이렇게해도 작동하지 않으면 캐시가 비어 있습니다!

+0

그래, 맞아! 기본 태그 아래의 요소는 관리자가 편집 할 수 있다는 것을 잊어 버렸습니다! magento에 다만 초보자 ... thats y .. :) –

관련 문제