Charging Customers for Giftnote (Developer Setup)
Written By Giftnote Admin
Last updated 9 months ago
Some brands choose to charge customers for adding a gift message. While Giftnote doesn’t offer this as a built-in feature, it can be implemented with a few lines of custom code in your theme.
⚠️ Important: This is a developer-led setup. Every Shopify theme is different — which is why we haven’t built this natively yet. Your team will need to implement the logic, but we’re here to support if needed. Email support@giftnote.com.
💡 Examples in the Wild
- Godiva – charges $2.50 for gift messaging at cart
- My Creative Box – optional paid gift message
- Sew Heart Felt – includes gifting as a cart add-on
🛠️ How to Set It Up
1. Create a Hidden “Gift Message” Product
- Set the price (e.g. $1.99)
- Hide it from sales channels
- Used only via script to charge for Giftnote
2. Detect When a Giftnote Is Added
Use JavaScript to:
- Listen for the
giftnote_savedevent - Or poll cart attributes for the presence of a giftnote
3. Add the Product Automatically
When a giftnote is detected:
- Use Shopify’s Cart JS API to add the “gift message” product
- Check first to ensure only one exists in the cart (don’t stack duplicates)
4. Remove It If the Giftnote Is Removed
Keep things in sync:
- Listen for
giftnote_removedor check cart attributes - If giftnote is gone, also remove the proxy product
5. Prevent Desync
To avoid confusion:
- Hide the “remove” button for the proxy product in the cart
- Or, if manually removed, clear the giftnote data too
🔍 Why Isn’t This Built In?
Every Shopify theme is coded differently. Charging for add-ons like Giftnote touches your cart logic, layout, and styling — which varies store to store. Rather than ship a half-solution, we leave this to your dev team (with our support if needed).
Questions? Not sure how to implement it? Reach out to support@giftnote.com.