Announcement

Collapse
No announcement yet.

MailChimp Module Support and Troubleshooting

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Re: MailChimp Module Support and Troubleshooting

    My Mailchimp module is no longer speaking with my Mailchimp Database. Has something changed? I checked for a module update but I already have the latest version.

    Hit enter to fast:

    Added:

    1) You can subscribe fine
    2) You can unsubscribe fine
    3) If you are subscribed and hit subscribe the script just hangs instead of showing the already subscribed message
    4) If you are checking out and hit subscribe the script hangs instead of showing the already subscribed message
    5) If you are checking out and are not subscribed you receive an error message, "Invalid Email Address: undefined"
    Last edited by slabar; 06-09-15, 06:49 PM.
    Sincerely,

    Stephen M. LaBar, Jr.
    (770) 441-9447
    The Martial Arts Store

    Please Visit Our Site At:
    http://www.themartialartsstore.com

    Comment


      Re: MailChimp Module Support and Troubleshooting

      There have been some slight changes to the JavaScript which does not automatically update between updates. Try going to Advanced Settings, then in the JavaScript box replace it with this code:

      https://gist.github.com/bheyde/a808800fbb14ddebaa45

      See if that makes any difference.
      Brennan Heyde
      VP Product
      Miva, Inc.
      [email protected]
      https://www.miva.com

      Comment


        Re: MailChimp Module Support and Troubleshooting

        Brennan,

        Thanks for the quick reply. That appears to have fixed all the errors except for the "Invalid Email Address: undefined" we are receiving on the customer information page during the checkout process.
        Sincerely,

        Stephen M. LaBar, Jr.
        (770) 441-9447
        The Martial Arts Store

        Please Visit Our Site At:
        http://www.themartialartsstore.com

        Comment


          Re: MailChimp Module Support and Troubleshooting

          The module is looking for the email address text input to have an id of "ShipEmail"

          It looks like yours has an id of: id="l-ShipEmail"

          Remove the l- and it should fix it.
          Brennan Heyde
          VP Product
          Miva, Inc.
          [email protected]
          https://www.miva.com

          Comment


            Re: MailChimp Module Support and Troubleshooting

            Is that a bug in the template then? I have not changed those fields from the default settings.
            Sincerely,

            Stephen M. LaBar, Jr.
            (770) 441-9447
            The Martial Arts Store

            Please Visit Our Site At:
            http://www.themartialartsstore.com

            Comment


              Re: MailChimp Module Support and Troubleshooting

              Brennan,


              Before I change anything I wanted to ask you a question as I noticed all the fields contain the l-. Do you want me to change them all or just the ship email address field?
              Sincerely,

              Stephen M. LaBar, Jr.
              (770) 441-9447
              The Martial Arts Store

              Please Visit Our Site At:
              http://www.themartialartsstore.com

              Comment


                Re: MailChimp Module Support and Troubleshooting

                It looks like in the suivant theme we are adding that prefix. Instead of changing all of the ids, you can update the Javascript to look for that id:

                look for this code:

                Code:
                function mailchimp_checkbox(){
                
                 
                
                		//set variables
                
                		var isChecked =	 $('input[name=newsletter]:checked').val();
                
                		var shippingEmail = $('#ShipEmail').val();
                
                		var shippingFirstName = $('#ShipFirstName').val();
                
                		var shippingLastName = $('#ShipLastName').val();
                
                ....
                Change the #ShipEmail to be #l-ShipEmail. The same with ShipFirstName and ShipLastName
                Brennan Heyde
                VP Product
                Miva, Inc.
                [email protected]
                https://www.miva.com

                Comment


                  Re: MailChimp Module Support and Troubleshooting

                  Brennan,

                  That worked like a charm sir. Thank you!
                  Sincerely,

                  Stephen M. LaBar, Jr.
                  (770) 441-9447
                  The Martial Arts Store

                  Please Visit Our Site At:
                  http://www.themartialartsstore.com

                  Comment


                    Re: MailChimp Module Support and Troubleshooting

                    Brennan and mailchimp users,

                    I just installed the module on my dev site a few days ago and I have a few questions for those that have tested the module. I know the discussion started way back in 2013 but not sure what are fixed and what hasn't

                    1. Can I add the 'checked' attribute on the input tag on OCST page to default the checkbox to check or do I need to modify the javascripts? If yes to Javascripts, how do I go about doing this?

                    2. When a user enter their email address, is it possible to trigger a welcome email? Mailchimp form allow this but since the form is created through the module, is that supported? If so, any instruction on how to do this?

                    3. How do i go about implementing a splash screen with the form when a user first visit the site?

                    Thanks

                    Comment


                      Re: MailChimp Module Support and Troubleshooting

                      Hi Kit -

                      1. There are no settings to make it enabled by default, however the JavaScript can be updated to support it. I know we have done it before on other clients, let me see if I can track it down

                      2. The module does not currently support this, but it is on our list to add in our next update

                      3. We typically use some JavaScript to accomplish that. There are a lot of options out there. Here is one I found:

                      http://www.onextrapixel.com/2014/08/...ibe-better-js/
                      Brennan Heyde
                      VP Product
                      Miva, Inc.
                      [email protected]
                      https://www.miva.com

                      Comment


                        Re: MailChimp Module Support and Troubleshooting

                        Brennan,

                        I am getting "Invalid Email Address: undefined" when I checked the checkbox on OCST. What email address am I verifying? I didn't modify any code so do I need to do something to fix this?

                        Comment


                          Re: MailChimp Module Support and Troubleshooting

                          If you're using one of the new readyTheme they have a different id on the checkout fields.

                          In the Mailchimp Advanced Setting area, go into the JS and look for this code:

                          Code:
                          function mailchimp_checkbox(){
                          
                          
                          		//set variables
                          		var isChecked =	 $('input[name=newsletter]:checked').val();
                          		var shippingEmail = $('#ShipEmail').val();
                          		var shippingFirstName = $('#ShipFirstName').val();
                          		var shippingLastName = $('#ShipLastName').val();
                          ....
                          Update the 3 variables for email, first name and last name to match the ids on the form inputs for your store.
                          Brennan Heyde
                          VP Product
                          Miva, Inc.
                          [email protected]
                          https://www.miva.com

                          Comment


                            Re: MailChimp Module Support and Troubleshooting

                            Thanks Brennan. That works. Here are the fields I changed just in case someone else needed this.

                            l-ShipFirstName
                            l-ShipLastName
                            l-ShipEmail

                            Comment


                              Re: MailChimp Module Support and Troubleshooting

                              What would cause this error on the checkbox during checkout?

                              MMERGE11 must be provided - Please enter a value

                              All of the values being passed to the addSubscriber function are correct, so I know it's not a problem with the ID attribute of a field.
                              Susan Petracco
                              NetBlazon

                              1.866.400.2444

                              _____________________________________________

                              Like us on Facebook

                              Comment


                                Re: MailChimp Module Support and Troubleshooting

                                So never mind...I got access and it turns out the customer made some custom fields required.
                                Susan Petracco
                                NetBlazon

                                1.866.400.2444

                                _____________________________________________

                                Like us on Facebook

                                Comment

                                Working...
                                X