Viewing 4 replies - 16 through 19 (of 19 total)
  • Thread Starter viji421

    (@viji421)

    yes i have updated version

    function clear_wc_shipping_rates_cache(){ if(!function_exists(‘WC’) || !isset(WC()->cart)) return; if ( !WC()->customer ) return; // this allows it to work with woocommerce point of sales plugin $packages = WC()->cart->get_shipping_packages(); foreach ($packages as $key => $value) { $shipping_session = “shipping_for_package_$key”; unset(WC()->session->$shipping_session); } }

    this i put on line 9?

    Plugin Author rajeshsingh520

    (@rajeshsingh520)

    You have to replace the line no. 9 with this new code

    if(!function_exists(‘WC’) || !isset(WC()->cart)) return;

    the old code will be like this

    if(!isset(WC()->cart) || !function_exists(‘WC’)) return;

    Plugin Author rajeshsingh520

    (@rajeshsingh520)

    if(!function_exists('WC') || !isset(WC()->cart)) return;

    use this as the code we pasted normally in the char box has semilocon converted so use this from code block

    we will be login of in 10 min, will be available tomorrow

    Plugin Author rajeshsingh520

    (@rajeshsingh520)

    Hi,

    Is your problem solved ?

Viewing 4 replies - 16 through 19 (of 19 total)
  • The topic ‘Advanced Free – Flat shipping WooCommerce:: Please Install and Activate WooComme’ is closed to new replies.