Title: monicabe's Replies | WordPress.org

---

# monicabe

  [  ](https://wordpress.org/support/users/monicabe/)

 *   [Profile](https://wordpress.org/support/users/monicabe/)
 *   [Topics Started](https://wordpress.org/support/users/monicabe/topics/)
 *   [Replies Created](https://wordpress.org/support/users/monicabe/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/monicabe/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/monicabe/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/monicabe/engagements/)
 *   [Favorites](https://wordpress.org/support/users/monicabe/favorites/)

 Search replies:

## Forum Replies Created

Viewing 3 replies - 1 through 3 (of 3 total)

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[PPOM - Product Addons & Custom Fields for WooCommerce] Only show PPOM Fields for X variation](https://wordpress.org/support/topic/only-show-ppom-fields-for-x-variation/)
 *  [monicabe](https://wordpress.org/support/users/monicabe/)
 * (@monicabe)
 * [4 years, 4 months ago](https://wordpress.org/support/topic/only-show-ppom-fields-for-x-variation/#post-15241663)
 * Upon taking a second look, another solution would be applying a different PPOM
   to each USER role for a particular product.
 * For example: is it possible to apply one PPOM to regular pricing and a different
   PPOM to a wholesale customer price on the same product page? Without the PPOMs
   showing for both pricing?
 * Is it possible to apply exclusive PPOM to different user roles on the same product
   page?
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[PPOM - Product Addons & Custom Fields for WooCommerce] Only show PPOM Fields for X variation](https://wordpress.org/support/topic/only-show-ppom-fields-for-x-variation/)
 *  [monicabe](https://wordpress.org/support/users/monicabe/)
 * (@monicabe)
 * [4 years, 4 months ago](https://wordpress.org/support/topic/only-show-ppom-fields-for-x-variation/#post-15241612)
 * //
    var $VariationSelectID = jQuery(“21224”); var $PPOMSelectID = jQuery(“15”);
 *  $VariationSelectID.on(“change”, function() {
    var VariationSelect = $VariationSelectID.
   val();
 *  var dataOptionId = VariationSelect.replace(/-/g, “_”);
    var $PPOMSelectOption
   = $PPOMSelectID.find(“[data-optionid='” + dataOptionId + “‘]”); $PPOMSelectOption.
   prop(“selected”, true); $PPOMSelectID.trigger(“change”); }); //
 * I have the above code in the JS styles and the following is in the css style 
   box
    // .ppom-wrapper select { -moz-appearance:auto !important; -webkit-appearance:
   auto !important; appearance:auto !important; } //
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[PPOM - Product Addons & Custom Fields for WooCommerce] Only show PPOM Fields for X variation](https://wordpress.org/support/topic/only-show-ppom-fields-for-x-variation/)
 *  [monicabe](https://wordpress.org/support/users/monicabe/)
 * (@monicabe)
 * [4 years, 5 months ago](https://wordpress.org/support/topic/only-show-ppom-fields-for-x-variation/#post-15229965)
 * 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!

Viewing 3 replies - 1 through 3 (of 3 total)