taastrategies
Forum Replies Created
-
I avoided using any specialized fields when I created the additional fields. The fields were all specified as “text” see screenshot:
https://taastrategies.com/wp-content/uploads/2017/02/TAAS-MailChimp-List-Fields.png
Never-the-less, I added TESTFIELD (NEWTEXTFIELD was too long) and replaced the code in functions.php with code as requested below:
<?php /** * Generate child theme functions and definitions * * @package Generate */ /* MailChimp for WordPress Send more WooCommerce subscription fields to MailChimp list https://mc4wp.com/kb/send-more-woocommerce-fields-to-list/ Earl Adamy 02/18/2017 */ add_filter( 'mc4wp_integration_woocommerce_data', function( $data ) { // Grab MailChimp field values from the current request $data[‘TESTFIELD’] = ‘Test string 123’; // Return the fields so the plugin knows to send them to MailChimp return $data; });
There is absolutely nothing arriving except email, LNAME, and FNAME which, of course, are being sent from other code.
- This reply was modified 7 years, 8 months ago by taastrategies.
They are the exact names shown in MailChimp’s field name settings for the list. There are two choices shown for each field, a user-name and a MERGE tag. The list indicates they can be used interchangeably.
The MC4WP KB article on passing additional fields uses the user-name rather than the merge tag in the examples:
https://mc4wp.com/kb/send-more-woocommerce-fields-to-list/
By default the MailChimp for WordPress plugin sends over only the NAME, FNAME, LNAME and EMAIL fields. If you would like to add some more, a little editing is required.
add_filter( 'mc4wp_integration_woocommerce_data', function( $data ) { // Grab MailChimp field values from the current request $data['COUNTRY'] = sanitize_text_field( $_POST['billing_country'] ); $data['CITY'] = sanitize_text_field( $_POST['billing_city'] ); // Return the fields so the plugin knows to send them to MailChimp return $data; });
I find it amazing that the MC4WP developers would like me to upgrade to their Premium plug-in when they can’t be bothered with answering basic questions.
The 2.5.1 update released a few days ago seems to have fixed most of the issues on both Android phone and tablet. Seems to be working quite well across all devices. Thank you.
- This reply was modified 7 years, 9 months ago by taastrategies.
Thank you for the response. That behaves as desired on my Windows laptop in Chrome; however not so on IE 11 or Edge or on Android tablet and smartphone where the popup extends below the bottom of the screen and lacks a scrollbar.
The support here is much more responsive here than with the other plugin (no support; however I’ve managed to resolve the issues with the other plugin across all platforms on my own. Unfortunately, I need exit intent technology which will require an upgrade. I’m happy to support developers who provide good support on free versions, no so with developers who don’t.
Thank you. I’m marking the ticket closed.
Forum: Plugins
In reply to: [MC4WP: Mailchimp for WordPress] Send More WooCommerce Fields To ListNever mind. The theme developer provides a child theme package which I added under the theme folder, then added the code to functions.php. Still not working but that is a different topic.
Thank you for the reply. This is my test page:
https://taastrategies.com/insights-testpm/
The content is taller than the page. The desired behavior is to limit the height of the popup to 80% of the page height and embed scroll bars within the popup to navigate content without moving the underlying page. I believe this is your #2. I’ll worry about the look of the scrollbars later.
Since I can not find “Scrollable Popups” in the Display Settings Pane, I assume you are referring to Responsive Sizes. My settings are:
Responsive Sizes = Large – 80%
Min Width = 300px
Fixed Positioning is checkedThis appears to be as you described yet the popup extends well below the bottom of the screen with no scrollbars.
Changed test page to https://taastrategies.com/home/insights-testpb
- This reply was modified 7 years, 9 months ago by taastrategies.
Forum: Plugins
In reply to: [MC4WP: Mailchimp for WordPress] MailChimp integration with WooCommerceI am still awaiting a response for this ticket.
I have found the problem and cleared the checkbox. Thank you.
Forum: Plugins
In reply to: [MC4WP: Mailchimp for WordPress] MailChimp integration with WooCommerceI have the basic blog email side working fine and it is adding emails to hidden group Followers. I have installed the WooCommerce integration implicit w/o double opt-in and it too is adding subscriber name and email to hidden group “Followers”.
1) The MC list has 4 groups and the one I want WC customers added to is Group “Subscribers”. The setup did not give me the opportunity to specify a group?
2) I want to transfer additional fields from WC to MC. I have used the KB article to construct the required “add_filter” code to be added to “functions.php”.
add_filter( 'mc4wp_integration_woocommerce_data', function( $data ) { // Grab MailChimp field values from the current request $data['PHONE'] = sanitize_text_field( $_POST['billing_phone'] ); $data['ADDRESS1'] = sanitize_text_field( $_POST['billing_address_1'] ); $data['ADDRESS2'] = sanitize_text_field( $_POST['billing_address_2'] ); $data['CITY'] = sanitize_text_field( $_POST['billing_city'] ); $data['STATE'] = sanitize_text_field( $_POST['billing_state'] ); $data['ZIP'] = sanitize_text_field( $_POST['billing_postcode'] ); $data['COUNTRY'] = sanitize_text_field( $_POST['billing_country'] ); // Return the fields so the plugin knows to send them to MailChimp return $data; });
I’ve never modified a php file; however I find plugins/mailchimp-for-wp/includes/functions.php. Each code snippet in the file begins with with “function” so sticking the above code into the file seems out of place. Is this the correct file? Will the change survive future upgrades?
Thank you.
- This reply was modified 7 years, 10 months ago by taastrategies.
MP served me well; however it seems to be mired in some kind of new release hell with everything else on hold. I needed features now. Yes, I disabled and removed the plugin but checkbox remained. I then reinstalled in effort to locate issue when the checkbox did not go away. I have not been able to locate the offending code anywhere.
Forum: Plugins
In reply to: [Mailchimp for WooCommerce] MC for WC list integrationThank you for the quick response.
I have implemented groups to provide classification of a single email list while providing unified email address management and duplicate checking.
In this case, a Subscriber has already paid to receive updates from a restricted campaign. There is no option (checkbox) to subscribe because the act of making payment completes the subscription process. I would be afraid that if they have to check a box that they might not and as a result, not receive their updates. Thus, I need the ability to automatically apply a Group and the ability to subscribe w/o a check box.
OOH, a blog Follower goes through the double opt-in process and I have code in my embedded email form to automatically check the Follower group.
Earl
Forum: Plugins
In reply to: [RPS Include Content] Content is reformattedProblem solved. I copied your [rps-include post=”5″ filter=”true”] into my page and changed the post number: [rps-include post=”414″ filter=”true”]. It worked. I then rolled back the version to the same short code as I posted in the 3rd post in this thread: [rps-include post=414 filter=”true”]. The highlighter showed the absence of quotes around 414.
I have toggled it back and forth several times and the behavior is repetitive. Paragraphs run together w/o quotes around the page ref and display properly with quotes around the page ref.
Thank you for your help.
Forum: Plugins
In reply to: [RPS Include Content] Content is reformattedNot to my knowledge, but why are we chasing history of an indeterminate nature and time?
I have tested turning off the cache and duplicating the Elements on Page A to Page B. Nothing makes a difference.
The body of Page A is pure WordPress text and png’s. The code on Page B requests that the same info and format be reproduced on Page B. Page B lacks the sidebar and menu.
The replication is faulty. In checking Page B more closely, I see that all “paragraph” level paragraphs (not just the text at the top) are merged into one paragraph even when paragraph is terminated with Enter. Nor is the plugin coping with lines terminated with Shift+Enter.
Forum: Plugins
In reply to: [RPS Include Content] Content is reformattedSorry, but I can not revert the content w/o restoring the entire website from backup which affects numerous other pages. I limit the revision stack to 5. Fortunately, an older version exists in a sandbox at:
https://taas.alishawordpress.com/aeducation/performance/
https://taas.alishawordpress.com/aeducation/performancereference/I was mistaken in thinking that the problem started with the recent edit. The 3 front paragraphs were run together as were the reference list at the bottom.
I see no other course for debugging than to replicate my page source
Page A: https://taastrategies.com/performance/
Page B: https://taastrategies.com/performancereference/and look for whatever conditions are triggering the issue.