What you can do is use a bundle app whereby the components are managed in the background so the product a buyer purchases is described as containing 2 different items but during checkout only the one order line displays. This means any multiples of the bundle are also multiples of each component.
There are 3 main features of our app that could help achieve what you are after:
1. Discount Code Compatible
As the bundle is shown as one order line in checkout we don’t need to use any discount codes to adjust price. This lets the buyer add a discount code themselves that applies to whole order.
2. Inventory Management
Our app lets you connect up products to correct SKUs and we then update the bundle inventory based on the component stock level.
3. Order Fulfilment
When you sell one of the bundles the master stock level won’t reduce automatically. What our app does is update the order post purchase by replacing the order line with the Single SKU as order line which then reduces that stock. This then feeds into point 1 above where it updates all linked variants.
If you need help in setting up and testing please get in touch. You can also find our guide here:
Thanks for the plugin tips. I am looking for a far more basic solution if one exists, i.e. I just want specific products to be added in ‘tandem’ so as to ensure a customer cannot buy 2 pcs of X without also having 2 pcs of Y in his cart.
Just in case you’re looking for an app, our app is able to meet your needs as it is primarily a bundle inventory management system so it will also be able to track the SKUs for variants of each product.
The bundle inventory is automatically set based on the available inventories of the bundle item(s), including the inventories of the variants. Proper quantity will also be taken out of the inventory of each bundle that is being purchased.