FullStack-ing
Forum Replies Created
-
Forum: Plugins
In reply to: [Smart COD for WooCommerce] Disable for specific citiesHi davidacardona,
The reason we didn’t created a restriction for the cities is because they are a free text field on checkout, so if you restrict a city name and the customer type it differently (typo,special characters) the restriction will be ignored.
Please add this in your functions.php and adjust the cities.
add_filter( 'wc_smart_cod_available', 'cod_restrict_cities' ); function cod_restrict_cities( $is_cod_available ) { $shipping_city = isset( $_POST[ 's_city' ] ) ? $_POST[ 's_city' ] : false; // cities you want to exclude $restricted_cities = array( 'London', 'Rome', 'Barcelona' ); if( in_array( $shipping_city, $restricted_cities ) ) { $is_cod_available = false; } return $is_cod_available; }Let me know if any issues.
[ Signature moderated ]- This reply was modified 8 years, 5 months ago by Jan Dembowski.
Forum: Plugins
In reply to: [Smart COD for WooCommerce] BugHi,
That’s not a bug, we did that on purpose, since it doesn’t make a lot of sense to disable a cod for one variation of the same product.
If you want to enable variations as well, open file:
wp-content/plugins/wc-smart-cod/admin/class-wc-smart-cod-admin.phpEdit line 531 from:
'data-action' => 'woocommerce_json_search_products',
to
'data-action' => 'woocommerce_json_search_products_and_variations',Open file wp-content/plugins/wc-smart-cod/admin/js/wc-smart-cod-admin.js
Edit line 179 from
else if( action === 'woocommerce_json_search_products' ) {
to
else if( action === 'woocommerce_json_search_products_and_variations' ) {And you are ready to go.
Let me know if any issues.
Also you have another topic open. Please reply on that too.- This reply was modified 8 years, 5 months ago by Jan Dembowski.
Ok, now I reviewed your message more carefully, I thing I got it.
You need restriction based on product shipping class. Correct?
No worries. We will add this feature on our next update!- This reply was modified 8 years, 5 months ago by Jan Dembowski.
Hi Uzoamaka,
Thanks for the review!Sure we will help but we need from you to help us understand the issue.
Please create a new support thread here:
https://wordpress.org/support/plugin/wc-smart-codIn the thread, please list down, step by step, how we going to reproduce the issue.
( e.g. create a shipping zone with…, create a product with… etc. )- This reply was modified 8 years, 5 months ago by Jan Dembowski.
Forum: Plugins
In reply to: [Smart COD for WooCommerce] Have custom messages when COD is unavailableHi divijc,
The update supporting custom messages is ready. ( 1.4.4 )
Please check and give us your feedback. 🙂- This reply was modified 8 years, 5 months ago by Jan Dembowski.
Not a problem at all!
If you liked the plugin, it will help us a lot if you rate it.- This reply was modified 8 years, 5 months ago by Jan Dembowski.
Hi was1234,
I can’t replicate the issue you mentioned.
Are you using any other cod fee plugin?Can you send me the link of your shop?
Otherwise a screenshot of the checkout and a screenshot of the wc smart cod settings?- This reply was modified 8 years, 5 months ago by Jan Dembowski.
Forum: Plugins
In reply to: [Smart COD for WooCommerce] Have custom messages when COD is unavailableWe already released an update ( 1.4.3 ) for this.
[ Signature moderated ]- This reply was modified 8 years, 6 months ago by FullStack-ing.
- This reply was modified 8 years, 5 months ago by Jan Dembowski.
Forum: Plugins
In reply to: [Smart COD for WooCommerce] Have custom messages when COD is unavailableHi divijc,
Is your “Enable for shipping methods” setting empty?
If it is, that’s the case. Please temporary select all shipping methods instead of keeping it empty and we will release an update asap.If not, and you have shipping methods selected, please send me a screenshot of all your settings.
- This reply was modified 8 years, 5 months ago by Jan Dembowski.
Forum: Plugins
In reply to: [Smart COD for WooCommerce] Have custom messages when COD is unavailableHi divijc,
Somewhere between the following two weeks.- This reply was modified 8 years, 5 months ago by Jan Dembowski.
Forum: Plugins
In reply to: [Smart COD for WooCommerce] Have custom messages when COD is unavailableHi divijc,
Thanks for the feedback.
This will be included in our next update.- This reply was modified 8 years, 5 months ago by Jan Dembowski.
Forum: Plugins
In reply to: [Smart COD for WooCommerce] The COD option still appearsHi jfonseca22,
Are you sure the restriction for postal is set to ‘Disable’ and not ‘Enable’? ( You can toggle from enable to disable and vice versa, just by clicking the text with blue color at the left of the input ).
If it’s set to ‘Disable’ please attach a screenshot of all your settings so I can assist you further.
Please also send me the errors on your console if any.
Forum: Plugins
In reply to: [Smart COD for WooCommerce] Extra fee is stuck in checkouts order summaryThanks again for your kind words 🙂
Please would you consider changing your rating to 5 stars?
You just click on ‘edit’ on your first review and click again on the stars.That would be a lot helpful for us.
Thanks again and have a nice day!- This reply was modified 8 years, 5 months ago by Jan Dembowski.
Forum: Plugins
In reply to: [Smart COD for WooCommerce] Extra fee is stuck in checkouts order summaryHi phantolino,
Thanks for your kind words and thanks for spotting out this issue.
We just released an update (1.4.1) resolving this issue. Please check if everything’s work as expected and let me know.If you liked the plugin, it will help us a lot if you rate it.
- This reply was modified 8 years, 5 months ago by Jan Dembowski.
Forum: Plugins
In reply to: [Smart COD for WooCommerce] Improvement suggestionDone. ( v 1.4.0 )
- This reply was modified 8 years, 5 months ago by Jan Dembowski.