Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Addon product

I'm trying to figure out what the best way is to implement what I'm calling an "addon product".

The way it works is that when a customer adds the Essentials Shakes to their cart, we want to prompt them to add a Shaker Bottle (it's like a bottle that makes it easy to make shakes) to their order as well for $5.

I would have used a grouped product for this, but you can't combine configurable and grouped products, plus there are issues with subscription orders as well.

So what I'm leaning towards now is maybe a modal that pops up after they add the Essentials to their cart which prompts them to add this other product to their cart.

Somebody has to have run into this use case before.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment