Hi everyone,
Is the following scenario possible to achieve with VirtueMart?
I have base products — for example, "bicycles".
Then I have accessory products such as lights, mudguards, bells, installation/setup fees, etc. These are regular VirtueMart products, and in some cases they may have a 0-value price (for example "gift products"). All these products can also be purchased separately — for example, a customer can buy only a bicycle light.
What I want to achieve:
On the bicycle product page I want to display the compatible accessories. The linking between the bike and the accessories would be done manually. The customer should be able to choose which accessories they want to add with tha base product.
So far it seems that this can be handled with the "Extra Product" plugin:
https://shop.st42.fr/en/products/extra-product.htm
But here's the catch:
I need to define mandatory accessories.
Example:
The bicycle cannot be purchased without a setup/installation fee, or without a bell (just fictional examples).
For these mandatory accessories:
The checkbox should be pre-checked.
The customer should NOT be able to uncheck it — not on the product page, and not in the cart.
If the main product is removed from the cart, the linked accessories should also be removed.
(As an acceptable fallback: if this can't be done cleanly, I'm fine with completely clearing the cart when the main product is removed — 99.99% of customers buy only one main product anyway.)
Accessory quantities should follow the main product quantity. Customers shouldn't be able to change accessory quantities independently.
Is there any existing solution, plugin for this, or would this require a fully custom development?
Thanks in advance!