Support » Plugin: WP eCommerce Simple Shipping (wpsc-simple-shipping) » Cannot disable shipping calculator from checkout page

  • The shipping calculator appeared on the checkout screen after the latest updates to WordPress/WPEC. I only have one shipping option – flat rate, so I have no need for the calculator.

    Once the calculator appears and the user clicks ‘calculate’, the page refreshes and it deletes all the billing/shipping info they’ve entered. If the user tries ignoring the calculator, they cannot proceed with checkout. Please help!

Viewing 3 replies - 1 through 3 (of 3 total)
  • I second this, I have one flat-rate shipping option and do not require the calculator function.. Is there a way to disable this altogether?



    i have a similar issue with you guys. using this plugin, i wanted to disable the shipping calculator everytime i change values of shipping city, shipping state, & shipping postal code fields.

    to do it i added this code in my theme functions.php:

     * my_wpsc_needs_shipping_recalc()
     * disable shipping_recalc value returned by needs_shipping_recalc() for fixedrate shipping method.
     * @param boolean $needs_shipping_recalc
     * @param obj $wpsc_cart
     * @return boolean
    function my_wpsc_needs_shipping_recalc($needs_shipping_recalc, $wpsc_cart)
      if($wpsc_cart->shipping_method == 'fixedrate')
        $needs_shipping_recalc = false;
      return $needs_shipping_recalc;

    hope this can help.

    Spotoremor – thank you, this worked beautifully.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Cannot disable shipping calculator from checkout page’ is closed to new replies.