Answers.Body: <p>You could make 'pickup from store' a shipping method. </p>
  
  <p>Then in your checkout form, if a visitor chooses that shipping method, make sure you don't show the shipping address form, and add a hidden input to set <code>order.shippingSameAsBilling</code> to true. Commerce will then populate the shipping address with the billing address details. Code is untested, but it should be something like:</p>
  
  <pre><code>{% if order.shippingMethodHandle == 'pickupInStore' %}
      {{ hiddenInput('shippingSameAsBilling', 1) }}
  {% else %}
      {# Show the shipping address form #}
  {% endif %}
  </code></pre>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2020-02-19T20:29:30.023Z
Answers.LastActivityDate: 2020-02-19T20:29:30.023Z
Answers.UserDisplayName: Paul
Body: <p>We're setting up a Craft Commerce site and the merchant wants to give the option to the customer to pickup the order from their physical store instead of shipping it to a specified address.</p>
  
  <p>If the customer selects that option then they shouldn't have to provide a shipping address or billing address. </p>
  
  <p>Is this possible in Craft Commerce? If not is there a plugin or a suggested way to do this?</p>
  
Tags: <plugin-craftcommerce><plugin-craftcommerce3>
Title: Is it possible to provide an option to pick up an order from the physical store in Craft Commerce?
ThreadText: # Is it possible to provide an option to pick up an order from the physical store in Craft Commerce?
  
  (Asked by: username_0 on 2020-02-19)
  
  We're setting up a Craft Commerce site and the merchant wants to give the option to the customer to pickup the order from their physical store instead of shipping it to a specified address.
  
  If the customer selects that option then they shouldn't have to provide a shipping address or billing address.
  
  Is this possible in Craft Commerce? If not is there a plugin or a suggested way to do this?
  
  **Tags:** plugin-craftcommerce, plugin-craftcommerce3
  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_1 on 2020-02-19. Score: 2
  
  You could make 'pickup from store' a shipping method.
  
  Then in your checkout form, if a visitor chooses that shipping method, make sure you don't show the shipping address form, and add a hidden input to set `order.shippingSameAsBilling` to true. Commerce will then populate the shipping address with the billing address details. Code is untested, but it should be something like:
  
  ```
  {% if order.shippingMethodHandle == 'pickupInStore' %}
      {{ hiddenInput('shippingSameAsBilling', 1) }}
  {% else %}
      {# Show the shipping address form #}
  {% endif %}
  
  ```
  
  
  ---
  
  