hassandad
Forum Replies Created
-
Ok simply getting product discount price will provide this discount. Sorry for the question.
$product = new WC_Product($product->id);
$product->get_regular_price();
$product->get_sale_price();I am able to resolve my basic issue as well i asked question for.
In file plugins/wp-content/plugins/mailchimp/js/mailchimp.js on line 26
Replace this line
$(‘#mc_message’).html(data);with
$(‘#mc_message’).html(data).addClass(‘published’);
And now responce messages are also appearing.
Thanks you. Now i will not update this plugin ??
Ok i am able solve this warning by replacing
public function get($endpoint, $count=10, $fields)
with
public function get($endpoint, $count=10, $fields=array())
In wp-content/plugins/mailchimp/lib/mailchimp/mailchimp.php on line 21
But my basic issue is already there its not showing the warnings. Let me know are you able to confirm the issue.
I just updated your plugin and its breaking. After submitting form with email this is what ajax request response says
Warning: Missing argument 3 for MailChimp_API::get(), called in /home/********/wp-content/plugins/mailchimp/mailchimp.php on line 841 and defined in /home/********/wp-content/plugins/mailchimp/lib/mailchimp/mailchimp.php on line 21
This email address is already subscribed to the list.Hi,
Any updates on this issue?
Thanks
Forum: Plugins
In reply to: [Yoast SEO] Plugin Generating Duplicate URL's in SitemapI think your urls are not duplicate. You can see one url is with slash at the end while the other is not. I think you may need to provide canonical url for your home page so that it can pick only one url.
@dankfresh I found issue in my theme, i forgot using wp_footer() in my footer. That was my issue. Look for your wp_head() or wp_footer(). Issue must be there. Thanks
I am facing same issue. wp_register_script return true at this point that means its registered but script doesn’t show in page source. I am developing theme myself. I tried it in fresh wordpress theme and it worked, but not including script in my theme. Can somebody tell me what am i missing in my theme?