I'm working with a Shopify website that is using MailChimp [chimpified, or mailchimp for shopify] and I'm building a page where a customer can register their product. My goal is to send the user an email with a discount code upon successful registration.
Shopify offers pre-built email templates for things like 'new order notification' and 'order cancelled', but I'd like to build a custom template and send that upon successful registration.
I am all hooked into the successful AJAX of the registration process, but being new to Shopify I'm researching the best way to go about implementing this feature.