MailChimp Module Support and Troubleshooting

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • slabar
    Mivite

    • Jun 2006
    • 356

    #151
    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

    • Brennan
      Super Moderator









      • Jun 2009
      • 3481

      #152
      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:



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

      Comment

      • slabar
        Mivite

        • Jun 2006
        • 356

        #153
        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

        • Brennan
          Super Moderator









          • Jun 2009
          • 3481

          #154
          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

          • slabar
            Mivite

            • Jun 2006
            • 356

            #155
            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

            • slabar
              Mivite

              • Jun 2006
              • 356

              #156
              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

              • Brennan
                Super Moderator









                • Jun 2009
                • 3481

                #157
                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:
                [COLOR=#A71D5D]function[/COLOR] [COLOR=#795DA3]mailchimp_checkbox[/COLOR](){
                
                 
                
                		[COLOR=#969896]//set variables[/COLOR]
                
                		[COLOR=#A71D5D]var[/COLOR] isChecked [COLOR=#A71D5D]=[/COLOR]	 $([COLOR=#DF5000]'input[name=newsletter]:checked'[/COLOR]).val();
                
                		[COLOR=#A71D5D]var[/COLOR] shippingEmail [COLOR=#A71D5D]=[/COLOR] $([COLOR=#DF5000]'#ShipEmail'[/COLOR]).val();
                
                		[COLOR=#A71D5D]var[/COLOR] shippingFirstName [COLOR=#A71D5D]=[/COLOR] $([COLOR=#DF5000]'#ShipFirstName'[/COLOR]).val();
                
                		[COLOR=#A71D5D]var[/COLOR] shippingLastName [COLOR=#A71D5D]=[/COLOR] $([COLOR=#DF5000]'#ShipLastName'[/COLOR]).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

                • slabar
                  Mivite

                  • Jun 2006
                  • 356

                  #158
                  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

                  • kitdang
                    Mivite


                    • Jan 2009
                    • 406

                    #159
                    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

                    • Brennan
                      Super Moderator









                      • Jun 2009
                      • 3481

                      #160
                      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:

                      Today, let me introduce to you a new plugin I created called Subscribe Better. Subscribe Better is a jQuery plugin that lets you create a customizable subscription modal/newsletter signup window that annoy your users a little bit less than the traditional way. Although, I don’t condone this web design pattern of showing a subscription popup that blocks the content area, but if people are going to do it anyway, I think they should at least do it the right way.
                      Brennan Heyde
                      VP Product
                      Miva, Inc.
                      [email protected]
                      https://www.miva.com

                      Comment

                      • kitdang
                        Mivite


                        • Jan 2009
                        • 406

                        #161
                        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

                        • Brennan
                          Super Moderator









                          • Jun 2009
                          • 3481

                          #162
                          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

                          • kitdang
                            Mivite


                            • Jan 2009
                            • 406

                            #163
                            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

                            • netblazon
                              Developer Partner




                              • Mar 2006
                              • 717

                              #164
                              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

                              • netblazon
                                Developer Partner




                                • Mar 2006
                                • 717

                                #165
                                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