Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enriched error message during debugging #47

Open
bilfeldt opened this issue Apr 11, 2024 · 0 comments
Open

Enriched error message during debugging #47

bilfeldt opened this issue Apr 11, 2024 · 0 comments

Comments

@bilfeldt
Copy link
Member

bilfeldt commented Apr 11, 2024

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:

  • Shipping to closest pick-up point (Debug: No subscription)
  • Shipping to closest pick-up point (Debug: Unexpected error response)
Screenshot 2024-04-11 at 14 45 44

Or in the Debug notice bar at the top:
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant