Skip to main content

Coupon valid only for new costumers

More
4 years 9 months ago #338518 by rallyitalia
-- 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.

More
4 years 9 months ago #338521 by nicolas
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.

More
4 years 9 months ago #338541 by rallyitalia
ok, thanks

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

More
4 years 8 months ago #339139 by rallyitalia
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.

More
4 years 8 months ago - 4 years 8 months ago #339144 by Philip
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: 4 years 8 months ago by Philip.

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

More
4 years 8 months ago #339164 by rallyitalia
it works, thanks!

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

Time to create page: 0.166 seconds
Powered by Kunena Forum