[Skip to main content](#vessel-content)

#   Mass action triggering 2 emails instead of 1

##

- **[xinyi](/forum/user/48511-xinyi "View xinyi's Profile")**
- [![xinyi's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/48511-xinyi "View xinyi's Profile") Topic Author
- [ Offline](/forum/user/48511-xinyi)

Less More

- Posts: 16
- Thank you received: 0
-
-

9 years 8 months ago [\#265239](#265239) by [xinyi](/forum/user/48511-xinyi "View xinyi's Profile")  *[Mass action triggering 2 emails instead of 1](/forum/44-mass-actions/889397-mass-action-triggering-2-emails-instead-of-1#265239 "-- HikaShop version -- :   myartspace.com.sg/under-construction  -- Joomla version -- : 3.6  Hi,  I have set up 2 mass actions. Each to send an email upon purchase of a product. E.g Product A send email A, Product B send email B. However customers are receiving both emails even though they only bought one product.  My settings are correct as I know. (see attached). The emails are only triggered whenever they bought whichever one product.  Any idea?  Thanks.")* was created by *[xinyi](/forum/user/48511-xinyi "View xinyi's Profile")*

-- HikaShop version -- : [ myartspace.com.sg/under-construction](https://myartspace.com.sg/under-construction)
-- Joomla version -- : 3.6

Hi,

I have set up 2 mass actions. Each to send an email upon purchase of a product. E.g Product A send email A, Product B send email B. However customers are receiving both emails even though they only bought one product.

My settings are correct as I know. (see attached). The emails are only triggered whenever they bought whichever one product.

Any idea?

Thanks.

- [ ![massaction-email2.PNG](/forum/attachment/37068) ](/forum/attachment/37068 "...ion-email2.PNG") [ ](/forum/attachment/37068?download=1 "...ion-email2.PNG")
- [ ![massaction-email1.PNG](/forum/attachment/37069) ](/forum/attachment/37069 "...ion-email1.PNG") [ ](/forum/attachment/37069?download=1 "...ion-email1.PNG")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQ0LW1hc3MtYWN0aW9ucy84ODkzOTctbWFzcy1hY3Rpb24tdHJpZ2dlcmluZy0yLWVtYWlscy1pbnN0ZWFkLW9mLTE/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86584
- Thank you received: 14325
-
-

9 years 8 months ago [\#265253](#265253) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Mass action triggering 2 emails instead of 1](/forum/44-mass-actions/889397-mass-action-triggering-2-emails-instead-of-1#265253 "-- HikaShop version -- :   myartspace.com.sg/under-construction  -- Joomla version -- : 3.6  Hi,  I have set up 2 mass actions. Each to send an email upon purchase of a product. E.g Product A send email A, Product B send email B. However customers are receiving both emails even though they only bought one product.  My settings are correct as I know. (see attached). The emails are only triggered whenever they bought whichever one product.  Any idea?  Thanks.")*

Hi,

You should remove the category selection and put back "any category" so that filter only target that one product.

Besides that I tried reproducing the problem on my end and it worked fine.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQ0LW1hc3MtYWN0aW9ucy84ODkzOTctbWFzcy1hY3Rpb24tdHJpZ2dlcmluZy0yLWVtYWlscy1pbnN0ZWFkLW9mLTE/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[ashx88](/forum/user/48374-ashx88 "View ashx88's Profile")**
- [![ashx88's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/48374-ashx88 "View ashx88's Profile")
- [ Offline](/forum/user/48374-ashx88)

Less More

- Posts: 28
- Thank you received: 0
-
-

9 years 8 months ago [\#265373](#265373) by [ashx88](/forum/user/48374-ashx88 "View ashx88's Profile")  Replied by *[ashx88](/forum/user/48374-ashx88 "View ashx88's Profile")* on topic *[Mass action triggering 2 emails instead of 1](/forum/44-mass-actions/889397-mass-action-triggering-2-emails-instead-of-1#265373 "-- HikaShop version -- :   myartspace.com.sg/under-construction  -- Joomla version -- : 3.6  Hi,  I have set up 2 mass actions. Each to send an email upon purchase of a product. E.g Product A send email A, Product B send email B. However customers are receiving both emails even though they only bought one product.  My settings are correct as I know. (see attached). The emails are only triggered whenever they bought whichever one product.  Any idea?  Thanks.")*

Hi,

I have set the filter to "any category", but the problem still definitely persists (see attached screenshot). How did you get it to work?

- [ ![hikashop-filter.PNG](/forum/attachment/37116) ](/forum/attachment/37116 "...hop-filter.PNG") [ ](/forum/attachment/37116?download=1 "...hop-filter.PNG")
- [ ![hikashop-2emails.jpg](/forum/attachment/37117) ](/forum/attachment/37117 "...op-2emails.jpg") [ ](/forum/attachment/37117?download=1 "...op-2emails.jpg")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQ0LW1hc3MtYWN0aW9ucy84ODkzOTctbWFzcy1hY3Rpb24tdHJpZ2dlcmluZy0yLWVtYWlscy1pbnN0ZWFkLW9mLTE/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86584
- Thank you received: 14325
-
-

9 years 8 months ago [\#265435](#265435) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Mass action triggering 2 emails instead of 1](/forum/44-mass-actions/889397-mass-action-triggering-2-emails-instead-of-1#265435 "-- HikaShop version -- :   myartspace.com.sg/under-construction  -- Joomla version -- : 3.6  Hi,  I have set up 2 mass actions. Each to send an email upon purchase of a product. E.g Product A send email A, Product B send email B. However customers are receiving both emails even though they only bought one product.  My settings are correct as I know. (see attached). The emails are only triggered whenever they bought whichever one product.  Any idea?  Thanks.")*

Hi,

I suppose that the problem is with your tests.
You must use the same user account for your tests.
What these mass actions mean is:
"When one of the orders of a customer is confirmed, add his email to the queue if he bought the product XXX between then dates AAA and BBB".
So basically, if the customer already purchased the other product, the mass actions will both match and he will get both emails.

Instead of having the mass action add the email to the queue, you should add the customer to a list, and configure a campaign on that list with an email to be sent immediately.
That way, the customer will only receive the email the first time he purchase a product and never after that.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQ0LW1hc3MtYWN0aW9ucy84ODkzOTctbWFzcy1hY3Rpb24tdHJpZ2dlcmluZy0yLWVtYWlscy1pbnN0ZWFkLW9mLTE/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

Board Categories HikaShop Install &amp; Update Product &amp; Category Display Content Creation Sales and Orders Orders management Reports &amp; Statistics Customers Checkout Payment Methods Shipping Methods Import &amp; Export (CSV, XLS…) Specific Features Affilation Taxes Wishlist Vote Carousel &amp; Slider Mass Actions Filters &amp; Search Discount &amp; Coupon Feature Request Integrations Showcase General Talk about HikaShop Development HikaShop 3.0 Beta Translation Commercial Jobs HikaShop Components HikaMarket Market: Feature requests Market: How to? Market: Bug Report HikaSerial General talk about HikaSerial Serial: Bug Report Serial: How to? Support en Français de HikaSerial (French Support) HikaSubscription HikaAuction Auction: Feature requests Auction: How to? Auction: Bug report Hikashop around the world Support en Français (French Support) Russian FAQ. Курс выживания с Hikashop. Частые вопросы и о Расширения Hikashop Наши сайты на Hikashop 日本語版サポート(Japanese Support) Thai German Archives Bug Report How to?

[](/forum/topics/feed/mode-topics?format=feed&type=rss)

Time to create page: 0.050 seconds

[Powered by](/forum/credits) [Kunena Forum](https://www.kunena.org)
