baugh05
Forum Replies Created
Viewing 4 replies - 1 through 4 (of 4 total)
-
Forum: Plugins
In reply to: [WP WooCommerce Mailchimp] Your merge fields were invalid.Thanks for the reply Adam! I am still receiving the error email using the following code:
// tie into the WooCommerce MailChimp 'ss_wc_mailchimp_subscribe_merge_vars' action filter to modify the MailChimp merge vars function ss_wc_modify_mailchimp_merge_fields( $merge_vars, $order_id ) { // By default $merge_tags will look like array( 'FNAME' => 'Joe', 'LNAME' => 'Smith', 'EMAIL' => 'joe.smith@example.com' ); // Retrieve the WooCommerce order $order = new WC_Order( $order_id ); // Get the order billing address $billing_address = $order->get_address( 'billing' ); // Get the billing address state $state = $billing_address[ 'state' ]; // Get the billing address country $country = $billing_address[ 'country' ]; // let's add a new 'STATE' merge field - NOTE: You'll need to change this to the actual name // of your merge field in MailChimp $merge_tags[ 'STATE' ] = $state; $merge_tags[ 'COUNTRY' ] = $country; return $merge_tags; } add_filter( 'ss_wc_mailchimp_subscribe_merge_tags' , 'ss_wc_modify_mailchimp_merge_fields', 10 , 2 );Any suggestions on how I can fix the snippet to get billing address state and country fields to save to mail chimp?
Forum: Plugins
In reply to: [Jetpack - WP Security, Backup, Speed, & Growth] JetPack Sharing Buttons BugI’m experiencing the same double icons on product page since updating to 4.0.2.
Forum: Plugins
In reply to: [Easy Instagram] Cached images not renderingThank you johnnycastrup and Kenny!! Solved the caching problem.
Forum: Plugins
In reply to: [DsgnWrks Importer for Instagram] Redux? No new Instagram shots to importI am having the same problem with the recent update. The plugin never makes it to link with Instagram. Was there a fix?
Viewing 4 replies - 1 through 4 (of 4 total)