How to Show Compounded Options Costs

I posted this on the WIX forum and was told it needed to be posted here. Apparently the grossly primitive, undeveloped WIX environment doesn’t allow this common feature, so I have to get involved in Velo, Java, etc.

I have products that have multiple options that can be selected, then added to the base cost of the product. For instance, the basic product costs is 2000.00, with no options. Selecting option “A” would add 200.00 to the base cost. Selecting option "B would add 100.00. Selecting both options “A” and option “B” would add 300.00, for a total of 2300.00 for the purchase. I’m not seeing a way in the product setup area to accomplish this combined “A” and “B” with separate, selectable options. What sort of code do I need to install to make that happen, and how would I do that?

For the real-life demo, go to the link below (disregard the crap temp photo) and click the Add to Cart button. The options will show “Active Pickups” and “Chambered,” which can be purchased separately, or combined. Is there a way to select both and have the combined total show in the cart?

https://www.mvguitars-build.com/home-3-1-1-1-3-1-1-1

Thanks.

Either way you’’ want to add another option that’s basically “Product with both A and B” that cost 2300.

If you want to do it with Velo you’ll have to make your own selection screen. Easiest way would probably be adding a list of checkboxes, then according to which are checked. Then use
https://www.wix.com/velo/reference/wix-stores/cart/addproducts
before opening cart with