Hi,
Is it possible to add store pick up option in shipping tab checkout page in new checkout extensibility.
Main issue: adding a “store pickup” option in the Shipping step using Shopify’s new checkout extensibility.
Status: One response says it’s possible and outlines an implementation via Shopify APIs; no disagreement or confirmation from the original poster. The thread appears open without verified outcome.
Approach provided:
Clarifications:
Outcome: Guidance provided; no final decision or confirmation of implementation success within the thread.
Hi,
Is it possible to add store pick up option in shipping tab checkout page in new checkout extensibility.
hello there
Yes, it is possible to add a store pickup option in the shipping tab of the checkout page using the new checkout extensibility. You can do this by creating a custom shipping method that represents the store pickup option, and then adding it to the available shipping rates for the customer to select during checkout.
Create a custom shipping method in your app, which represents the store pickup option. This can be done using the POST /admin/api/2022-01/carrier_services.json endpoint of the Shopify API. Be sure to set the service_discovery property to false to prevent Shopify from attempting to discover and enable the carrier service.
In the checkout process, when the customer reaches the shipping step, fetch the list of available shipping rates using the GET /api/2022-01/checkout.json endpoint.
Add the custom shipping method created in step 1 to the list of available shipping rates, along with the appropriate shipping rate price.
When the customer selects the store pickup option, use the PATCH /api/2022-01/checkout.json endpoint to update the shipping line on the order with the custom shipping method and price.
Modify the checkout confirmation page to display the details of the store pickup order, including the store location and pickup instructions.