Official Release Changelog
2Versions
4Implemented
4Improved
3Fixed
2Security
Implemented
Improved
Fixed
Security
-
In-DOM Center-Screen Modal: Integrated a custom center-screen confirmation dialog replacing the default browser popup, eliminating "localhost says" alerts and preventing browser popup suppression.
-
Dynamic Selected Orders Counter: Embedded a live counter pill inside the dialog that displays the exact count of orders queued for deletion.
-
Empty Selection Warning Modal: Added a dedicated warning prompt that alerts administrators when the delete button is clicked without selecting any orders.
-
Centered Action Button Alignment: Positioned both Cancel and Yes Delete buttons side-by-side in the center bottom of the modal for optimal ergonomics.
-
Active Submission State Guard: Added an animated loading spinner (
Deleting...) that disables the confirm button upon click to eliminate accidental duplicate requests.
-
Cascade Database Purge: Expanded model deletion logic across 11 associated tables including
order_voucher, customer_transaction, customer_reward, coupon_history, and recurring profiles to prevent orphaned database records.
-
Modern PHP & Theme Compatibility: Upgraded codebase syntax to support PHP 7.4 through PHP 8.5 with strict null-safety, and validated across OpenCart Default, Journal 2, and Journal 3 themes.
-
Token Session Invalidation Bug: Fixed OpenCart HTML entity encoding (
& vs &) on user token query strings that previously triggered "Invalid token session. Please login again." logouts.
-
Form Submission Isolation: Decoupled order deletion submission logic from standard bulk actions to ensure Print Invoice and Print Shipping List buttons remain completely undisturbed.
-
Strict Permission Verification: Added administrative access rights verification ensuring only users with
modify privileges on sale/order can initiate bulk deletions.
-
Strict Type Sanitization: Enforced explicit integer casting
(int)$order_id on all order identifiers across database deletion queries to safeguard against SQL manipulation.
-
Basic Bulk Order Deletion: Added ability to select multiple orders from the admin order list and trigger bulk removal.
-
Legacy Order Removal: Provided basic deletion queries for core order tables in older OpenCart setups.