How to use $_GET via woocommerce_product_variation_get_price when Woo gets variations by AJAX?


I’m looking to manipulate a variation price using woocommerce_product_variation_get_price

So on the product page when variation calculates the variation price by AJAX, if ?help=1 then the price will change to what I am specifying.

I assume the $_GET['help'] can’t be read by the AJAX getting the variation price.

How can I pass $_GET variables to the AJAX to use in woocommerce_product_variation_get_price?

, bigdaveygeorge 8 months 0 Answers 100 views 0

Leave an answer