SHIPPING WAS NOT CHOSEN dokon subscription issue on checkout

  • Home
  • Forums
  • Dokan
  • SHIPPING WAS NOT CHOSEN dokon subscription issue on checkout
This topic contains 2 reply and 2 voices, and was last updated by stephane 10 years ago
Viewing 2 Posts - 1 through 2 (of 2 total)
Author Posts
November 28, 2014 at 3:32 pm 31333
stephane 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
November 28, 2014 at 3:49 pm 31336
Mahi Mahi

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.

November 28, 2014 at 5:26 pm 31345
stephane stephane

Ok thanks Mahi,
it’s working now !

Viewing 2 Posts - 1 through 2 (of 2 total)