Home Forums Theme Support Dokan Seller Vacation not working

This topic is: not resolved

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

Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #34621

    Michael
    Member
    Post count: 34

    1. Whenever i active the Seller vacation, will getting the javascript error.
    2. When i purchase the ajax search someone told me, search shop will be available, but until now still no added the feature
    3. Per shipping is not working for variation product

    #34674

    towhid
    Participant
    Post count: 4505

    Hello Michael,

    Please update dokan v[1.4] and let me know the above problem are still exists or not.

    Thank You ๐Ÿ™‚

    #34762

    Michael
    Member
    Post count: 34

    Buddy, i'm already upgraded. The issue still exist.

    Regards,Hoe Meng

    #34804

    towhid
    Participant
    Post count: 4505

    Hello Michael,

    1. For eller vacation issue, you have to open “wp-content/plugins/dokan-seller-vacation/dokan-seller-vacation.php” and go to line number 150.

    You will see a comment named “All Script Goes Here”. You have to paste the following code in next line.

    wp_enqueue_script( 'jquery-ui-datepicker' );

    2. You have to insert ajax search widget in template widget section. I have tested this widget in a page and it is working for me. Please check and let me know.

    3. Can you specify me actually what trouble or error you are getting when using per product shipping.

    Thank You ๐Ÿ™‚

    #34824

    Michael
    Member
    Post count: 34

    Hi buddy
    1. I had follow the same instruction wp_enqueue_script( ‘dokan-sv-scripts', plugins_url( ‘js/script.js', __FILE__ ), array( ‘jquery' ), false, true ); wp_enqueue_script( โ€˜jquery-ui-datepickerโ€™ );
    but still it doesn't work still getting javascript error

    2. I know, i have ajax search working. but it without the function can search via the shopname only product3. Per product doesn't work for variation product, can we have improvement?

    Regards,Hoe Meng

    #34834

    towhid
    Participant
    Post count: 4505

    Hello Michael,

    1. Can you send me the error message you are getting for seller vacation add-on.

    2. We have adapted the code for “post” search which is inbuilt in WordPress. But WordPress has no facility for user search. Here the product is post type. So Live Ajax Search can search product easily. That is why we cannot right now, provide any contribution to Shop search.

    3. Yes, you are right, per product is not working, not in variation product. It is now working in parent product only. I have forwarded this feature to our development team. Hope they will implement this feature in near future.

    Thank You ๐Ÿ™‚

    #34837

    Michael
    Member
    Post count: 34

    Buddy it's javascript error. I had attached in the previous email i attached.
    the error seem like coming from $( “#settings_close_from” ).datepicker({
    Error message is Uncaught TypeError: undefined is not a function

    Regards,Hoe Meng

    #34896

    towhid
    Participant
    Post count: 4505

    Hello Michael,

    Please read this documentation for fix the undefined error solving instruction- http://docs.wedevs.com/settings-page-error-dokan/.

    and for JavaScript error try the following instruction:

    Please navigate to wp-content/plugin/dokan-seller-vacation and open dokan-seller-vacation.php file. In line number 139-154 replace that function to

    public function enqueue_scripts() {
            global $wp;
           
            if( isset( $wp->query_vars['settings'] ) ) {
                /**
                 * All styles goes here
                 */
                wp_enqueue_style( 'dokan-sv-styles', plugins_url( 'css/style.css', __FILE__ ), false, date( 'Ymd' ) );
                wp_enqueue_style( 'dokan-sv-jquery-ui-styles', plugins_url( 'css/jquery-ui-1.10.0.custom.css', __FILE__ ), false, date( 'Ymd' ) );
    
                /**
                 * All scripts goes here
                 */
                wp_enqueue_script( 'dokan-sv-scripts', plugins_url( 'js/script.js', __FILE__ ), array( 'jquery' ), false, true );
            }
        }

    Hope everything will work fine. Please check and let me know.

    Thank you ๐Ÿ™‚

    #35059

    Michael
    Member
    Post count: 34

    Awesome Imran
    It's working now ๐Ÿ™‚ really appreciate for the help. any place for us to keep track this kind of issue? So that i do not have to file a ticket evverytime.
    Another thing is whenever i disable a seller, those products are still remaining online, is that intended?

    Regards,Hoe Meng

    #35094

    towhid
    Participant
    Post count: 4505

    Ok Michel, I will create a documentation so that you do not need to open a ticket every time to find this kind of issue.

    Yes, we have intentionally kept seller's product online even the seller is not online. But those products always in pending mode not completely delete. If seller wish to come again admin can assign those products.

    Hope you understand.

    Thank You ๐Ÿ™‚

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

The topic ‘Seller Vacation not working’ is closed to new replies.