Coupon valid only for new costumers

  • Posts: 6
  • Thank you received: 0
  • Hikashop Business
4 months 1 week ago #338518

-- HikaShop version -- : 4.4.5 business
-- Joomla version -- : 3.10.4
-- PHP version -- : 7.4
-- Browser(s) name and version -- : all

Is it possible to set the coupon to be valid only for new customers?

Please Log in or Create an account to join the conversation.

  • Posts: 75522
  • Thank you received: 11755
  • MODERATOR
4 months 1 week ago #338521

Hi,

It's possible but a bit cumbersome.
You need to create a user group configured the same way as the "registered" user group.
Then, you need to create a mass action on the "order" data with a trigger "after an order is confirmed" and an action "change the user group" with the mode "replace" and the new user group you created.
That way, when users from the "registered" user group purchase something, they will be moved to the new user group instead of the "registered" user group.
Then, in your coupon, you can use the "access level" setting to restrict it to the "registered" user group.
Now this also means that guest users won't be able to use the coupon even if they can place an order as a guest, without creating a user account.

However, a simpler solution would be to just set the "quota per user" to 1 in the coupon. That way, a user will only be able to use the coupon once and this will also apply to guest checkouts (based on the email address entered). But that means that users with already an order on your website will be able to use that coupon once.

Please Log in or Create an account to join the conversation.

  • Posts: 6
  • Thank you received: 0
  • Hikashop Business
4 months 1 week ago #338541

ok, thanks

Please Log in or Create an account to join the conversation.

  • Posts: 6
  • Thank you received: 0
  • Hikashop Business
3 months 3 weeks ago #339139

I have problem to create a mass action on the "order" data with a trigger "after an order is confirmed" and an action "change the user group" with the mode "replace" and the new user group you created.
Where do i make these settings?

Please Log in or Create an account to join the conversation.

  • Posts: 3618
  • Thank you received: 488
  • MODERATOR
3 months 3 weeks ago #339144

Hello,

Try to reproduce my setting screenshot, and take good care about the red bordered settings :



This will allow to update customer when an order is updated and if the order status is "confirmed".
Hope this will fit your needs.

Regards

Last edit: 3 months 3 weeks ago by Philip.

Please Log in or Create an account to join the conversation.

  • Posts: 6
  • Thank you received: 0
  • Hikashop Business
3 months 2 weeks ago #339164

it works, thanks!

Please Log in or Create an account to join the conversation.

Time to create page: 0.053 seconds
Powered by Kunena Forum