Thread Starter
maansy
(@maansy)
is it really that difficult to get help around here?
Hi,
Is this the plugin you are using alongside with ours?
https://el.wordpress.org/plugins/flexible-shipping/
Please remove Flexible Shipping from “Enable for shipping methods” and let me know if it works. The other restrictions should cover you anyway.
Note that “Enable for shipping methods” is not a setting from our plugin but from WooCommerce itself. So it’s a conflict between WooCommerce and flexible shipping.
If you want to restrict by method of zone, you can use our setting (near to bottom) “Enable on specific shipping methods of zones”, which works fine.
Let me know if it works
Thread Starter
maansy
(@maansy)
let me clarify the reason why i am using flexible shipping.
by default if i set $100 to qualify for free shipping (using woocommerce built in feature for free shipping) and my cart total is $101, i get two shipping options in the Cart page. so basically if i spend over $100, i get to see the Free shipping option so i can click it and choose it.
with Flexible shipping, if i set the same rule ($100+ for free shipping), only the free shipping option will appear as default. If i spend less than $100, the the alternative shipping method will appear. I hope i cleared the reason why i am using flexible shipping.
to answer your question:
“Please remove Flexible Shipping from “Enable for shipping methods” and let me know if it works. The other restrictions should cover you anyway.”
Answered in my first post:
“p.s. I have disabled Flexible Shipping just to check if COD option will appear, and it did.”
but i will answer it again:
yes i see COD if i disabled Flexible Shipping, but again i can see every shipping method as well.
Latest update:
i have checked in Flexible Shipping support forum and i found out that Flexible shipping wont work with woocommerce COD payment so i figured it wont also work with yours.
also in the form i found a fix to make it work with the default COD and i applied the same fix with your plugin and it worked.
so now i can use Smart COD and Flexible shipping together.
this is the fix (i applied the fix to child theme function.php):
add_filter( 'woocommerce_shipping_methods', 'fix_cod_gateways_with_flexible_shipping', 11 );
function fix_cod_gateways_with_flexible_shipping($methods) {
unset($methods['flexible_shipping_info']);
return $methods;
}