Explorar el Código

useForShipping

chengwl hace 18 horas
padre
commit
855ced9142
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  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) {