Home Forums Theme Support Dokan SHIPPING WAS NOT CHOSEN dokon subscription issue on checkout

This topic is: resolved

This topic contains 2 replies, has 2 voices, and was last updated by  stephane 4 years, 6 months ago.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #31333

    stephane
    Member
    Post count: 22

    Hello,
    i have install both dokan subscription addon and dokan per-product-shipping addon …
    so i edit subscription products on wp admin …
    when a seller (is active) choose a subscription and checkout he cant proceed to pay because there is a warning message on top : SHIPPING WAS NOT CHOSEN

    1) subscription products are setting on donkan product subscription
    2) WC setting shipping option are on Enable shipping using Dokan Per Product Shipping (regular shipping)
    3) if i desable the dokan per-product-shipping plugin it's work fine !

    can you tell me how to fix it and/or check my setting please
    provide you login details
    thanks
    stéphane

    #31336

    Mahi
    Member
    Post count: 135

    Hello stephane,

    Its conflicting since WooCommerce updated recently.

    1. Open dokan-shipping.php file

    2. Find below code and either delete or comment out :

    if ( ! is_array( $shipping_method ) || !in_array( 'dokan_per_product', $shipping_method ) ) {
                 wc_add_notice( __( 'shipping was not chosen', 'woocommerce' ), 'error' );
                 return;
             }

    3. re-save it.

    It should be fine now.

    #31345

    stephane
    Member
    Post count: 22

    Ok thanks Mahi,
    it's working now !

Viewing 3 posts - 1 through 3 (of 3 total)

The topic ‘SHIPPING WAS NOT CHOSEN dokon subscription issue on checkout’ is closed to new replies.