Skip to content

Releases: JRG-code/region-manager

Version 1.3.5

Choose a tag to compare

@JRG-code JRG-code released this 01 Jan 12:58
c720118

Fix Edit Country functionality - country dropdown now shows correctly

Version 1.3.4

Choose a tag to compare

@JRG-code JRG-code released this 31 Dec 15:15
6e8c5ee

The region was actually being saved successfully but the JavaScript crashed when trying to show the success notification, making it appear that save failed.

Changed from using wp.notices.init() (which doesn't exist) to manually creating and handling the dismiss button for admin notices.

Fixes: 'Uncaught TypeError: wp.notices.init is not a function'

Version 1.3.3

Choose a tag to compare

@JRG-code JRG-code released this 31 Dec 12:49
51fcf7b
v1.3.3

Bump version to 1.3.3

Version 1.3.2

Choose a tag to compare

@JRG-code JRG-code released this 31 Dec 12:18
86343c5

Features:

Auto-fill language and currency based on selected country (e.g., Portugal → pt_PT + EUR, Brazil → pt_BR + BRL)
Added extensive debug logging in PHP (error_log) and JavaScript (console.log)
Better error reporting with database error messages
This helps identify save issues and improves user experience by pre-filling common settings.

Version 1.3.1

Choose a tag to compare

@JRG-code JRG-code released this 30 Dec 23:51
d18743a
v1.3.1

Update region-manager.php

Version 1.3.0

Choose a tag to compare

@JRG-code JRG-code released this 30 Dec 21:21
9a2d7bd

When WooCommerce currencies are unavailable, the currency dropdown was empty causing countries to not be saved or displayed. Added fallback currencies in both PHP and JavaScript to ensure currency options are always available.

Fixes issue where countries disappeared from regions after debug changes.

Version 1.2.9

Choose a tag to compare

@JRG-code JRG-code released this 29 Dec 19:42
23d70b6
  • Added console.log for debugging AJAX requests and responses
  • Added console.error for AJAX failures
  • Improved error handling to always show alerts and notices
  • Added validation for response format
  • Ensures button is always reset on error
  • Helps diagnose why region save button gets stuck

This will help identify why the save button gets stuck when adding new regions.

Version 1.2.8

Choose a tag to compare

@JRG-code JRG-code released this 29 Dec 11:53
28c5c2d

This commit adds the ability to manage regional and country-specific pricing directly from the Region Manager -> Products page, and fixes CSS issues with the Regions column in WooCommerce products list.

Version 1.2.7

Choose a tag to compare

@JRG-code JRG-code released this 29 Dec 02:00
df1c5b3
v1.2.7

Bump version to 1.2.7

Version 1.2.6

Choose a tag to compare

@JRG-code JRG-code released this 27 Dec 20:21
2c3ce66

CRITICAL FIX: The rewrite class was registering rules for region slugs (e.g., /eu/, /us/) but the system now uses country URL slugs (e.g., /pt/, /es/). This caused WordPress to not recognize URLs like /pt/home and redirect them to /home.