andysuarez
Forum Replies Created
-
Forum: Plugins
In reply to: [FoxyShop] MailChimp Email Integration Not Adding New SubscriberOk got it working now.the subscriber is already added into the list..Thank you very much for your help.. I really appreciate it..
Forum: Plugins
In reply to: [FoxyShop] MailChimp Email Integration Not Adding New SubscriberI see..so I will just copy the foxyshop-datafeed-endpoint.php in the plugin and upload the file under my theme’s file? I am using a child theme so I will add both MCAPI.class.php file and the foxyshop-datafeed-endpoint.php under my child theme?
Forum: Plugins
In reply to: [FoxyShop] MailChimp Email Integration Not Adding New SubscriberDataFeed Failed: (460864635) 2014-11-13 10:33:36 Datafeed Returned: <head/>
<b>Warning</b>: require_once(MCAPI.class.php): failed to open stream: No such file or directory in <b>/home/drrjp/public_html/wp-content/plugins/foxyshop/themefiles/foxyshop-datafeed-endpoint.php</b> on line <b>217</b><b>Fatal error</b>: require_once(): Failed opening required ‘MCAPI.class.php’ (include_path=’.:/usr/lib/php:/usr/local/lib/php:/home/drrjp/public_html/wp-content/plugins/background-manager/vendor/OAuth/lib’) in <b>/home/drrjp/public_html/wp-content/plugin
Forum: Plugins
In reply to: [FoxyShop] MailChimp Email Integration Not Adding New SubscriberI have tried it just now but still was not able to add subscriber to the list
Forum: Plugins
In reply to: [FoxyShop] MailChimp Email Integration Not Adding New Subscriberow..I see..OK I will try now..sorry for not understanding well.
Forum: Plugins
In reply to: [FoxyShop] MailChimp Email Integration Not Adding New SubscriberOK, sorry about that. I have deactivate my account now..
Here is what you said “But if you want to add everyone automatically, just don’t add the checkbox( I removed it now ) in step 4 and take out the if statement in your datafeed template (I did take out the if statement and give you what my code looks like). But still no subscribers being added. Am I missing something else? I think the code you shown to me is similar on what I also show to you.My MCAPI.class.php is under wp-content/themes/child_theme
Forum: Plugins
In reply to: [FoxyShop] MailChimp Email Integration Not Adding New SubscriberSubscribers is still not added in my list after I follow your instructions.
Here is my code.//If you have custom code to run for each order, put it here:
//Add Customer To Mailchimp
$add_to_mailchimp = 0;
foreach($transaction->custom_fields->custom_field as $custom_field) {
if ((string)$custom_field->custom_field_name == “newsletter_subscribe” && (string)$custom_field->custom_field_value == “1”) {
$add_to_mailchimp = 1;
}
}require_once ‘MCAPI.class.php’;
$mailchimp_api_key = ‘a746a82db34be0382639259b66ddd465-us9’;
$mailchimp_list_id = “135a7d3da3”;
$api = new MCAPI($mailchimp_api_key);
$merge_vars = array(
‘FNAME’ => $customer_first_name,
‘LNAME’ => $customer_last_name,
‘OPTINIP’ => (string)$transaction->customer_ip
);
$retval = $api->listSubscribe($mailchimp_list_id, $customer_email, $merge_vars, “html”, false);//Runs a WordPress action at the end if you prefer to customize that way
do_action(‘foxyshop_datafeed_order’, $transaction);
}//All Done!
die(“foxy”);Forum: Plugins
In reply to: [FoxyShop] MailChimp Email Integration Not Adding New SubscriberAnother question bothering me is that, can I automatically checked the box for newsletter subscribe and hide it..so user will not turn it off. I do want to add automatically user in my list after they purchase.
Forum: Plugins
In reply to: [FoxyShop] MailChimp Email Integration Not Adding New SubscriberHello..Thank you for the reply. I did not add any code in the checkout template. I folow steps 1-3. What will I do next?How can I tweak code in datafeed template?I used the datafeed url that is inside foxyshop settings.
Forum: Plugins
In reply to: [FoxyShop] Proceed Checkout Disable until tax is calculatedThank you, I think it is fine by me now.
Forum: Plugins
In reply to: [WOW Slider] setting wowsliderI want a title and a button to have a link inside my image slider. How can I do that. The solution you stated “Select image by clicking in WOWSlider app. and specify link in “Url” field.” is it only applicable on the paid version or the free version has that feature as well?
Hello. How can I removed the wowslider link at the bottom of the slider?
I have resolved the issue on my part. Thank you for the time..
Is it ok if I will share my login details with you? There is not much of php files in my editor. You can send me your email account then I will send there my login details.
Hello. I still can’t find where I should add the code. I am using dyamik theme of Genesis framework. So the header.php is a little different from other theme.
This is my header.php<?php /** * Genesis Framework. * * WARNING: This file is part of the core Genesis Framework. DO NOT edit this file under any circumstances. * Please do all modifications in the form of a child theme. * * @package Genesis\Templates * @author StudioPress * @license GPL-2.0+ * @link https://my.studiopress.com/themes/genesis/ */ do_action( 'genesis_doctype' ); do_action( 'genesis_title' ); do_action( 'genesis_meta' ); wp_head(); //* we need this for plugins ?> </head> <?php genesis_markup( array( 'html5' => '<body %s>', 'xhtml' => sprintf( '<body class="%s">', implode( ' ', get_body_class() ) ), 'context' => 'body', ) ); do_action( 'genesis_before' ); genesis_markup( array( 'html5' => '<div %s>', 'xhtml' => '<div id="wrap">', 'context' => 'site-container', ) ); do_action( 'genesis_before_header' ); do_action( 'genesis_header' ); do_action( 'genesis_after_header' ); genesis_markup( array( 'html5' => '<div %s>', 'xhtml' => '<div id="inner">', 'context' => 'site-inner', ) ); genesis_structural_wrap( 'site-inner' );
[Moderator Note: Please post code & markup between backticks or use the code button. Your posted code may now have been permanently damaged by the forum’s parser.]