• Resolved annaseidenkinder

    (@annaseidenkinder)


    Hi
    At our store we have 3 items we can send just as an Jumbo package. But this Items are more expensiv the the free deliefery border. Now I like to make unvisible the free shipping functions for this Items.

    I could find following Code at the net:
    function my_free_shipping( $is_available ) {
    global $woocommerce;

    // set the product ids that are ineligible
    $ineligible = array( ‘2703’,’2297′,’2293′);

    // get cart contents
    $cart_items = $woocommerce->cart->get_cart();

    // loop through the items looking for one in the ineligible array
    foreach ( $cart_items as $key => $item ) {
    if( in_array( $item[‘product_id’], $ineligible ) ) {
    return false;
    }
    }

    // nothing found return the default value
    return $is_available;
    }
    add_filter( ‘woocommerce_shipping_free_shipping_is_available’, ‘my_free_shipping’, 20 );

    It works but the Costs für delivering for bulky items are not the same i definied for. I’m not a coder. Can someone help me?

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • Plugin Support AW a11n

    (@slash1andy)

    Automattic Happiness Engineer

    Hey there!

    Can you tell me a bit more about this?

    Please send:

    * Links to the “jumbo” items
    * What the cost should be for the jumbo items (please send a screenshot of the shipping method you have for jumbo)

    I recommend https://snipboard.io for easily sharing screenshots – please follow the instructions on the page, then paste the URL in this chat. It works with Chrome, Firefox and Edge.

Viewing 1 replies (of 1 total)
  • The topic ‘Jumbo Shipping’ is closed to new replies.