소스 검색

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) {