Hello all, I need to create a system where by I am able to have people signup for my newsletter and receive unique discount codes that can only be used once per visitor. I know that shopify doesn't do that yet. So here is the question: in shopify design pages, do they allow use of node.js or other languages to allow access to server side databases or files?
Thanks for your help!
Thanks, not trying to affect checkout. I want to be able to offer each new subscriber to my newsletter a unique discount code that can be generated by the bulk discount code app of shopify. For this, I need to download a csv of codes and have the script access a new code every time someone signs ups. Do you see what I mean?
If you are using Mailchimp you can probably use their API to collect the email addresses and based on that generate the codes. Unless you need the codes to be 100% realtime, you could probably have a list of codes generated every day and upload that to the bulk discounts application.
I'd say talk to a developer about it, but you can't create discounts from the Shopify API.