I am looking for a developer that can craft for me custom index.liquid, products.liquid and cart.liquid to accommodate this implementation.
If interested, please email me at web_projects[at]mac.com
Given three collections: Main Products, Sub Products, and Accessories:
Note that this means that only one Main Product and one Sub-product can be added to the cart. On the other hand, one or more accessories can be added to the cart.
In the cart page, the individual "remove" links for each product need to be removed, and instead have a button "Reset and start again" that will clear the cart of all items.
To add to the fun, there are a few other things needed.
Basically, there is a one-to-one relationship between Sub Products and Main Products, and a one-to-one or one-to-many between Accessories and Main Products. This can be implemented via metafields.
The checkout button should be hidden until there is at least a Main Product and a Sub Product in the cart.
The sidebar.liquid should display the current items in the cart like this when cart is empty:
Please select a Main Product
... and like this when the customer has made their choices
Title of Product
Title of Sub Product
Title of accessory 1
Title of accessory 2