I thought about if creating a gift card as a product and generating the gift card via some code, is it then possible to assign the customer, who bought the gift card?
So you have a property for the gift card, with the customer or member name? or maybe an option to add additional properties, an example could be type with the possible values "virtual" or "physical".
When you generate the gift card using the GiftCardService.Instance.Generate it is possible to assign an order id. Buy having this you will be able to load the order and look for the info here.
Assign customer to gift card
I thought about if creating a gift card as a product and generating the gift card via some code, is it then possible to assign the customer, who bought the gift card?
So you have a property for the gift card, with the customer or member name? or maybe an option to add additional properties, an example could be type with the possible values "virtual" or "physical".
An example of how nopCommerce does it: http://docs.nopcommerce.com/display/nc/Gift+Cards
/Bjarne
Hi Bjarne
When you generate the gift card using the GiftCardService.Instance.Generate it is possible to assign an order id. Buy having this you will be able to load the order and look for the info here.
Kind regards
Anders
Hi Anders
Okay, so the gift cards display an order number if they are related to an order and then you can look up the order?
Would it make sense if the gift card have properties like type and customer? E.g. to search for gift cards of type "virtual" or by customer.
/Bjarne
is working on a reply...