在文件shipping_method/available.phtml中,有没有办法获得单选按钮的值:billing[use_for_shipping],它出现在Checkout on page billing.phtml页面上。?
我向billing[use_for_shipping]单选按钮组添加了一个自定义选项,并希望根据用户选择的内容删除某些发货选项。
发布于 2012-01-25 21:53:29
是的,有
$quote->getBillingAddress()->getUseForShipping();
$quote->getShippingAddress()->getSameAsBilling();https://stackoverflow.com/questions/9003311
复制相似问题