• Resolved franco712

    (@franco712)


    I’m using this plugin and noticed that it is showing the “Select Delivery Location” button on my bookable products as well. I need the shipping calculator to only show on simple and variable products.

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

    (@rajeshsingh520)

    Hi,

    Add the below code in your theme functions.php file it will hide the Calculator for Bookable products

    
    add_filter('pi_ppscw_hide_calculator_on_single_product_page', function($val, $product){
    	if(!$product->is_type('simple') && !$product->is_type('variable')) return true;
    
    	return $val;
    },10,2);
    
    Thread Starter franco712

    (@franco712)

    Thank you! Much appreciated!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Bookable products’ is closed to new replies.