Wix store - selecting multiple options at once

Hi.
Let’s say I want to buy 4of the same item but I want to buy all the colors available:
Red, Blue, Green, Yellow
Then I want the user to have an option to click on and have an automatic discount without a coupon (can do this by creating another option that changes the price to a discounted one in the product option value manager)

As it stands, this is not possible to do in the same product page due to not being able to select multiple options (colors) and calculate the price accordingly.

*** As a work around, I thought about creating check boxes in a custom product page and adding the code that populates the checked boxes’ info into a text input field that is connected to customTextField field in the store database. So I could collect the selected color values in a manual fashion and let the buyer only select the quantity for the price calculation. Unfortunately the field is Read Only :frowning:

If you understand the logic here and where I am falling short and if you have a code or a work around I’d greatly appreciate it.

Thank you.

Was this ever solved? I’m running in to the same problem with a client’s e-commerce website. Thanks!

Listen to “add to cart” event, setup a database to set the rules (what product parameters to trigger, the coupon code that needs to apply), query the database and apply using the applyCoupon() in the cart namespace.

Can’t “preview” the changed price before add to cart unless you built a custom one.

Don’t work without code.