Why not? Just add these fields as custom options.
Backend Suboptions
I don’t see any options to add custom fields in each suboption column, only custom css
I did not say you should add them as settings to suboptions. Just add normal custom options and use fields conditional logic.
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
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.
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 6 years, 7 months ago by
CarolLeung.
-
This reply was modified 6 years, 7 months ago by
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