Hi everyone
I wondered if anyone could help. We are looking at ways of adding a newsletter signup checkbox type thing to the checkout pages, that would automatically update Mailchimp during the checkout process. Presently, we use one of the user defined layouts in checkout page 1 to manually gather this information.
I came across this old thread....(http://community.sellerdeck.com/showthread.php?t=50950), the key part of which i have pasted below.
"One way to do this is to amend the "Next" button functionality in the checkout.
The basic idea is:
- Customer enters their email address
- Customer selects "Yes"
- A Javascript AJAX function is called which passes the email address/name values to a PHP file on your server which then makes the API call to the Email Marketing API
- Whether successful or not the checkout then progresses to the next page once the API call has completed (in Javascript terms the AJAX method call would always return true)"
Can anyone expand on this type of idea? Or does anyone have a working example or procedure that we could try?
All ideas welcome.
Thanks, Adam
I wondered if anyone could help. We are looking at ways of adding a newsletter signup checkbox type thing to the checkout pages, that would automatically update Mailchimp during the checkout process. Presently, we use one of the user defined layouts in checkout page 1 to manually gather this information.
I came across this old thread....(http://community.sellerdeck.com/showthread.php?t=50950), the key part of which i have pasted below.
"One way to do this is to amend the "Next" button functionality in the checkout.
The basic idea is:
- Customer enters their email address
- Customer selects "Yes"
- A Javascript AJAX function is called which passes the email address/name values to a PHP file on your server which then makes the API call to the Email Marketing API
- Whether successful or not the checkout then progresses to the next page once the API call has completed (in Javascript terms the AJAX method call would always return true)"
Can anyone expand on this type of idea? Or does anyone have a working example or procedure that we could try?
All ideas welcome.
Thanks, Adam
Comment