Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author rajeshsingh520

    (@rajeshsingh520)

    Hi,

    Add the below code in your theme functions.php file

    
    add_filter('pi_ppscw_hide_calculator_on_single_product_page', function($ret, $product){
    	if(is_object($product) && $product->is_on_backorder()) return true;
    
    	return $ret;
    },10,2);
    
    
    Thread Starter bathroo

    (@bathroo)

    so awesome. works, thank you!

    Thread Starter bathroo

    (@bathroo)

    ah, only works on non variations. I’ve needed to change your pisol-product-page-shipping-calculator-woocommerce-public.js to get it working properly.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Hide form if product on back order’ is closed to new replies.