[Plugin: Woocommerce] text beside quantity selector based on selected variation
-
Hi guys!
Any idea how I can add text (that changes based on the variation selected) beside the Woocommerce single product page quantity selector?
I have the following attributes/variations now:
Size – Size A and Size B
Units – Box and CaseI want the title “Box” or “Case” to display next to the quantity selector on the single product page.
If the user selects “Box”, the text “Box” would appear next to the quantity selector
If the user selects “Case”, the text “Case” would appear next to the quantity selector
Any idea how I can achieve this?
Thank you!
A similar topic has been resolved. But the solution is only for static text beside the quantity selector. No mention of text changing based on the variation selected. Here is the topic link: https://ww.wp.xz.cn/support/topic/add-a-label-to-the-quantity-selector-1?replies=8#post-8407546
The topic ‘[Plugin: Woocommerce] text beside quantity selector based on selected variation’ is closed to new replies.