Please Team fix email bombs to customers

We're shifting our Forum based support to a more dedicated support system!

We'll be closing our Forum support from 10th June, 2020 and move to Email Support assistance.

  • If you are a WCFM premium add-ons user, contact us- here
  • Want to know more before buying our add-ons? Send Pre sale queries- here
  • If you are a WCFM free user, please open a support ticket at WordPress.org
  • For WCFM App related queries, reach us- here
From now the forum will be read-only!

Multi Vendor Marketplace Plugin | WCFM Marketplace Forums WCFM – Ultimate Please Team fix email bombs to customers

Viewing 11 reply threads
  • Author
    Posts
    • #132072
      Henriette
      Participant

      I found out that not only “Shipping Tracking” sends one email per item to customer but ALL of the update statuses.
      This problem is addressed several times by different users.
      https://wclovers.com/forums/topic/customers-receive-one-email-for-each-product-shipped/

      So I tried this code in my child theme’s functions.php
      add_filter( 'wcfm_is_allow_itemize_notification', '__return_false' );
      found here on the same issue: https://wclovers.com/forums/topic/several-order-completed-mail-per-order/
      but it doesn’t work.
      Problem is also mentioned here:
      https://wclovers.com/forums/topic/wcfm-germanized-entering-a-delivery-time-crashes-product-manager/#post-129778
      and here:
      https://wclovers.com/forums/topic/shipment-tracking-and-confirmation/

      I did a test order for three items (see attachment).
      When vendor follows every step of the order updates PENDING – IN PROGRESS – SHIPPED – COMPLETED than the customer receives seventeen emails just for an order of three items. So imagine how much emails he will receive on ten items or more.

      My site is still in test phase but I can not sell this to my vendors. It is very embarrassing for them towards their customers and I am 100% sure that they are going to complain to me about that.

      I also did a search on Woocommerce to see if the problem also exist on single WC site.
      I even did a search like I wanted one email per ordered item. Sometimes I do that when I can not find my problem so I can do the solution in reverse.
      But no single Woocommerce user seems to have this issue.

      Please please fix this. Otherwise I have to stop with WCFM because this is unacceptable for me.
      If I was a customer myself and they bombed me with so many emails on a simple order of only three items I would never buy from this site again.

      Attachments:
      You must be logged in to view attached files.
    • #132408
      WCFM Forum
      Keymaster

      Hi,

      Add this line to your site –

      add_filter( 'wcfm_is_show_marketplace_itemwise_orders', '__return_false' );

      Thank You

    • #132411
      WCFM Forum
      Keymaster

      Also be sure you are using WCFM Ultimate version 6.4.10+

    • #132609
      Henriette
      Participant

      WCFM Ultimate version 6.4.10+ > Was already updated.
      Last snippet doesn’t work either.
      So now I tested with 4 different snippets. Also the ones I found here: https://wclovers.com/forums/topic/wcfm-germanized-entering-a-delivery-time-crashes-product-manager/
      But since that topic is also about other shipping issues I limit myself to this/my topic.
      I will post in 4 different posts in order to make it more clear (I hope).
      It turns out that none of the snippets works as is should.

      —————————————————————-
      Testing 1 of 4
      add_filter( 'wcfm_is_allow_itemwise_notification', '__return_false' );

      Cleared all cache and browser history

      Order #5977
      1 email with subject: “Your order has been received” + PDF Invoice
      Marked as Shipped at once on Orders page (the one with all the orders):
      1 customer email with shipping tracking info for all items together.

      ======================================================================================

      Order #5983
      1 email with subject: “Your order has been received” + PDF Invoice

      On Order Details page:

      Status Update “Pending Payment”:
      1 email with subject: “Note added to your order” for all items together (in Spam Folder)

      Status Update “In Progress”:
      1 email with subject “Your order has been received” (?) with status update “In Progress #5983” + PDF Invoice for complete order.
      1 email with subject: “Note added to your order” with status update “#5983 order status updated to In Progress” for complete order.
      1 email with subject: “Note added to your order” with status update “In Progress” for complete order.

      Status Update: “Shipped”:
      No list of all 3 items to pick from. Only one item visible (Attachment 001).
      Choose: “Update all items tracking info”.
      1 email with shipping tracking info for all items together.

      After updating to Shipped only one item is marked as shipped in the ship section while all items are marked shipped in the order detail overview. (Attachment 001a.)

      Status Update “Completed”:
      1 email with subject “Your order is now complete” with status update “Completed” + PDF Invoice for complete order.
      1 email with subject: “Note added to your order” with status update “Completed” for complete order
      1 email with subject: “Note added to your order” with status update “#5983 order status updated to Completed”

      As you see all four than this one looks the best, except for the item list on shipping tracking ( 001 and 001a)

      Edit: Mind you that this is the one with itemwise instead of itemwized.

      Attachments:
      You must be logged in to view attached files.
      • #132616
        Henriette
        Participant

        * itemwized = itemize

        Although this one has still 9 emails when vendor goes to all Order Update statuses.

    • #132612
      Henriette
      Participant

      Testing 2 of 4
      add_filter( 'wcfm_is_allow_itemwise_notification', '__return_true' );

      Cleared all cache and browser history

      Order #6003
      1 email with subject: “Your order has been received” + PDF Invoice
      Marked as Shipped at once on Orders page (the one with all the orders):
      3 customer email with shipping tracking info for each item separately.

      ======================================================================================

      Order #6013
      1 email with subject: “Your order has been received” + PDF Invoice

      On Order Details page:

      Status Update “Pending Payment”:
      3 emails with subject: “Note added to your order” for each item separately.

      Status Update “In Progress”:
      1 email with subject “Your order has been received” (?) with status update “In Progress #6013” + PDF Invoice for complete order.
      1 email with subject: “Note added to your order” with status update “#6013 order status updated to In Progress” for complete order.
      3 emails with subject: “Note added to your order” with status update “In Progress” for each item separately.

      Status Update: “Shipped”:
      With this code there is a list of all 3 items to pick from to ship, please see attachment 002.
      Choose: “Update all items tracking info”.
      3 emails with shipping tracking info for each item separately.

      Status Update “Completed”:
      1 email with subject “Your order is now complete” with status update “Completed” + PDF Invoice for complete order.
      1 email with subject: “Note added to your order” with status update “#6013 order status updated to Completed”.
      3 emails with subject: “Note added to your order” with status update “Completed” for each item separately.

      Attachments:
      You must be logged in to view attached files.
    • #132614
      Henriette
      Participant

      Testing 3 of 4
      add_filter( ‘wcfm_is_allow_itemize_notification’, ‘__return_false’ );

      Cleared all cache and browser history

      Order #6045
      1 email with subject: “Your order has been received” + PDF Invoice
      Marked as Shipped at once on Orders page (the one with all the orders):
      3 customer email with shipping tracking info for each item separately.

      ======================================================================================

      Order #6063
      1 email with subject: “Your order has been received” + PDF Invoice

      On Order Details page:

      Status Update “Pending Payment”:
      3 emails with subject: “Note added to your order” for each item separately.

      Status Update “In Progress”:
      1 email with subject “Your order has been received” (?) with status update “In Progress #6063” + PDF Invoice for complete order.
      1 email with subject: “Note added to your order” with status update “#6063 order status updated to In Progress” for complete order.
      3 emails with subject: “Note added to your order” with status update “In Progress” for each item separately.

      Status Update: “Shipped”:
      Also no list of all 3 items to pick from. Only one item visible. (Attachment 001 and 001a of 1 of 4)
      Choose: “Update all items tracking info”.
      3 emails with shipping tracking info for each item separately.

      Status Update “Completed”:
      1 email with subject “Your order is now complete” with status update “Completed” + PDF Invoice for complete order.
      1 email with subject: “Note added to your order” with status update “#6063 order status updated to Completed”.
      3 emails with subject: “Note added to your order” with status update “Completed” for each item separately.

    • #132615
      Henriette
      Participant

      Testing 4 of 4
      add_filter( 'wcfm_is_show_marketplace_itemwise_orders', '__return_false' );

      Cleared all cache and browser history

      Order #6045
      1 email with subject: “Your order has been received” + PDF Invoice
      Marked as Shipped at once on Orders page (the one with all the orders):
      3 customer email with shipping tracking info for each item separately.

      ======================================================================================

      Order #6115
      1 email with subject: “Your order has been received” + PDF Invoice

      On Order Details page:

      Status Update “Pending Payment”:
      3 emails with subject: “Note added to your order” for each item separately.

      Status Update “In Progress”:
      1 email with subject “Your order has been received” (?) with status update “In Progress #6115” + PDF Invoice for complete order.
      1 email with subject: “Note added to your order” with status update “#6115 order status updated to In Progress” for complete order.
      3 emails with subject: “Note added to your order” with status update “In Progress” for each item separately.

      Status Update: “Shipped”:
      Also no list of all 3 items to pick from. Only one item visible. (Attachment 001 and 001a of 1 of 4)
      Choose: “Update all items tracking info”.
      3 emails with shipping tracking info for each item separately.

      Status Update “Completed”:
      1 email with subject “Your order is now complete” with status update “Completed” + PDF Invoice for complete order.
      1 email with subject: “Note added to your order” with status update “#6115 order status updated to Completed”.
      3 emails with subject: “Note added to your order” with status update “Completed” for each item separately.

    • #132658
      Henriette
      Participant

      Resume:
      3 and 4 of are the worst; 17 emails for 1 order of 3 items and no list of items to pick from in Shipping Section.
      2 sends also 17 emails but has the list in shipping section with all the ordered items.
      1 is the best with “only” 9 emails sent but has only one item in shipping section.

    • #134636
      Henriette
      Participant

      Hi team,
      First of all: how are you? Are you all safe after cyclone Amphan?

      My second question is: is there any news on this email issue? Because as you can see above none of the codes are working correctly.
      Although the one mentioned in #132609 was the best there is still the issue with just one item display on the tracking section in case of back orders (Shipping Tracking for one item only).
      Besides that 9 emails to customer for one order is still too much.
      This was tested without adding any customer note otherwise it would be even more since the customer notes are send separately on top of the status update notification emails.

      My suggestion are:

      [1] No automatic email send to customer on order status update by vendor. Let vendor choose to send an email notification to the customer to notify them about the status update of the order.

      [2] Integrate the Customer Note into the order status update email so they won’t be sent separately.

      [3] In case of [2] > Add status update option “Partially Sent” and discard the “Shipping Tracking for one item only”. With integrated customer note vendor can put the tracking info for that particular item in that customer note and can add that the rest of the ordered items will follow.

      [4] Also in case of [2] and better yet > Discard both Tracking info’s -so also for “All items update”- because the only thing it adds is the shipping tracking info and vendor can put this in the integrated customer note.

      That way it would be a lot simpler and vendor gets to choose how much emails he sends to his customers. Because now they don’t have a choice.

      Thank you

    • #135696
      SebastianFloKa
      Participant

      Hi,

      exact same issues here.
      Just asking, did you also try a combination of code snippets such as:

      add_filter( 'wcfm_is_allow_itemwise_notification', '__return_true' );
      add_filter( 'wcfm_is_show_marketplace_itemwise_orders', '__return_false' );
      • #136450
        Henriette
        Participant

        Hi @Sebastian

        Yes I did. But it just isn’t making any sense.

        Played around a bit with Woocommerce email settings and disabled “Customer Note” and “New order” sent to admin.

        Tried first with one code:
        add_filter( 'wcfm_is_allow_itemwise_notification', '__return_false' );
        Order 1: After order send by customer the following emails are sent:
        Confirmation/Notification:
        Customer: 1
        Vendor: 1
        Admin: 0
        *Vendor marks as Shipped on Orders page (the one with all the orders and the grey truck):
        Tracking info:
        Customer: 3 > 1 for each item
        Vendor: 0
        Admin: 3 > 1 for each item
        ===
        Order 2: Made new order and following emails are sent:
        Confirmation/Notification:
        Same as Order 1
        * Vendor makes order status updates and the following emails are sent:
        Pending Payment
        Customer: 0
        Vendor: 0
        Admin: 3 > 1 for each item
        In Progress
        Customer: 1 for whole order
        Vendor: 0
        Admin: 4 > 3×1 for each item + 1 for whole order
        In Progress
        Customer: 1 for whole order
        Vendor: 0
        Admin: 4 > 3×1 for each item + 1 for whole order
        Shipped through blue tracking truck(s)
        Only 1 item visible on first option
        Used All items shipped at once:
        Customer: 3 > 1 for each item
        Vendor: 0
        Admin: 3 > 1 for each item
        Completed
        Customer: 1 for whole order
        Vendor: 0
        Admin: 4 > 3×1 for each item + 1 for whole order

        Tried with both codes:

        add_filter( 'wcfm_is_show_marketplace_itemwise_orders', '__return_false' );
        add_filter( 'wcfm_is_allow_itemwise_notification', '__return_true' );

        Everything is the same as with the one code above except for the blue shipping tracking; now there are all items to ship separately visible.

        Resume:
        1] Disabling customer notes in WC decreases the emails to customer a little bit although customer still gets 6 emails for 1 order. And that is without vendor sending also a customer note along with it. I could disable “In-Progress” and “Completed” email in WC too and that would reduce the amount of emails to 4.
        So when tracking info would be just 1 email with tracking info for the whole order than it can be reduced to 2.

        But the particular “Pending Payment” email note that customer needs to get he’s not getting. Because that is the Pending Payment note on which vendor can remind customer that the order isn’t payed yet. Of course vendor can sent a separate customer note but that function is confusing too. When vendor wants to sent a separate customer note he has to scroll to the bottom of the page first and than confirm at the top of the page the changed order status.
        When vendor changes the order status first and than add a customer note at the bottom the email is not send to the customer until vendor hits the status update Confirm button for the second time.
        My humble opinion is that this could be solved to put the order status-update-dropdown and button to the bottom of the page. That way vendor can add customer note first if desired and than change order status.

        2] Admin gets too much emails too. With Single Vendor Checkout this isn’t necessary at all. On an order for one single vendor > 3 items admin gets 14 emails. Imagine when 10 vendors are getting 10 orders of 10 items… Admin’s mailbox will explode.

        Also there are more issues on orders. Like every time it adds a cent to the total order amount.
        But I will address that in another topic once the email and tracking issues are solved.

    • #137708
      Henriette
      Participant

      Dear @wclovers team,

      Any news on this? As you can see in my last post I’m only a few steps away from the solution to the many emails.
      What I need now is:
      Least best solution:
      A solution for the emails per item when using shipping tracking.
      The drop down on orders detail page at the bottom so vendor can add customer note first and then update the order status. That way customer will get max. 2 emails instead of four: 1 with the tracking info for all items and one with the customer note. Especially the “Pending Payment” customer note is very important.
      This also counts for other order status updates.

      Second best solution:
      A solution for the emails per item when using shipping tracking.
      Discard the blue shipping tracking part and/or do not make it required.
      You can not turn that off in capabilities because than the options “Shipped” is not visible in the dropdown menu of the order status update.
      Move the drop down with order status update to the bottom so vendor can add customer note first (important on “Pending Payment” order status update) so vendor can add note to customer and change order status update. That way at least customer gets an email with a reminder of payment.
      Also vendor can add shipping tracking info in customer note instead of with the blue truck part. In case of back order vendor can write what items are send and that the rest is shipped later.

      The BEST solution:
      A solution for the emails per item when using shipping tracking.
      Integrate customer note into the status update so customer gets the note from vendor in the status update email instead of separately. When vendor does not write a customer note than customer only gets status update email.

      Anyway… the issue with the shipping tracking emails send per item must be solved.
      Not only I payed for Ultimate and Groups & Staff but I’m also testing it on a live domain which I especially purchased for this purpose.
      So that’s a lot of wasted money for me every month as long as this issue isn’t solved.

      At least do not ignore because that is very very frustrating!

      • #137709
        Henriette
        Participant

        PS. Maybe if it is possible to override the orders details page I can move the drop down with order status update to the bottom myself.
        That’s another problem fixed.

        Is this possible and what file do I need for this?

    • #139621
      Henriette
      Participant

      Hi team,

      Any news on this? It has been proven that none of de code snippets you provided are working correctly to prevent shipping emails as per item ordered.
      Not even when they are combined.

Viewing 11 reply threads
  • You must be logged in to reply to this topic.