Reminder: before following this tutorial, make sure to understand the offer creation process first.
In the previous tutorial, we learned how to create offers for simple products. In this tutorial, we will learn how to create offers for variable products using native Woocommerce variations.
But wait! why do we call this “native Woocommerce variations“? Because Bundler also allows you to create your custom variations if you do not want to use default Woocommerce variations. This can be helpful if you want to create complex offers with multiple products because Bundler does not allow to create bundles of different products (yet 🙂 )
So, if your bundles are composed of the same product (and not a mix of different products), we recommend that you stick with using the native Woocommerce variations.
If however your bundles are a mix a different products, you need to use custom variations.
You can check this tutorial to learn more about Bundler custom variations.
Now let’s go back to Woocommerce variations.
Just like simple products, variable products have the same offer creation form, situated in the product’s admin page.
From an admin’s side of view, the setup of bundles for variable products is exactly the same as simple products. There are however some conditions to check before creating your offers:
- Variations have to be created before you create offers.
- Variations have to be available for purchase (and not out of stock).
- Variations have to have prices.
Please note that Bundler is compatible with both global attributes and custom attributes. So no need to worry about that!
That being said, let’s check out the Hoodie example for a better understanding. Here is what the front-end looks like:
As stated before, all the variations have been generated with prices and stock:
And here is the configuration on the offer creation form:
Pretty simple huh?