How to sell a gift certificate?

  • Posts: 69
  • Thank you received: 4
  • Hikashop Business
12 years 6 months ago #50443

I just bought HikaSerial to create gift cards for a shop (I assume that is what you mean with gift certificates?) I want to sell a gift card, buyer gets a coupon code (serial?) that he can send to someone to use in the shop.

But I can't figure out how to do this. How to get started? What needs te be configured in HikaSerial and what in Hikashop? I'm totally confused by the serials and packs, and how to use it as a product that can be sold.

Please help me to get started :side:

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

  • Posts: 26158
  • Thank you received: 4028
  • MODERATOR
12 years 6 months ago #50444

Hi,

[ www.hikashop.com/fr/hikashop/107-hikaserial-welcome.html ]

A serial is a unique data which is assigned to a customer (and to his order) when he buy a special product.
A pack is a collection (a group, a list) of serials.

A serial is like a HikaShop product and a pack is like a HikaShop category.

I think that you want to create a pack "Gift certificate" and use the "coupon generator".
First, create the HikaShop discount which would be used as reference.
After that, create a "coupon generator" and fill the parameters:



When the generator is configured, you would have the possibility to attached it to a pack.


After the pack configuration, you would have to configure the link between a product and the pack.
In the product page, the "Serials" zone would be accessible:


The documentation is not yet finished and I will write more examples (and include more pictures).

Regards,


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

Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.
Attachments:

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

  • Posts: 69
  • Thank you received: 4
  • Hikashop Business
12 years 6 months ago #51033

Ok, thanks so far. I managed to create a product that generates a coupon code.

Now I'm running into three other problems.

1. The coupon is generated, but not sent by e-mail to the buyer. How can I make that happen?
2. I can use the coupon more than once, obviously that's not how it's supposed to be.
3. The coupon doesn't work on the shipping costs. So I have a coupon worth 25,-. I buy a product that costs 20,- and have to pay 5,- for shipping, I want to be able to use the coupon for the whole amount and not only for the product.

Thanks.

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

  • Posts: 26158
  • Thank you received: 4028
  • MODERATOR
12 years 6 months ago #51036

Hi,

In the "order_creation_notification" email, you would find this block:

<?php
	JPluginHelper::importPlugin('hikashop');
	$dispatcher =& JDispatcher::getInstance();
	$dispatcher->trigger('onAfterOrderProductsListingDisplay', array(&$data->cart, 'email_notification_html'));
?>
HikaSerial trigger this event and display the serial data if some serials are attached.
When the "creation" email is sent, the order could not be confirmed. So there is no serial attached.
You can use the "order_status_notification" instead but in the current version of HikaShop, the block is not include. You have to add it.

About the coupon, when you create the discount in HikaShop you can set a Quota (and a Quote per user).
Just set the quota to 1 and would be use only once. Each time HikaSerial create a coupon, it will make a copy of your "template" coupon.
Coupons are added to the cart before the shipping so it's not possible for now


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

Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.

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

Moderators: Obsidev
Time to create page: 0.050 seconds
Powered by Kunena Forum