Product Bundles 2.0: Using Shopify’s Cart Transform API
Before September 2024, Shopify didn’t give developers tools to create bundled products. Giftship introduced Bundles 1.0 to fill this gap.
With Shopify’s new Cart Transform API, Giftship can now add bundles and bundle discounts directly to carts and checkout, making the process faster and more reliable.
Note: Shopify’s Cart Transform API currently removes line item properties from orders. This is a Shopify limitation, not a Giftship one. To keep bundle properties, go to Giftship Dashboard > Global Settings > Bundles and enable Persist Bundle Line Item Properties.
Benefits of Bundles 2.0
- Less code: Bundles display correct pricing in your theme’s cart without adding Giftship snippets.
- Grouped checkout: Bundled items now display neatly under the main product in checkout.
- More reliable: Server-side bundling reduces conflicts with other apps, themes, or scripts, and prevents customers from checking out with empty bundles due to browser navigation or slow loading.
How to Install Bundles 2.0
- Upgrade from Bundles 1.0
Remove any existing Giftship bundle snippets from your theme. Contact us if you need help. - Enable Bundles 2.0
In Giftship Dashboard > Global Settings > Bundles, turn on Bundles 2.0 and consider enabling Persist Bundle Line Item Properties to keep property data on orders. - Add Line Item Properties Snippet
Cart Transform handles pricing, but you’ll still need to install the line item properties snippet in your cart template:
- Snippet: giftship-cart-item-properties.liquid
- Instructions: Installing Product Bundle Snippets
Drawer Cart vs. Cart Page
If you use Giftship’s Drawer Cart, you don’t need to install any snippets.
Learn more: Drawer Cart Integration Guide
Need Help?
For questions about product bundles, email us at support@gist-apps.com.
t the background. That way, you could have a “full” and a “quick” guide. Would you like me to do that next?