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

#   Add User to Group "Shopper" After ANY purchase?

##

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

Less More

- Posts: 60
- Thank you received: 3
-
-

12 years 2 months ago [\#172378](#172378) by [blueagle1829](/forum/user/5850-blueagle1829 "View blueagle1829's Profile")  *[Add User to Group "Shopper" After ANY purchase?](/forum/33-customers/871738-add-user-to-group-shopper-after-any-purchase#172378 "-- HikaShop version -- : 2.3.2 -- Joomla version -- : 3.3.3 -- PHP version -- : 5.4.32  Goal: To offer a $20 coupon to any customer on their second purchase (with minimum purchase amount of $100) Coupon is set up with the correct rules, limiting to user group &quot;Shopper&quot; and a user quota of 1.  I'd like to add anyone who purchases any product to the user group &quot;Shopper&quot; in order to offer that coupon to them for their next order. Instead of marking each of my thousands of products to &quot;Add User to Group after purchase&quot; is there a way to add ALL users to that group after their first purchase of ANY product?  Thanks. Absolutely love this component.")* was created by *[blueagle1829](/forum/user/5850-blueagle1829 "View blueagle1829's Profile")*

-- HikaShop version -- : 2.3.2
-- Joomla version -- : 3.3.3
-- PHP version -- : 5.4.32

Goal: To offer a $20 coupon to any customer on their second purchase (with minimum purchase amount of $100)
Coupon is set up with the correct rules, limiting to user group "Shopper" and a user quota of 1.

I'd like to add anyone who purchases any product to the user group "Shopper" in order to offer that coupon to them for their next order. Instead of marking each of my thousands of products to "Add User to Group after purchase" is there a way to add ALL users to that group after their first purchase of ANY product?

Thanks. Absolutely love this component.

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

- **[Jerome](/forum/user/80-jerome "View Jerome's Profile")**
- [![Jerome's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar80.png)](/forum/user/80-jerome "View Jerome's Profile")
- [ Offline](/forum/user/80-jerome)
- HikaShop core developer

Less More

- Posts: 26402
- Thank you received: 4081
-
- [](http://obsi.dev)
-

12 years 2 months ago [\#172401](#172401) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[Add User to Group "Shopper" After ANY purchase?](/forum/33-customers/871738-add-user-to-group-shopper-after-any-purchase#172401 "-- HikaShop version -- : 2.3.2 -- Joomla version -- : 3.3.3 -- PHP version -- : 5.4.32  Goal: To offer a $20 coupon to any customer on their second purchase (with minimum purchase amount of $100) Coupon is set up with the correct rules, limiting to user group &quot;Shopper&quot; and a user quota of 1.  I'd like to add anyone who purchases any product to the user group &quot;Shopper&quot; in order to offer that coupon to them for their next order. Instead of marking each of my thousands of products to &quot;Add User to Group after purchase&quot; is there a way to add ALL users to that group after their first purchase of ANY product?  Thanks. Absolutely love this component.")*

Hi,

At this moment you can use a mass action.
You can create an action when an order is confirmed and add a group to the user.

Regards,

---

Jerome - Obsidev.com
HikaMarket &amp; HikaSerial developer / HikaShop core dev team.

The following user(s) said Thank You: [blueagle1829](/forum/user/5850-blueagle1829 "View blueagle1829's Profile")

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

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

Less More

- Posts: 60
- Thank you received: 3
-
-

12 years 2 months ago -  12 years 2 months ago [\#172430](#172430) by [blueagle1829](/forum/user/5850-blueagle1829 "View blueagle1829's Profile")  Replied by *[blueagle1829](/forum/user/5850-blueagle1829 "View blueagle1829's Profile")* on topic *[Add User to Group "Shopper" After ANY purchase?](/forum/33-customers/871738-add-user-to-group-shopper-after-any-purchase#172430 "-- HikaShop version -- : 2.3.2 -- Joomla version -- : 3.3.3 -- PHP version -- : 5.4.32  Goal: To offer a $20 coupon to any customer on their second purchase (with minimum purchase amount of $100) Coupon is set up with the correct rules, limiting to user group &quot;Shopper&quot; and a user quota of 1.  I'd like to add anyone who purchases any product to the user group &quot;Shopper&quot; in order to offer that coupon to them for their next order. Instead of marking each of my thousands of products to &quot;Add User to Group after purchase&quot; is there a way to add ALL users to that group after their first purchase of ANY product?  Thanks. Absolutely love this component.")*

Thanks, Jerome!

For anyone trying to do this that might find this forum (and so that Jerome can double check my work), I'm going to list out the exact step-by-step instructions below.

HikaShop --&gt; System --&gt; Mass actions
Create a New Action

Name: Add to Shopper Group
Description: When an order is confirmed, add user to Shopper Group
Published: Yes
Data: Order
Triggers: After an order is updated
Filters: Start 0 Value: 500 **(I'm not sure what these fields are for)**
AND: Order Status = Confirmed
AND: Users with ACL; Not in; Shopper
Actions: Change the User group; Add; Shopper

Does that look correct?

Thanks again for the awesome support. I've used HikaShop for a while and I absolutely love it.

Last edit: 12 years 2 months ago by [blueagle1829](/forum/user/5850-blueagle1829 "View blueagle1829's Profile").

The following user(s) said Thank You: [derekkoopowitz](/forum/user/5248-derekkoopowitz "View derekkoopowitz's Profile")

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

- **[Jerome](/forum/user/80-jerome "View Jerome's Profile")**
- [![Jerome's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar80.png)](/forum/user/80-jerome "View Jerome's Profile")
- [ Offline](/forum/user/80-jerome)
- HikaShop core developer

Less More

- Posts: 26402
- Thank you received: 4081
-
- [](http://obsi.dev)
-

12 years 2 months ago [\#172443](#172443) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[Add User to Group "Shopper" After ANY purchase?](/forum/33-customers/871738-add-user-to-group-shopper-after-any-purchase#172443 "-- HikaShop version -- : 2.3.2 -- Joomla version -- : 3.3.3 -- PHP version -- : 5.4.32  Goal: To offer a $20 coupon to any customer on their second purchase (with minimum purchase amount of $100) Coupon is set up with the correct rules, limiting to user group &quot;Shopper&quot; and a user quota of 1.  I'd like to add anyone who purchases any product to the user group &quot;Shopper&quot; in order to offer that coupon to them for their next order. Instead of marking each of my thousands of products to &quot;Add User to Group after purchase&quot; is there a way to add ALL users to that group after their first purchase of ANY product?  Thanks. Absolutely love this component.")*

Hi,

It looks correct yes.

The filters start/length does not have effect in your case, you letting the default values is good.

Regards,

---

Jerome - Obsidev.com
HikaMarket &amp; HikaSerial developer / HikaShop core dev team.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMzLWN1c3RvbWVycy84NzE3MzgtYWRkLXVzZXItdG8tZ3JvdXAtc2hvcHBlci1hZnRlci1hbnktcHVyY2hhc2U/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.071 seconds

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