Announcement

Collapse
No announcement yet.

MailChimp Module Support and Troubleshooting

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

    #91
    Re: MailChimp Module Support and Troubleshooting

    Originally posted by afiumano View Post
    Yes, I was able to do this by modifying the Mailchimp javascript file: mailchimp-js.js.

    Change the following 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();
    to:
    Code:
    function mailchimp_checkbox(){
    
            //set variables
            var isChecked =     $('input[name=newsletter]:checked').val();
            var shippingEmail = $('#BillEmail').val();
            var shippingFirstName = $('#BillFirstName').val();
            var shippingLastName = $('#BillLastName').val();

    Is this all that needs to be changed? I see a number of other references to shippingFirstName, shippingLastName:

    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();
    		
    		if (shippingEmail == ''){
            
    			alert("Please enter your email address above and try again.");
    			$('input[name=newsletter]').attr('checked', false);	
                
    		}else if(shippingFirstName == ''){
            
    			alert("Please enter your first name above and try again.");
    			$('input[name=newsletter]').attr('checked', false);	
                	
    		}else if(shippingLastName == ''){
            
    			alert("Please enter your last name above and try again.");
    			$('input[name=newsletter]').attr('checked', false);	
                
    		}else{
    		
    			if( api_key == '' || list_id == ''){
    				alert("Please enter your MailChimp API Key and select a list in the Miva Merchant admin under utilities.");
    			}else{	
    					
    				if(isChecked){
                    
    					disableCheckbox();
    					addSubscriber(api_key, list_id, shippingEmail, shippingFirstName, shippingLastName, 'checkbox_message');
    					setTimeout("enableCheckbox()",2000);
    						
    				}else{
    							
                    	disableCheckbox();
    					removeSubscriber(api_key, list_id, shippingEmail, 'false', 'false', 'false', 'checkbox_message');
    					setTimeout("enableCheckbox()",2000);
                        
    				}
    			} //end api key check
    				
    		} //end input valudation
    
    
    	} // end mailchimp checkbox
    Also the store owner is reporting some "goofy formatting" in the First Name when they enter something like Tom and Sherry becomes Tom%20and%20Sherry



    Thanks,
    Leslie
    Leslie Kirk
    Miva Certified Developer
    Miva Merchant Specialist since 1997
    Previously of Webs Your Way
    (aka Leslie Nord leslienord)

    Email me: [email protected]
    www.lesliekirk.com

    Follow me: Twitter | Facebook | FourSquare | Pinterest | Flickr

    Comment


      #92
      Re: MailChimp Module Support and Troubleshooting

      That is all I changed and it is working - but I am also getting the extra formatting in the actual Mailchimp list. I haven't tried fixing that yet. Maybe someone else has?

      Comment


        #93
        Re: MailChimp Module Support and Troubleshooting

        Hi folks --

        I see that this is a popular topic, so I'll mention that I'm just finishing up a Mailchimp-integration module myself, as a custom project for a single client. I'm hoping to turn it into a published product in the near future.

        Someone asked about interest groups, and my module does support those. It lets you assign different interest groups to specific categories, so that each cagegory can display sign-up checkboxes for the related groups. The module also displays the complete set of sign-up checkboxes on the Account and checkout pages.

        Anyone interested in getting a copy of the module now is welcome to email me. I'd also like to find out what other features would be useful. A couple of you mentioned having the module collect more name-and-address info; I should be able to do that easily enough. What else is on your dream list?

        Thanks --
        Kent Multer
        Magic Metal Productions
        http://TheMagicM.com
        * Web developer/designer
        * E-commerce and Miva
        * Author, The Official Miva Web Scripting Book -- available on-line:
        http://www.amazon.com/exec/obidos/IS...icmetalproducA

        Comment


          #94
          Re: MailChimp Module Support and Troubleshooting

          Originally posted by rterrible View Post
          Any word on adding this feature? I know a few others were asking about it and I would definitely love to see it added.
          I'll dog pile onto this one too. Store owner is wanting this box checked by default since Subscribe2 was set up that way for her.
          Leslie Kirk
          Miva Certified Developer
          Miva Merchant Specialist since 1997
          Previously of Webs Your Way
          (aka Leslie Nord leslienord)

          Email me: [email protected]
          www.lesliekirk.com

          Follow me: Twitter | Facebook | FourSquare | Pinterest | Flickr

          Comment


            #95
            Re: MailChimp Module Support and Troubleshooting

            Add me to the list of people who'd like the checkbox to be checked by default.

            @Leslie---Subscribe2? That brings back memories!
            Susan Petracco
            NetBlazon

            1.866.400.2444

            _____________________________________________

            Like us on Facebook

            Comment


              #96
              Re: MailChimp Module Support and Troubleshooting

              We had a client this week ask us to install Monkey Click on their website (they meant Mail Chimp).
              Thanks,

              Rick Wilson
              CEO
              Miva, Inc.
              [email protected]
              https://www.miva.com

              Comment


                #97
                Re: MailChimp Module Support and Troubleshooting

                Awesome! Along a similar thread, I find that I can't type "mailchimp" without trying very hard. It always comes out "mailchump" ;)
                Susan Petracco
                NetBlazon

                1.866.400.2444

                _____________________________________________

                Like us on Facebook

                Comment


                  #98
                  Re: MailChimp Module Support and Troubleshooting

                  Brennan, will the "Final Welcome Email" be sent to either people who subscribe via the checkbox, or to people who subscribe via the form that is built using the module? I'm not receiving them but it's possible I've set something up incorrectly. The final welcome email appears to be tied to a given form in Mailchimp though, so maybe it's not possible?
                  Susan Petracco
                  NetBlazon

                  1.866.400.2444

                  _____________________________________________

                  Like us on Facebook

                  Comment


                    #99
                    Re: MailChimp Module Support and Troubleshooting

                    Would like to know that too - seems I have store owner that has seen a dramatic drop in sign ups since switch from Subscribe2 to MailChimp - not really sure what the issue is.
                    Leslie Kirk
                    Miva Certified Developer
                    Miva Merchant Specialist since 1997
                    Previously of Webs Your Way
                    (aka Leslie Nord leslienord)

                    Email me: [email protected]
                    www.lesliekirk.com

                    Follow me: Twitter | Facebook | FourSquare | Pinterest | Flickr

                    Comment


                      Re: MailChimp Module Support and Troubleshooting

                      Hey Susan -

                      I just took a look at this. The way we are making the API call now it ignores the welcome email even if you have it selected to send for that specific list.

                      I will update this shortly to correct this so you can control the Final Welcome email settings via MailChimp.
                      Brennan Heyde
                      VP Product
                      Miva, Inc.
                      [email protected]
                      https://www.miva.com

                      Comment


                        Re: MailChimp Module Support and Troubleshooting

                        Thanks Brennan, that would be great!
                        Susan
                        Susan Petracco
                        NetBlazon

                        1.866.400.2444

                        _____________________________________________

                        Like us on Facebook

                        Comment


                          Re: MailChimp Module Support and Troubleshooting

                          Originally posted by Brennan View Post
                          I haven't tested having it checked by default, but Im not sure it would work even if you modified the template. The actual add is done on check (remove is done on uncheck).

                          If it is a feature people want I can probably add it into the core module so you can choose via the admin.
                          This seems to be a HUGE issue with a store owner. She's now wanting to switch to something else that lets the checkbox be checked and the customer has to uncheck it. Yeah, I know about the opt-in stuff. She has seen a dramatic decrease in subscribers since she switched from Subscribe2 to MailChimp.
                          Leslie Kirk
                          Miva Certified Developer
                          Miva Merchant Specialist since 1997
                          Previously of Webs Your Way
                          (aka Leslie Nord leslienord)

                          Email me: [email protected]
                          www.lesliekirk.com

                          Follow me: Twitter | Facebook | FourSquare | Pinterest | Flickr

                          Comment


                            Re: MailChimp Module Support and Troubleshooting

                            I'm digging deeper into this issue for the unhappy store owner and have discovered that when I use Firefox, it keeps giving me a message to enter my email address even though my email address is in the field. I'm going to test with other browsers/platforms and report back. This could be the actual problem.
                            Leslie Kirk
                            Miva Certified Developer
                            Miva Merchant Specialist since 1997
                            Previously of Webs Your Way
                            (aka Leslie Nord leslienord)

                            Email me: [email protected]
                            www.lesliekirk.com

                            Follow me: Twitter | Facebook | FourSquare | Pinterest | Flickr

                            Comment


                              Re: MailChimp Module Support and Troubleshooting

                              Something I had noticed when installing the MailChimp module on a site - the module's doc say that the installation will automatically create the item called "mailchimp" - no it doesn't.

                              Leslie
                              Leslie Kirk
                              Miva Certified Developer
                              Miva Merchant Specialist since 1997
                              Previously of Webs Your Way
                              (aka Leslie Nord leslienord)

                              Email me: [email protected]
                              www.lesliekirk.com

                              Follow me: Twitter | Facebook | FourSquare | Pinterest | Flickr

                              Comment


                                Re: MailChimp Module Support and Troubleshooting

                                The module should create the item for you when the module gets installed. Was this a new installation? If you want to send me access I can login and take a look.
                                Brennan Heyde
                                VP Product
                                Miva, Inc.
                                [email protected]
                                https://www.miva.com

                                Comment

                                Working...
                                X