• Resolved hoakinn25

    (@hoakinn25)


    Hello! Faced a problem and want to describe it to you:
    I have Form Structure:
    Screenshot
    Selector_1
    – Option_1
    Labels: special
    ———————-
    Selector_2
    – Special_Option_2
    Required Labels: special
    ———————-
    Selector_3
    – Option_3
    Labels: special

    Description of the problem:

    1. Select the Option_1 ➜ Special_Option_2 is available (right behavior)
    2. Select the Option_3 ➜ Special_Option_2 is not available BUT (wrong behavior)

    Video – https://drive.google.com/file/d/1W3NvFBY0Ab8QZZNlWu5_JdA21v_EBJom/view?usp=sharing

    For some reason, if you select an option with the desired label, but it will be located lower than the option with the required label, then the latter cannot be selected.

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author vividcolorsjp

    (@vividcolorsjp)

    Hello,
    Thank you for the detailed explanation.

    Labels are valid only for items below the item they are assigned at.
    Parameters other than labels, such as quantities entered by the user, are treated as the same.
    Because forms that let the user go back is hard-to-use, especially in the Wizard navigation.

    Can you change the order of Selector_2 and Selector_3 ?

    Thread Starter hoakinn25

    (@hoakinn25)

    Thanks for the answer. I can change the order, but above I specially simplified the example. In reality, the conditions are more complicated and i have a promlem:

    Selector_0 – «Chech if you’re a new client»
    – Option_0
    Labels: new_client
    ——–
    Selector_1
    – Option_1
    – Price: 70
    Labels: special, service_sale_on
    ——–
    Selector_2
    – Option_2
    – Price: 100
    Labels: special
    ——–
    Selector_3
    – Special_Option_3
    – Price: 100
    Labels: service_sale_on
    Required Labels: special

    ➤ Price Watcher: 100 Less Equal X
    Labels: large-price
    ➤ Auto item: Discount
    Required Labels: large-price, new_client, service_sale_on

    Conditions №1
    if option with label «special» is selected then you can choose Special_Option_3 (now the order is correct and it works well)
    Conditions №2
    if select option_o with label «new_client» + select option with label «service_sale_on» + the order amount >= 100 YOU will get a discoun -50 USD (label «large-price»)

    Description of the problem:

    For Option_2, all conditions cannot work at the same time.

    In the example above, condition 2 is not work. For option_2 is not attached label «service_sale_on» and it is assumed that the price of this option will not be taken into account. BUT If you select Option_2 and Option_1 – 100 + 70 YOU WILL get a discount (-50) because Option_1 has the label.
    If we put Selector_2 at the very end, condition 2 will work good because Price Watcher and Auto do not act on it. But in this case, condition 1 stops working because we broke the order.

    Plugin Author vividcolorsjp

    (@vividcolorsjp)

    You want to sum up the price of options labeled “service_sale_on” from selected options, right?

    Labels are attached to not Options but conditions.
    So you cannot sum up selected options with some label.

    The form below will meet both conditions 1 and 2. It is ugly though.

    Selector_0
    – Option_0 (Labels: new_client)

    Selector_1
    – Option_1 $70 (Labels: special, service_sale_on)

    Selector_2
    – Option_2 $0 (Labels: option_2_selected, special)
    **Only to let users select**

    Selector_3
    – Special_Option_3 $100 (Labels: service_sale_on; Required Labels: special)

    Price-Watcher $100 <= X (Labels: large-price)

    Auto-Item: $100 (Required Labels: option_2_selected)
    **adding Option_2 here**

    Auto-Item: $-50 (Required Labels: large-price, new_client, service_sale_on)

    Thread Starter hoakinn25

    (@hoakinn25)

    Thank you! It works. For visual display i added price as html in field «Note» for option and made a few changes in css styles. As a result there is no $0.

    Plugin Author vividcolorsjp

    (@vividcolorsjp)

    That is the great handling!
    I am glad that you went well.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Problem with labeling logic’ is closed to new replies.