All You Need to Know About Magento 2 Dependent Custom Options

Magento 2 dependencies

Reading Time: 7 minutes
9. In the upper-right corner, click Save & Close.
You are selling t-shirts that come in blue, red, and yellow. There are different sizes available for each color option. If the customer chooses red, they will see XS and M sizes available for the t-shirt. If the customer chooses a blue t-shirt, M size only will get displayed as it’s the only size left for the selected color.
c. On the left, click the Add Value button to add one option value. You can repeat this step to add as many option values as required.
Dependencies can be often referred to as conditional logic. They describe the relationship between parent and child options.
For example, it can be an iPad if you are using the admin demo.

magento 2 module dependencies

For example, it can be the following option value―Extended Warranty.

3.To access all major product options configurations, scroll down and open the Customizable Options tab. 

What are Dependent Custom Options?

Here’s what we’ve got on the frontend:
Whether you choose a Magento 2 dependent custom options extension free or paid, third-party Magento 2 extensions are required to set up conditional logic.
According to the 60×60 rule, 60% of customers are likely to purchase an additional item that is worth 60% of the price that they’ve just purchased in your store (cross-selling).

Custom Options

dependent custom options

See the illustration to this paragraph to better visualize what Magento dependencies are.
Have we managed to get you confused?
Dependencies are the relationship between parent and child product options. 

  • Color
  • Size
  • Material
  • Weight
  • Dimensions
  • Custom text

Here are some of the goals that you can achieve:

magento dependent custom options extension

Parent/Child Options

magento 2 supports dependent custom options

1.In the left pane, on the CATALOG tab, click Products.
What steps should you take?
Product options dependence allows for achieving specific marketing and sales goals by establishing certain strings of logic.
Product options dependence allows for achieving specific marketing and sales goals by establishing certain strings of logic.
Product options dependence allows for achieving specific marketing and sales goals by establishing certain strings of logic.
Why not adopt these strategies in product options?
5. To set any value as default and make it ticked off on the frontend, use the Is Default toggle.

Benefits of Dependency Injection in Magento 2

dependency injection in magento 2

***
Magento 2 supports dependent custom options, but you will need to opt for a third-party solution to achieve that.
The Advanced Product Options (APO) extension allows expanding the core functionality drastically.
For example, it can be an iPad option.
Be it offering product variants at a lower price or giving away free stuff that follows up the choice of a specific option.
7. To choose between OR and AND dependencies, click the Dependency Type arrow. By default, the OR setting is enabled.

  • Upselling. A newer product version with a valuable freebie can be a game-changer.
  • Cross-selling. If you are selling a cell-phone, for example, why not include offering customers an option to add a case, engraving, ear pods, etc.?
  • Product promotion. Specific product variants can be on sale.
  • Sales stimulation. Specific product choices can go with a gift.
  • Increased order value. You get to sell more items, include extra services and gifts, etc.

There are many marketing activities that help stimulate sales of specific product options. 
d. On the right, click the Add Option button.
Some product options sell well. Others sell worse.
This article describes how to create Magento 2 dependency custom options and how to apply product variants to items in your catalog using the Product Options extension.
4.To add product options with values, do the following:
1.In the left pane, on the CATALOG tab, click Products.
Table of Contents

Use Case #1. Dependencies to Promote Items

Let’s dig deeper into the topic and clarify all the related terms first.
AND dependency is such a relationship between Magento 2 dependent attributes when a specific option value gets displayed if ALL predefined parent options are selected.
Upselling is undoubtedly an art.
Source: Researchgate
Magento 2 module dependencies functionality that our extension adds allows for pursuing the set marketing goal with ease.
Here’s how the configurations look in the backend:
h. In the Option Title field, name the option as Warranty. You can specify its type (Checkbox) and sort order here.

  • If you do not use APO yet, open its admin demo.
  • If you already use our dependent custom options for Magento 2, log in to your admin panel.

h. In the Option Title field, name the option as Warranty. You can specify its type (Checkbox) and sort order here.

  • If you do not use APO yet, open its admin demo.
  • If you already use our APO, log in to the admin panel.

Dependencies help turn the product option display into a strategy.
4.To add product options with values, do the following:
In our example, we will set OR dependency for iPad Pro; OR dependency with iPad Pro parent option for Extended Warranty, and OR dependency with iPad Pro parent option for all Free Case Options.
Yes.
e. In the Option Title field, name the option as Gift Wrap. You can specify its type (Checkbox) and sort order here.
d. On the right, click the Add Option button to add more options (2nd product option).
7. To choose between OR and AND dependencies, click the Dependency Type arrow. By default, the OR setting is enabled.
c. On the left, click the Add Value button to add one option value. You can repeat this step to add as many option values as required.
The configuration logic would be similar to the procedure described in use case #1. In this example, we will have three product variants (iPad, color option, and warranty) with values.
a. On the right, click the Add Option button.
Remember to use the Checkbox option type to allow using multiple options and the Radio Buttons type if only one option should be made available for selection.
dependent custom options for magento 2

magento 2 dependent custom options extension free
magento 2 module dependency
magento dependencies
magento 2 dependent custom options
magento 2 module dependencies

e. In the Option Title field, name the option as Colors. You can specify its type (Radio Buttons) and sort order here.
Well-visualized. Intuitive. Comprehensive.
Let’s take a closer look at some Magento 2 dependency injection examples, and determine what actions should be taken to configure the Magento dependent custom options extension and thus achieve specific use cases.
Before you begin:

dependent custom options

Final Thoughts

For example, it can be setting the colors for the bag: black, white, blue. The Dropdownoption type.
Size, color, dimensions, custom text…The shopper expects to have it all when they come to the product page.
Under such a scenario, the t-shirt colors would be parent options. The available sizes would be the child options.
Mageworx APO
OR dependency is such a relationship between Magento 2 dependent attributes when a specific option value gets displayed if ANY of parent options is selected.
Your product options must satisfy these requirements.
g. On the right, click the Add Option button to add more options (3rd product option).
2.From the available products list, select an item you wish to apply the dependency to, and then click Edit on the right.
Procedure: