Onepageチェックアウトのステップ3の配送方法で、顧客の配送先住所属性である変数を呼び出す必要があります
ファイル内
app / design / frontend / default / default / template / deliverydate / onepage / deliverydate.phtml
私はすでにこの変数を次のように呼び出すことで成功したテストを行いました:
$numero_point_relais = $this->getCustomer()->getPrimaryShippingAddress()->getNumpr();
の
app / design / frontend / default / default / template / checkout / onepage / shipping.phtml
とで
app / design / frontend / default / default / template / dull / addressfields / onepage / shipping.phtml
しかし、php echo $ this-> getChildHtml('deliverydate')を使用してonepage/shipping_method.phtmlで呼び出されるdeliverydate.phtmlでこの変数を呼び出すことはできません。
どうやってやるの ?$ numero_point_relaisをグローバルにしますか?どのように ?モジュールを作成しますか?それとももっと簡単な方法はありますか?
ご回答有難うございます