ProPluginsLab
Forum Replies Created
-
Thanks for the update.
We’ve checked and noticed that your site is also loading reCAPTCHA from the Breakdance reCAPTCHA script (
breakdance-recaptcha-js). This is likely causing a conflict since multiple reCAPTCHA scripts are being loaded at the same time, which prevents our plugin’s reCAPTCHA from initializing properly.To resolve this, please disable the reCAPTCHA feature in Breakdance or any other plugin that also loads the Google reCAPTCHA script. Once only a single reCAPTCHA script is active, our plugin’s reCAPTCHA should start working correctly.
After making that change, kindly clear any caching (site and browser) and check the page again.
Please let us know once you’ve done this so we can recheck and confirm everything’s working fine.
Thanks.
Hello @thewebsmiths,
Good day!
We’re here to assist you with this.
Could you please provide the URL of the out-of-stock product so we can assist you better?
Thanks!
Hi,
Thanks for the clarification! We initially thought you wanted to migrate data from our plugin on a different site.
We do have an Import and Export CSV Add-on that can help you migrate subscribers from your previous plugin. However, since premium add-ons cannot be discussed in detail here as per the ww.wp.xz.cn forum guidelines, please review our plugin’s description page for more information about the Import and Export CSV Add-on and how it can assist with your use case.
Thank you for your understanding!
Hello there,
Good Day!
We’re here to assist you with this one.
You can do this by using the native way of WordPress. Go to your old site Admin Dashboard -> Tools -> Export -> Subscribers -> Download Export File (xml). Later, you can import that data into your new site by visiting Admin Dashboard -> Tools -> Import -> Upload Downloaded XML file and Finish Import. Now you’ve successfully migrated subscribers’ data.
Thanks.
Hi @illycz
Good Day!
At the moment, the plugin’s subscription and email notification logic are directly tied to WooCommerce product stock status.
However, linking it to a custom trigger – such as an ACF checkbox or another custom field – would require a bit of custom development. Technically, it’s possible by using our plugin’s action hooks to manually trigger notifications when your ACF field changes.
Thanks.
Hi @serafinnyc
Thank you for reporting this issue.
We’ve identified and fixed the problem where custom post statuses (
cwg_mailsent,cwg_mailnotsent,cwg_subscribed,cwg_unsubscribed,cwg_converted,cwg_queued) were being injected into WooCommerce product queries, causing SQL syntax errors in MariaDB.This has been resolved in version 6.2.0 of Back in Stock Notifier for WooCommerce.
Please update to the latest version and let us know if the issue persists on your end.Thanks.
Hello there,
Good Day!
Thanks for sharing the log.
That error usually occurs when the PHP version on your server is too old and doesn’t support certain syntax used in the plugin file.
Please check your PHP version – the plugin requires PHP 7.4 or higher.
You can resolve this by updating your PHP version from your hosting control panel or asking your hosting provider to do it for you.
Once updated, clear your site cache and check again – the error should no longer appear.
Thanks.
Hi Adrian,
Thanks for the details. We’ve just updated our plugin with the required changes. Please update it on your end and check it out.
Thanks
Hello there,
Thanks for the information. We have now implemented email validation at the PHP level. This will help prevent fake email addresses from being submitted through our subscription form. Please update to the latest version and give it a try.
Let us know.
Thanks.
Hello there,
Good day!
We’re here to assist you with this one.
In your case, you want to display the subscription form even when the product is in stock. By default, there is no option to do this unless you are a developer.
If you are comfortable with extending the code, this is feasible. Please add the following code to your child theme’s
functions.phpfile:function cwg_allow_bis_stock_statuses( $statuses, $product, $variation ) {
$is_category_no_stock = false;
// Check if the product belongs to a category named "No Stock"
$terms = wp_get_post_terms( $product->get_id(), array( 'product_cat' ), array( 'fields' => 'slugs' ) );
if ( $terms ) {
$intersect = array_intersect( $terms, array( 'no-stock' ) ); // Change this to your category slug
if ( ! empty( $intersect ) ) {
$is_category_no_stock = true;
}
}
if ( $is_category_no_stock ) {
$allowed_statuses = array( 'instock' );
$merge_statuses = array_unique( array_merge( $statuses, $allowed_statuses ) );
return $merge_statuses;
} else {
return $statuses;
}
}
add_filter( 'cwg_default_allowed_status', 'cwg_allow_bis_stock_statuses', 10, 3 );This code will display the subscription form for all out-of-stock products as well as products belonging to the “no-stock” category (replace
'no-stock'with your desired category slug).Let us know if you need further assistance.
Thanks.
Hello there, good day!
We’re here to assist you with this issue.
Based on the information you provided, it appears that email addresses are being populated by bots and automatically submitted.
You can stop this by enabling our built-in bot protection. Here’s how:
Steps:
- Go to Admin Dashboard → Instock Notifier → Settings → Bot Protection
- Configure Google reCAPTCHA or Cloudflare Turnstile, whichever works best for you.
This should help mitigate bot submissions on your subscription form.
Please let us know if you need any further assistance.
Thanks.
Hello there,
Good Day!
Thanks for reaching out. At the moment, our plugin doesn’t have a built-in option to add custom fields (like text or textarea) to the subscribe form. However, we do understand your client’s request and see the value in having such flexibility.
We’ve added this to our feature request list and will explore the feasibility of implementing it in a future version.
Thanks again for the suggestion!
Hello there,
Good Day!
We’re here to assist you with this one.
As of now, we support the shortcode that displays the inline subscribe form:
[cwginstock_subscribe_form product_id='YOUR_PRODUCT_ID' variation_id='YOUR_VARIATION_ID']We’ve taken note of your feature request and will consider implementing it in a future version, depending on feasibility.
Thanks.
Hello there,
Good Day!
We’re not sure how our plugin interferes with the ASE Pro Snippet plugin, but we do use the
upgrader_process_completehook. We checked this hook on our side but couldn’t identify any differences, as the same hook function is still present in the downgraded version.Since we’ve released many versions and changes between v5.9.0 and v6.0.9.2, it’s difficult to pinpoint exactly which version may be causing this conflict. You mentioned the ASE Pro Snippet plugin—could you please confirm if the same scenario also applies to the free version (and to the latest version as well)?
We recently changed the
upgrader_process_completehook priority to 999 (though we’re not certain if this resolves the issue). As the plugin you referred to appears to be a paid product, it’s very difficult for us to check compatibility without reviewing its code/plugin. For further details, we recommend contacting our website support, as we are not permitted to discuss premium products here.Thanks.
Hello there,
Good Day!
Thanks for reporting a bug and fix.
Your reported issue has been addressed in v6.0.9.2.
Please update it and check it out.
Thanks.