Home Forums Theme Support Dokan Disable "New Product" Emails

This topic is: resolved

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

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

    Stephen
    Member
    Post count: 16

    Hi there, I am using Dokan Plugin v1.3. Every time a user adds a product I get this email:

    New Product added
    Hello there,

    A new product has been submitted to your site…

    Summary of the product: …

    A lot of users have been adding products so you can imagine the hundreds of emails I have been receiving.

    Can you help me disable the new product email notifications to the admin?

    Thanks in advance

    #32405

    Nayem
    Moderator
    Post count: 6480

    Hello Stephen,

    Please navigate to Dokan-plugin/classes and open template-shortcodes.php. In line number 163, you will see this code- Dokan_Email::init()->new_product_added( $product_id, $product_status );. Then you have to comment out this line. Hope this will work. Please check and let me know.

    Thank you ๐Ÿ™‚

    #32490

    Stephen
    Member
    Post count: 16

    Thanks, this worked

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

The topic ‘Disable "New Product" Emails’ is closed to new replies.