Variation Price Filter
-
Hi,
Has the following filter been removed from WooCommerce woocommerce_product_variation_get_regular_price or woocommerce_product_variation_get_price. I am running the following code:
function _custom_price_varaints( $price, $product ) { echo $product->get_title() . " - " . $price; die('123'); } add_filter('woocommerce_product_variation_get_regular_price', '_custom_price_varaints', 10, 2 ); add_filter('woocommerce_product_variation_get_price', '_custom_price_varaints', 10, 2 );
And it never seems to fire – I need to tweak the price on the catalog view on the front end and it’s not the HTML price I need to change.
Any ideas?
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Variation Price Filter’ is closed to new replies.