• Resolved CarolLeung

    (@carolleung)


    Is it possible to have a quantity input box/slider for each sub-option such as “Hardware Parts”?

    The page I need help with: [log in to see the link]

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author moomooagency

    (@moomooagency)

    Why not? Just add these fields as custom options.

    Thread Starter CarolLeung

    (@carolleung)

    Backend Suboptions

    I don’t see any options to add custom fields in each suboption column, only custom css

    Plugin Author moomooagency

    (@moomooagency)

    I did not say you should add them as settings to suboptions. Just add normal custom options and use fields conditional logic.

    Thread Starter CarolLeung

    (@carolleung)

    I mean like how you can assign a value/price for each sub-option, you can assign a quantity for each sub-option, but instead of assigning a quantity in the backend for each sub-option, it can be input by the frontend user.

    Then we use conditional logic to calculate thetotal which is base price + (sub-option price x sub-option quantity set by user) + any additional selected options or sub-options values

    I don’t think that is possible using custom fields since each quantity is related to each sub-option in the cpo builder

    Plugin Author moomooagency

    (@moomooagency)

    Why not? I think it is possible. Relate custom options – text inputs – to your suboptions. Let’s say you have a checkboxes with 5 suboptions. So create 5 text inputs and display each only if the related suboption is chosen. Then use values of these inputs in the formula.

    Thread Starter CarolLeung

    (@carolleung)

    How do I display/apply the custom option I created to each sub-option, do I use the Css Class box?

    When creating a CPO option (new custom field) how do I specify it is text-input?

    Backend Suboptions

    Custom CPO Option

    (Disregard above, it was simpler than I thought)

    • This reply was modified 5 years, 1 month ago by CarolLeung.
    • This reply was modified 5 years, 1 month ago by CarolLeung.
    Thread Starter CarolLeung

    (@carolleung)

    No, nevermind, I think I figured it out

    Just needed to set another column at 50% with text inputs beside each sub-option and just conditional logic from there.

    Thank you

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Quantity Box for each suboption’ is closed to new replies.