瀏覽代碼

useForShipping

chengwl 19 小時之前
父節點
當前提交
855ced9142
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. 1 0
      packages/Webkul/BagistoApi/src/State/CheckoutProcessor.php

+ 1 - 0
packages/Webkul/BagistoApi/src/State/CheckoutProcessor.php

@@ -146,6 +146,7 @@ class CheckoutProcessor implements ProcessorInterface
                 $billingAddress->city = $input->billingCity;
                 $billingAddress->postcode = $input->billingPostcode;
                 $billingAddress->phone = $input->billingPhoneNumber;
+                $billingAddress->use_for_shipping = $input->useForShipping;
                 $billingAddress->save();
 
                 if ($input->billingEmail && ! $cart->customer_email) {