Discuss and resolve questions on Liquid, JavaScript, themes, sales channels, and site speed enhancements.
Hey guys,
I'm trying to add a gift recipients email address collected on the cart to my email list in Klaviyo so we can email them the gift information.
I'm able to collect the email address as a cart attribute and it successfully adds to the order using the input tag below:
<p class="cart-attribute__field">
<label for="giftee-email">Email Address</label>
<input id="giftee-email" type="text" name="attributes[giftee-email]" value="{{ cart.attributes["giftee-email"] }}" placeholder="Type their Email">
</p>
However I need to then add that {{ cart.attributes["giftee-email"] }} into shopify as a contact or directly into Klaviyo so that I can email them.
Any thoughts on how I can do that?
@Mikemoke wrote:However I need to then add that {{ cart.attributes["giftee-email"] }} into shopify as a contact or directly into Klaviyo so that I can email them.
usemechanic app to automate something like that, or third party services like zapier , integromat
Contact me if you need a mechanic script to create customers from those emails
An alternative non-cohesive hack would be to submit a contact form on their behalf using the giftee-email, you'd have the contact , but not necessarily any post-order creation data.
Contact paull.newton+shopifyforum@gmail.com for the solutions you need
Save time & money ,Ask Questions The Smart Way
Problem Solved? ✔Accept and Like solutions to help future merchants
Answers powered by coffee Thank Paul with a ☕ Coffee for more answers or donate to eff.org
Hey Community! As the holiday season unfolds, we want to extend heartfelt thanks to a...
By JasonH Dec 6, 2024Dropshipping, a high-growth, $226 billion-dollar industry, remains a highly dynamic bus...
By JasonH Nov 27, 2024Hey Community! It’s time to share some appreciation and celebrate what we have accomplis...
By JasonH Nov 14, 2024