Hello,
Really really LOVE the plugin but it’s currently incompatible with HPOS on Woocommerce…. Any idea when the plugin gets updated for it? Thanks!
]]>Hi
Even with last version i still have this error message:
[30-May-2023 06:08:41 UTC] WordPress database error Duplicate entry ‘prowc_pgpp_categories_exclude_stripe’ for key ‘option_name’ for query UPDATE wp_options SET option_name = ‘prowc_pgpp_categories_exclude_stripe’ WHERE option_name = ‘alg_wc_pgpp_categories_exclude_stripe’ made by require_once(‘wp-load.php’), require_once(‘wp-config.php’), require_once(‘wp-settings.php’), do_action(‘plugins_loaded’), WP_Hook->do_action, WP_Hook->apply_filters, ProWC_Empty_Cart_Button->prowc_empty_cart_button_check_version
]]>Hi, I’m getting this error:
“`WordPress database error: [Duplicate entry ‘prowc_export_version’ for key ‘option_name’]
UPDATE wpdt_options SET option_name = ‘prowc_export_version’ WHERE option_name = ‘alg_wc_export_version’
Hi,
Your function, prowc_empty_cart_button_check_version(), is evaluating plugin version 1.3.3 to be less than version 1.3.0, leading it to run on every page load.
Since the first time it runs it creates all the database keys it’s going to create, every additional run throws duplicate entry database errors. Over one hundred on my client’s site on every page load.
Also, it seems the logic is flawed. It’s looking for options keys that start with “alg_wc_”, from when the plugin belonged to Algoritmika, and migrates them to “prowc_”. But Algoritmika had lots of plugins, not just Empty Cart Button, and when there’s more than just your plugin installed your function grabs options keys from all the other Algoritmika plugins and creates versions of them prefixed with “prowc_”. On my client’s site that’s 115 options keys created for non-existent plugins.
I’ve had to deactivate your plugin on my client’s site. I’ll keep an eye on your changelogs going forward.
]]>The WC_Cart::get_cart_url function is deprecated since version 2.5 and causing warnings in the logs. I think that
$cart_url = $woocommerce->cart->get_cart_url();
should be
$cart_url = wc_get_cart_url()
When are you going to test this plugin with WP 5.8?
]]>Hi!
Today we upgraded to version 1.3.1 and now we have this error in debug.log from wordpress.
PHP Notice: Undefined variable: version in public_html/wp-content/plugins/empty-cart-button-for-woocommerce/empty-cart-button-for-woocommerce.php on line 132
Best regards.
]]>Hello,
Please can you fix this error log below
https://www.site.com/wp-content/plugins/empty-cart-button-for-woocommerce//includes/js/admin-script.js:2:82: jQuery.fn.click() event shorthand is deprecated
Hi, when I click the empty cart button it redirects to the cart page but keeps the items in the cart. I’m not sure why it’s doing this
]]>