Magento 2:如何仅在结帐的收货地址中添加新字段

想在结帐的收货地址中添加一些自定义字段。我只有来宾结帐,没有登录过程。还希望将字段保存在db中,并在sales-> orders送货地址中检索数据。

我尝试了https://devdocs.magento.com/guides/v2.3/howdoi/checkout/checkout_new_field.html 但是在mixin js / action / set-shipping-information中, shippingAddress['extension_attributes']['custom_field'] = shippingAddress.customAttributes['custom_field']; 正在获得未定义的值。

mgdbrrr 回答:Magento 2:如何仅在结帐的收货地址中添加新字段

暂时没有好的解决方案,如果你有好的解决方案,请发邮件至:iooj@foxmail.com
本文链接:https://www.f2er.com/2806340.html

大家都在问