Product bundles are a great way to entice customers with a set of products sold together at a discounted price. The Sync Inventory command can be used to synchronize inventory for product bundles. Products Assistant monitors your orders and when it sees a variant that has been configured it will reduce the inventory of any associated variants by the quantity ordered.
- Start by creating a new task, and selecting the "Sync Inventory" command.
- Specify the bundle product and variant(s). Note: you can hold down the control key to select multiple variants.
- Choose up to 10 component products and their corresponding variant.
How to set up a Bundled Product
There are 2 ways you can set up a product bundles: as additional variants on the base product, or as a separate products.
Option 1: Additional Variants
With this option you set up the bundle components as additional variants on the base product with the inventory quantity initially set the same as the base product variant. The Sync Inventory task is then configured to update these additional variants. If you set it up this way set the inventory policy of the additional variants should be set to Don't track inventory (since Shopify Assistant is now doing it) and the base variant should be set to Shopify tracks this product's inventory.
For example, if you sell a camera you would have one variant for the camera itself called "Camera". If you now offer a bundle that includes a case you would create a new variant called "Camera + Case" and create a Sync Inventory task with the bundle product as the camera + first variant, and the components would be the second variant. When an order comes through for the bundle it will update the bundle product (camera only).
Option 2: Separate Products
If you sell a bundle that is a separate product, you create the new product and specify the bundle as a variant, however you do not need to track inventory on the bundled product. Simply configure which product variants should be updated when the order is received.
What about cancellations?
If you cancel an order the sync is reversed. E.g. if you have a product bundle A with component products B and C and cancel an order containing A, then product B and C will get an increase in inventory equal to the quantity that was originally purchased.
Can I show a variant as sold out if the associated variant is sold out?
Yes. There is a script available that works with the standard Shopify.OptionSelectors that will show sold-out if any of the target variants are sold out.
Please see this gist: https://gist.github.com/gterrill/db1f4d9249fbf42d33b6d51d70394674
Note: This script was updated July 6, 2017. The previous version relied on the Shopify product feed to include the inventory quantity however that is no longer available. If you installed the previous version you will need to replace the contents with the latest bundled.liquid snippet.
*If you are using the new Bundled feature rather than tasks, you can find the instructions for updating your theme below: