Tira here, from Shopify Support.
That is a great question. We actually have a feature called, Buy X, Get Y that allows you to generate a discount code that would require the customer to make a purchase, and they would receive another product or discount in return. This also works with providing a free product that you could use as a free gift, to the customer. Check out our help doc that outlines the steps on how to create this discount in your Shopify admin, here: Creating discount codes - Buy X, Get Y.
Is this what you were looking to do, or were you looking to only issue a free gift to a customer without the need to make a purchase? Thank you @AiTrillion for taking a look at this question, as well!
Thank you for providing more details that you're looking to provide only a free gift when a customer enters a code. It sounds like you're wanting to hide the product so that only the customer can have access to the 100% discount. Is that right?
You can always create a discount code that is restricted to a specific customer. To do this, you can follow these steps:
- Click on Discounts in your Shopify admin
- Click on Create discount
- After entering your discount code details, head to the Customer Eligibility section - here you can limit the code to a certain customer.
This would allow the specific customer to be the only customer eligible to add the code to their cart. Check out our help doc on creating discount codes for specific customers, here: Creating discount codes.
Let me know if that helps or if you require more information!
|3 hours ago|
|3 hours ago|