smartsendio / woocommerce

Smart Send module for WooCommerce
GNU General Public License v3.0
0 stars 2 forks source link

Enriched error message during debugging #47

Open bilfeldt opened 6 months ago

bilfeldt commented 6 months ago

When the plugin was unable to find any pick-up points then a text "Shipping to closest pick-up point" is shown. This can be due to a few different reasons and it is hard to find out why this is.

If debugging is enabled for WooCommerce shipping (WooCommerce->Settings->Shipping->Shipping options->Enable debug mode) then some debug info about why no pickup points was found needs to be added.

This can either be added to the rendering of the select option:

Or in the Debug notice bar at the top: image