Enable customers to send gift cards to recipients.
Note: Gift Kart is not a native Nyla integration, but is an app you can use with Nyla/Shopify's line item properties feature provided you submit the information in the right way.
The information in this document was accurate at the time of writing but you should refer to the latest Gift Kart documentation in order to submit your form in the right format.
Gift kart enables you to activate gift card functionality so that your customers can send gift cards to a third party recipient from the site, along with a customised message.
Activating Gift Kart:
1. Install the app in your Shopify store and set up a gift card product. You need to ask their team to activate headless support.
2. Set up your gift card product on Nyla.
- There is no need to activate the app on the Nyla dashboard, you simply need to set up a PDP for your gift card, and add in the right interface to enable customers to send their gift cards, along with the correct line item properties to send the details through with the order.
- Nyla has a block and a section with this configuration already loaded in,
- Block: Gift card block (Gift Kart)
- This contains the Add to cart and a CTA to generate the modal
- The modal comes loaded with the line item properties required to send your gift with gift kart.
- Section Templates: Gift Card PDP (Gift Kart)
- This is a PDP template with the gift card block already added that you can use as a jumping off point to configure your own gift card PDP.
-
To set this up from scratch, you can follow this documentation and use Nyla's line item properties feature to send the data in the required format.
- Block: Gift card block (Gift Kart)
- Customise your PDP UI to have the look and feel that you want
3. Add the following line item conditional properties:
_Send To Myself
- Type: Line item property
- Name: Your preferred name for the property
- Description: Your preferred description for the property
- Line Item Property: _Send To Myself
- Condition: When properties | json contains "To"
- Value: false
Delivery Date
- Type: Line item property
- Name: Your preferred name for the property
- Description: Your preferred description for the property
- Line Item Property: Delivery Date
- Conditions:
- properties._giftKartDay is not blank
- properties._giftKartMonth is not blank
- properties._giftKartYear is not blank
- Value: properties._giftKartYear-properties._giftKartMonth-properties._giftKartDay
For the values specified, make sure to copy the exact value, without any extra characters or spacing.
After setting up your gift card, we suggest running some testing to ensure that the gift card delivery is working as expected.