I am a somewhat newbie and so glad I found this! This is exactly what I have been trying to figure out.
I added this to the js box of the PPOM I am trying to isolate to variation #21225 I have successfully added the code (I’m assuming b/c thee colors are no longer all going to one line in green) What else do I need to do?
Scenario:
A product page with 2 variations (#21224 & #21225)
I want the PPOM hidden until variation #21225 is selected. Thus if no variation is selected OR if the variation #21224 is selected I want the PPOM hidden. If the #21225 Variation is selected I want the PPOM to display.
What do I need to do in order to make this happen? (What are the steps prior to and after adding the JS code that I need to make sure are in effect?)
I have created a PPOM for this page but need to know the settings in the PPOM and what CSS needs to be added to ensure it is hidden until the woo variation #21225 is selected.
REALLY appreciate you guys and your willingness to help people!