FullStack-ing
Forum Replies Created
-
Forum: Plugins
In reply to: [Smart COD for WooCommerce] COD not appearhttp://yourwebsite.com/wp-admin/admin.php?page=wc-settings&tab=checkout§ion=cod
Forum: Plugins
In reply to: [Smart COD for WooCommerce] Percentage with Minimum Amount, Fee on Cart TotalHi,
Please send me a screenshot with your plugin settingsForum: Plugins
In reply to: [Smart COD for WooCommerce] COD not appearHi,
You have to go to default cash on delivery settings.
Woocommerce/settings/payments -> cash on delivery -> manageBest Regards
Hi,
please define “kills the script” so I can assist further
Forum: Plugins
In reply to: [Smart COD for WooCommerce] Percentage with Minimum Amount, Fee on Cart TotalHi,
percentage fee is exactly the scenario this filter is developed for.
Maybe you forgot the add_filter part?add_filter( 'wc_smart_cod_fee', 'change_cod_price' ); function change_cod_price( $price ) { return $price < 6.2 ? 6.2 : $price; }Forum: Plugins
In reply to: [Smart COD for WooCommerce] infinite loop on checkout page@goran87 I tested with the free version of your plugin and the removal of coupon works fine.
Also I didn’t found the code you referred in the previous post in the free version code.
So probably @cigno76 use your premium version and there is no way I can test this.@goran87 please check the network response on xhr
?wc-ajax=update_order_reviewand paste me the error- This reply was modified 5 years, 12 months ago by FullStack-ing.
Forum: Plugins
In reply to: [Smart COD for WooCommerce] infinite loop on checkout pageHi there,
Most probably it’s their fault, since you checked that breaks any cart update plugin and you should find an alternative
Nevertheless, please paste the link of the plugin so I can double check
Forum: Plugins
In reply to: [Smart COD for WooCommerce] COD BugHi all,
This is going to be address in our next release.
Best Regards
Forum: Plugins
In reply to: [Smart COD for WooCommerce] minimum amountHi Nicola, happy to be of a help!
Send some of your fine tasting oil when you can! 🙂
Best Regards
Forum: Plugins
In reply to: [Smart COD for WooCommerce] minimum amountHi again! I just checked with a similar configuration and it works as it should.
Please make sure you copy pasted the above block code correctly, you don’t left anything from the previous block codes I sent you, and that you don’t use any other plugin to manipulate COD.
If the problem still persists you could try that:
add_filter( 'wc_smart_cod_fee', 'change_cod_price' ); function change_cod_price( $price ) { if( $price === '0' ) { return $price; } return $price < 3 ? 3 : $price; }But as I told you before, the previous snippet works just fine (sets the 3e minimum) in the same scenario as per your screenshot.
Forum: Plugins
In reply to: [Smart COD for WooCommerce] minimum amountPlease send me a screenshot of your plugin settings
Forum: Plugins
In reply to: [Smart COD for WooCommerce] minimum amountadd this please (remove the old one)
add_filter( 'wc_smart_cod_fee', 'change_cod_price' ); function change_cod_price( $price ) { if( is_numeric( $price ) && intval( $price ) === 0 ) { return $price; } return $price < 3 ? 3 : $price; }- This reply was modified 6 years ago by FullStack-ing.
Forum: Plugins
In reply to: [Smart COD for WooCommerce] minimum amountHi again,
Please change to thisadd_filter( 'wc_smart_cod_fee', 'change_cod_price' ); function change_cod_price( $price ) { if( $price === 0 ) { return $price; } return $price < 3 ? 3 : $price; }Forum: Plugins
In reply to: [Smart COD for WooCommerce] minimum amountPlease add this in your functions.php and let me know
add_filter( 'wc_smart_cod_fee', 'change_cod_price' ); function change_cod_price( $price ) { return $price < 3 ? 3 : $price; }Forum: Plugins
In reply to: [Smart COD for WooCommerce] minimum amountHow do you setup the extra fee? is a percentage of the cart?