Custom field for coupon function

  • Posts: 61
  • Thank you received: 1
12 years 3 months ago #60701

Hi
When a user register in HikaShop or when he does his first login in the shop (some user have already a user account on the the website), then I want him to get a single ID, something like a random code (e.g. E5B3H7). In best case users receive this code trough e-mail AND can see it, every time they log-in in the shop or in the "myProfile" page, created with the ExtendedReg module as the normal registration on the webpage is handled with ExtReg also.

Every time a other user order something in the shop, no matter what and he put in a field the ID of his "friend", in the frieds account will a counter add 1 number (1+1+1+ ....).
The rest is handled by the administrator, who reset the account after a certain time range.
Nice would be a function, that the administrator (and maybe the user too) receives a mail, when the counter reaches 10 oder a other limit.

Thank you for your ideas, how to implement it in Hthe great HikaShop
Rolandus

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

  • Posts: 82819
  • Thank you received: 13366
  • MODERATOR
12 years 3 months ago #60781

Hi,

Assigning a coupon code to a user and sending it to him automatically by email can be done with the integration we have with AcyMailing in the commercial editions of HikaShop:
www.acyba.com/en/support/documentation/1...plugin-hikashop.html
Regarding the sending of a newsletter once he logs in, it might require a bit of customization on AcyMailing's end so you should see that with them.

Regarding the display of the coupon code in the profile page of the user, it would require to edit the view in extendedReg which I don't know at all. So you will have to see that with them.
The best would be to use a coupon code which can easily be retrieved based on the information of the user.

There is a counter on the number of uses of coupons. But there is no things to get an email sent to the admin based on the number of uses. I think that it could be done with AcyMailing though with an auto filter with a query condition on the discount_used_times column of the hikashop_discount table.

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

  • Posts: 61
  • Thank you received: 1
12 years 3 months ago #60981

And how the system would create asingle coupon (ID) automatically while user registrate in HikaShop?
www.hikashop.com/index.php?option=com_up...-form&level=Business

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

  • Posts: 61
  • Thank you received: 1
12 years 3 months ago #60988

I like to it in some way a affiliate marketing:
Each User, who buy someting receives automatically a code.
This code he sends to friends. Each time a friends put this code, when he frieds buy something, in the account of the user, to whom belongs the code, a counter would be 1 higher.

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

  • Posts: 82819
  • Thank you received: 13366
  • MODERATOR
12 years 3 months ago #61054

You use the acymailing user registration plugin so that it adds to users to a list.
Then, you setup a campaign on that list so that it sends an email to the user as soon as he is added to the list.
In the email, you add a hikashop coupon code. That will generate a coupon and add the code automatically in that email.

And voilà.

Then, when you edit the coupon you will be able to see the number of times the coupon has been used.

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

Time to create page: 0.057 seconds
Powered by Kunena Forum