Hauptanliegen:
Ein Nutzer möchte eine separate Seite erstellen, auf der Kunden einen Geschenkcode für ein bestimmtes Produkt einlösen können, ohne durch Produktauswahl und Checkout navigieren zu müssen.
Gewünschter Ablauf:
Kunde gibt Code auf dedizierter Seite ein
Automatische Weiterleitung direkt zum Checkout des spezifischen Produkts
Kunde gibt nur persönliche Daten ein, ohne Gebühren zahlen zu müssen
Vorgeschlagene Lösung:
Neue Seite unter “Online Store” > “Pages” erstellen
Formular mit Apps wie Form Builder oder custom HTML/Liquid einbinden
Code-Validierungsskript implementieren (z.B. mit Coupon Validator App)
Redirect-Funktion zur Checkout-Seite einrichten (z.B. mit Easy Redirects App)
Checkout-Prozess vereinfachen durch Entfernen unnötiger Schritte
Technische Details:
Da Shopify keinen direkten Endpoint für Discount-Code-Validierung bietet, wurde vorgeschlagen:
AWS Lambda-Funktion nutzen, die den Discount Lookup Endpoint aufruft (/admin/api/2019-10/discount_codes/lookup)
Formular-Setup zur Validierung über AWS Endpoint
Rückgabe von True/False zur Code-Überprüfung
Status: Diskussion bleibt offen; spezifische App-Empfehlungen wurden angefragt, aber keine eindeutige Lösung gefunden.
Summarized with AI on November 20.
AI used: claude-sonnet-4-5-20250929.
I would like to create a separate page so the customer can redeem their code easily without having to select a product and go to checkout. The discount code would be generated for 1 product in particular. Only this product can be redeemed.
I would like that my customer enters his code like bellow:
then he would be automatically redirected to the checkout of the product without having to pay any fees only enters his personal information that’s it.
I want to make it super easy, not product searching, selection, chekout- A direct code activation that sends the costumer directly to his card with his gifted product.
Thanks for your question and you have reached the German Community here but we can chat in English that’s no problem!
To create a separate page and form in your Shopify store where customers can redeem their code easily and be redirected to the checkout of the designated product, you could try something like the following steps:
Create a new page in your Shopify store by going to “Online Store” > “Pages” > “Add page”.
Give the page a title such as “Redeem Your Code” and add a message explaining how the code works and which product it is valid for.
Create a new form on the page where customers can enter their code. To do this, you can use an app such as Form Builder or create a custom form using HTML and Liquid.
Add a code validation script to the form that checks whether the code entered by the customer is valid for the designated product. You can use an app like Coupon Validator to accomplish this.
Once the customer enters a valid code, use a redirect script to send them directly to the checkout page for the designated product. You can use an app like Easy Redirects to accomplish this.
Modify the checkout page to remove any unnecessary fields or steps to make the process as simple as possible for the customer. Test the code redemption process to ensure that it works smoothly for customers.
Hope that can bring you closer to finding a solution for your specific needs and requirements! With any further questions I highly recommend our experts and programmers and I can suggest a few for you if you like!
There isn’t really a direct endpoint for that Especially if the discount code is limited to one use per customer, but you could use an AWS lambda function that hits the discount lookup (/admin/api/2019-10/discount_codes/lookup.json?code=)
Then check the content type returned e.g. If it’s html or json and see if there’s a not-found error. Just have a form setup to hit the AWS endpoint and it should return a True or False.