Extensibility for delivery and shipping
Merchants can offer several different delivery methods in their Shopify checkout such as shipping, local pickup, and pickup points. This guide introduces ways to customize or add to the delivery methods and shipping options with extension points and functions.
How it works
Anchor link to section titled "How it works"You can customize and build additional functionality to delivery methods in Shopify checkout with the following methods:
- Extension points, using a checkout UI extension
- Delivery customizations, using a checkout function
Extension points
Anchor link to section titled "Extension points"If you're adding functionality or content to a delivery method, then you should use checkout UI extensions in extension points. There are static extension points located for all native delivery methods including shipping, local pickup, and pickup points.
The following example shows a custom field that collects delivery instructions and renders at the purchase.checkout.shipping-option-item.render-after extension point:
Delivery customizations
Anchor link to section titled "Delivery customizations"To hide, rename, or reorder shipping options, you must use a checkout function. Delivery customization functions are only applicable to shipping options and aren't compatible with local delivery, local pickup, or pickup points.
Developer tools and resources
Anchor link to section titled "Developer tools and resources"Explore the following developer tools and resources to get familiar with using checkout UI extensions and building delivery customizations:
- Use checkout UI extensions with delivery methods using a checkout UI extension
- Create a function that lets merchants rename a delivery option offered to their customers at checkout