Coupon request from FB

  • Posts: 252
  • Thank you received: 1
6 years 9 months ago #272986

-- HikaShop version -- : 3.1.1

Hi,
Following is the requirement of our site.
The user submit from FB to request a coupon, and FB open a new page where the user login with FB OATH and a push the button to generate a coupon and keep the coupon in DB and send an email with the coupon code in the mean time.

When user purchase products, in checkout page, system check the db for the coupon and auto load the coupon number if the coupon exist.
The coupon was set to Quota per user:1, so next time user buy the same product, the coupon text box will not show up.

What should I do for the scenario ? Thanks.
Best regards

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

  • Posts: 81540
  • Thank you received: 13071
  • MODERATOR
6 years 9 months ago #273047

Hi,

There is no such system in HikaShop.
So that will require some development.
First, there is no setting in HikaShop coupons in order to restrict them to individual users.
So if you auto load the coupons, anyone would get the coupon.
And creating one user group per user is not viable.
So it would require some development to add the restriction per user for the coupons.
Then for the generation of the coupon with the code sent in an email, that would also require development as there is no system to generate coupons and send them by email.
There is with the integration with AcyMailing we have, but it's for newsleletters.
For one off emails sent based on an action of the user, it's not usable "as is" so it would at least require a small development to trigger the sending of the email from a plugin.
You might want to check with AcyMailing about that project.
They do custom work and that would be their expertise:
www.acyba.com/acyba/development-services.html

The following user(s) said Thank You: twscott

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

Time to create page: 0.060 seconds
Powered by Kunena Forum