Home Forums WoodMart support forum Problems with Dokan emails

Problems with Dokan emails

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #240503

    nivs
    Participant

    Hi,
    There is a little problem with the compatibility to Dokan plugin. After the last updates for your theme and their plugin, there is a problem with new order emails.

    Dokan sends special new order emails to vendors apart from WooCommerce default new order email that is being sent to the admin.

    The problem is that these emails are sent with a picture of the product and now instead of the picture of the product there is this picture:
    wp-content/themes/woodmart/images/lazy.png

    This bug doesn’t happen in the default WooCommerce emails.
    I contact Dokan regarding the issue and they said:
    “WooodMart theme made the theme compatible with Dokan.So my suggestion for you is to contact the theme provider and I am sure they will help you resolve the issue”

    #240635

    Hello,

    Please try to add the code to the functions.php of the child theme:

    function woodmart_custom_stop_lazy_loading() {
    	woodmart_lazy_loading_deinit( true );
    }
    add_action( 'woocommerce_email_header', 'woodmart_custom_stop_lazy_loading', 10 );
    function woodmart_custom_start_lazy_loading() {
    	woodmart_lazy_loading_init( true );
    }
    add_action( 'woocommerce_email_footer', 'woodmart_custom_start_lazy_loading', 10 );

    and check.

    Best Regards

    #240823

    nivs
    Participant

    Perfect, thank you!

    #240990

    You are welcome! If you have any questions please feel free to contact us.

    Best Regards

    #240991

    nivs
    Participant

    Actually, I have one more problem.
    Can’t remove products from the Cart Widget. Only when you enter the Cart Page it will remove the products from the cart.

    #240995

    Hello,

    Make sure you run the recent theme version 5.3.3

    If your theme up to date, and the problem remains, deactivate all the plugins not related to the theme and switch the parent theme, check the issue, If the problem has gone, activate the plugins one by one, checking the issue to detect which one causes the problem.

    Best Regards

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