dmk, this is done because you're setting up your option dependencies in a way that could make a product impossible to add to the cart depending on the option choices the customer made. Dependent Options is smart enough that it's trying to prevent this situation from possibly occurring and frustrating your customers.dmk wrote:I think the restriction, if a parent has a status of "must" in the form of two required values ??of options - wrong.
How can I fix it?
If you don't mind if this possibly happens edit dependent_options.xml and change:
Code: Select all
if (count($parent_option_values[$option_value_data['option_id']]) < 2) {
Code: Select all
if (count($parent_option_values[$option_value_data['option_id']]) < 1) {
As noted in the description, it doesn't combine options. It allows the standard select-type options to be conditionally displayed. The reason you can't have the same option value twice is because the current system wouldn't know which one you're referring to if it was set as a parent for another option value (there are also other reasons this is problematic with the way the system works but they're very complex).kurta wrote:is the same thing that I was wondering.
This extension seemed to be combine multiple options, but the limitations of the use prevent.
I'm currently working on a rewrite of Dependent Options between all my other work which will get around some of these issues (two hours on it last night) but my time for big projects is extremely limited right now.