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

Question

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?

0
, bigdaveygeorge 5 months 0 Answers 82 views 0

Leave an answer