Gaylord Focker
Forum Replies Created
-
Hi,
You can check how the API is calculating the distance at here: https://developers.google.com/maps/documentation/javascript/distancematrix
I believe it tries to offer the shortest route by “driving”, but difference between the expected result and calculated result are quite big in your case.
Not sure why your free shipping isn’t working. Have you tried with different amounts and does your tax settings affect somehow to it?
Kim
Hi,
You need to provide more information than this, and also please double check the instructions, that you have followed every step to configure your settings: https://web-data.online/docs/woocommerce-custom-shipping-methods/
Kim
Hi,
In English please.
Kim
Forum: Plugins
In reply to: [WebData Distance Based Fee for WooCommerce] Shipping fee no longer generatedHi,
It may be a plugin conflict. Try to disable your plugins one by one and choose one of the WordPress default themes to check it is not your theme or any other plugin generating the issue.
Kim
Forum: Plugins
In reply to: [WebData Distance Based Fee for WooCommerce] Empty shipping costHi,
Since it has happened after the update, it could simply be an update issue.
You can also debug the fields from the custom hook, with error_log() function for example: https://wordpress.org/support/article/debugging-in-wordpress/
Kim
Forum: Plugins
In reply to: [WebData Distance Based Fee for WooCommerce] Don’t show any fee on checkoutIt must be ajax related issue. Plugin itself supports both, admin and non-admin requests but it seems something is now blocking guest ajax requests on your setup.
Kim
Forum: Plugins
In reply to: [WebData Distance Based Fee for WooCommerce] Don’t show any fee on checkoutI believe that would be against forum rules. How about if you just do fresh install only with default WordPress theme, WooCommerce and Distance fee plugin? That way you could make sure it is not any other plugin or theme causing the issue.
Also, do you have any errors on your PHP’s error_log file?
Kim
Forum: Plugins
In reply to: [WebData Distance Based Fee for WooCommerce] Don’t show any fee on checkoutOrigin address can be placed in the plugin settings or otherwise the WooCommerces store location is used.
Destination address is the address user inputs at the checkout page.
Address, zip and city are all required.
Kim
Hi,
Can you be more specific what exactly is not working for you? Maybe share some screenshots also how are you trying to setup your shipping method.
Kim
Forum: Plugins
In reply to: [WebData Distance Based Fee for WooCommerce] Don’t show any fee on checkoutHi,
Did you save your shipping method’s settings >after< you saved distance based fee plugin’s settings?
Kim
Forum: Plugins
In reply to: [WebData Custom Shipping Methods for WooCommerce] Origin address FormatHi,
There are fields in the plugin where you need to place your origin address or the plugin will pick it from the WooCommerce’s settings instead. Same format as you use for Google maps should work for the Matrix API as well.
Kim
Hi,
Destination zipcode, city and address are required fields. If you have any customizations or other plugins that may conflict with the plugin, try to disable them first.
Kim
Hi,
Plugin itself does not have a hook for that, but maybe one of these hooks could be used:
https://www.businessbloomer.com/woocommerce-visual-hook-guide-checkout-page/Kim
Hi,
Plugin itself does not support directly your requirements, but using the filters it should be possible: https://web-data.online/docs/woocommerce-custom-shipping-methods/#developers
woo_custom_shipping_dbf_calculated_fee would be the correct filter to use in this case.
Kim
Added now, please update.
Kim