WooCommerce Conditional Variation Display
-
I have a product that has a multitude of options. We want to only display some options if another is selected. For example the client sells custom auto dashboards. The user can select a color, gauge style, and a full kit (comes with everything needed) or a custom kit. If they select the custom kit they need to be presented with new options (variations). Inside of those options are some based on which gauge (mechanical/electrical) they chose. Each of the additional variations should have an additional price to them.
Here is what I mean, the user picks one of the following options:
Option 1:
Dash color: Black
Gauge style: Gauge A (mechanical)
Kit Options: Full kit
(don’t display anything else)Option 2:
Dash color: Black
Gauge style: Gauge A (mechanical)
Kit Options: Custom kitBecause Custom Kit was selected we need to then display the items below:
Wiring Harness, Speedo, LED kit
Also since a mechanical gauge was selected we need to display the option for:
Mechanical Cable AdapterOption 3:
Dash color: Black
Gauge style: Gauge C (electrical)
Kit Options: Custom kitBecause Custom Kit was selected we need to then display the items below:
Wiring Harness, Speedo, LED kit
Also since an electrical gauge was selected we need to display the options for:
Sending Unit, GPS, Electrical Cable AdapterAn if statement would be something like:
if Full Kit is selected display no other options;
if Custom Kit is selected display options for: Wiring Harness, Speedo, LED kit;
if Electrical Gauge and Custom Kit is selected display options for: Wiring Harness, Speedo, LED kit, Sending Unit, GPS, Electrical Cable Adapter;
if Mechanical Gauge and Custom Kit is selected display options for Wiring Harness, Speedo, LED kit, Mechanical Cable Adapter;
if Digital Gauge and Custom kit is selected display options for…I hope these examples make it clear what we need. Now the question is, is there a plugin that can do this in WooCommerce?
The topic ‘WooCommerce Conditional Variation Display’ is closed to new replies.