Ångerrätt SE for WooCommerce

Changelog

1.7.10

  • Hardening: sanitize the selected-items input on submission, use a $wpdb->prepare() placeholder for the internal table name, and remove a redundant suppress_filters flag. No functional changes.

1.7.9

  • Tweak: the two withdrawal tabs in the order list are now told apart — WooCommerce’s built-in status filter is labelled “Ångerbegäran Nya” (orders still awaiting handling) and the new full view is “Ångerbegäran Alla”. Only the tab labels change; the order status itself is unchanged.

1.7.8

  • New: a “Ångerbegäran” tab with a counter above the WooCommerce order list shows every order that has ever had a withdrawal request, regardless of its current status (they no longer disappear from view when the status changes). Works with both HPOS and classic order storage.

1.7.7

  • Fix: reverted the settings field widths to the simple inline approach that worked in 1.7.3 (25% width) with an added minimum width so they no longer compress on mobile, and a cap so they never overflow the screen. All fields share the same width again.

1.7.6

  • Fix: the settings field width rules are now enforced so they reliably win over the active WooCommerce/theme admin styles. In some setups the previous rules were overridden, leaving the fields full width; they now consistently share one capped, responsive width.

1.7.5

  • Fix: all settings fields now share one consistent width. Text inputs, textareas and the product/tag selectors are capped at the same maximum (the reference field width) so none is wider than the others, have a minimum width so they stay usable, and never extend past the screen edge on phones. The product category grid also collapses to a single column on small screens.

1.7.4

  • Fix: settings fields no longer use a fixed 25% width that collapsed on phones and narrow browser windows. Text inputs and textareas now use the responsive WordPress core classes (regular-text/large-text) and the product/tag selectors fill the available column up to a sensible maximum, so the settings screen is usable on mobile.

1.7.3

  • On activation the withdrawal page is always (re)created cleanly: any earlier withdrawal pages (slugs angra-kop, angra-kop-N and woo_angerratt) are permanently deleted first, then a fresh “Ångra ett köp” page with the [ngersefo_angerratt] shortcode is created.
  • New: optional partial returns. Enable it under WooCommerce → Ångerrätt to let customers select individual products to withdraw via checkboxes in the confirmation step, with the order total recalculated for the selected items.
  • New: per-store setting for whether the shipping cost is refunded on a partial return (full returns always refund shipping).
  • New: the article number (product SKU, or the WooCommerce product ID as a fallback) is shown under each product name on the withdrawal page and in both the customer and admin emails.
  • New: the shipping method name is printed under the shipping line on the withdrawal page and in both emails.
  • The withdrawal request now records the return type and shipping handling for traceability.

1.7.2

  • OTP verification no longer relies on PHP sessions; it now uses a transient keyed by a one-time token, which is more reliable across caching and hosting setups.
  • Output escaping, input unslashing/sanitization and wp_parse_url() usage brought fully in line with the WordPress coding standards.

1.7.1

  • Public release prepared for the WordPress.org directory.
  • Removed the external license check and the bundled update mechanism (updates are handled by WordPress.org).
  • Internationalization, database and nonce handling reviewed against the WordPress coding standards.

Plugin Website
Visit website

Author
castrasteel
Version:
1.7.10
Last Updated
July 1, 2026
Requires
WordPress 6.2
Tested Up To
WordPress 7.0
Requires PHP
8.0

Share Post

Join our newsletter.

Get insights into what’s happening at ChangelogWP right in your inbox. We don’t believe in spam.