Changeset 3375655
- Timestamp:
- 10/09/2025 10:42:54 AM (5 months ago)
- Location:
- wc-order-limit-lite
- Files:
-
- 54 added
- 3 edited
-
tags/3.1.1 (added)
-
tags/3.1.1/admin (added)
-
tags/3.1.1/admin/class-wc-order-limit-admin.php (added)
-
tags/3.1.1/admin/class-wc-order-limit-block.php (added)
-
tags/3.1.1/admin/class-wc-order-limit-settings.php (added)
-
tags/3.1.1/admin/css (added)
-
tags/3.1.1/admin/css/bootstrap.min.css (added)
-
tags/3.1.1/admin/css/deactivation-feedback.css (added)
-
tags/3.1.1/admin/css/jquery-rain-date-time.min.css (added)
-
tags/3.1.1/admin/css/select2.min.css (added)
-
tags/3.1.1/admin/css/wc-order-limit-admin.css (added)
-
tags/3.1.1/admin/img (added)
-
tags/3.1.1/admin/img/xfinity-logo.png (added)
-
tags/3.1.1/admin/js (added)
-
tags/3.1.1/admin/js/bootstrap.min.js (added)
-
tags/3.1.1/admin/js/deactivation-feedback.js (added)
-
tags/3.1.1/admin/js/jquery-rain-date-time.js (added)
-
tags/3.1.1/admin/js/meta-validator.js (added)
-
tags/3.1.1/admin/js/select2.full.min.js (added)
-
tags/3.1.1/admin/js/wc-order-limit-admin.js (added)
-
tags/3.1.1/admin/js/wc-order-limit-rule.js (added)
-
tags/3.1.1/admin/views (added)
-
tags/3.1.1/admin/views/template-single-product-cat-rule-row.php (added)
-
tags/3.1.1/admin/views/template-single-product-rule-row.php (added)
-
tags/3.1.1/admin/views/wc-order-limit-order-total-setting.php (added)
-
tags/3.1.1/admin/views/wc-order-limit-rule-metabox-views.php (added)
-
tags/3.1.1/admin/views/wc-order-limit-rule-single-cat-views.php (added)
-
tags/3.1.1/admin/views/wc-order-limit-rule-single-product-views.php (added)
-
tags/3.1.1/admin/views/wc-order-limit-settings.php (added)
-
tags/3.1.1/admin/views/wc-order-limit-shortcodes.php (added)
-
tags/3.1.1/admin/views/wc-order-limit-store-setting.php (added)
-
tags/3.1.1/build (added)
-
tags/3.1.1/build/block.json (added)
-
tags/3.1.1/build/index-rtl.css (added)
-
tags/3.1.1/build/index.asset.php (added)
-
tags/3.1.1/build/index.css (added)
-
tags/3.1.1/build/index.js (added)
-
tags/3.1.1/build/style-index-rtl.css (added)
-
tags/3.1.1/build/style-index.css (added)
-
tags/3.1.1/includes (added)
-
tags/3.1.1/includes/class-wc-order-limit-activator.php (added)
-
tags/3.1.1/includes/class-wc-order-limit-i18n.php (added)
-
tags/3.1.1/includes/class-wc-order-limit-loader.php (added)
-
tags/3.1.1/includes/class-wc-order-limit-rule.php (added)
-
tags/3.1.1/includes/class-wc-order-limit.php (added)
-
tags/3.1.1/languages (added)
-
tags/3.1.1/languages/fr.mo (added)
-
tags/3.1.1/languages/fr.po (added)
-
tags/3.1.1/languages/order-limit-for-woocommerce.pot (added)
-
tags/3.1.1/order-limit-for-woocommerce.php (added)
-
tags/3.1.1/public (added)
-
tags/3.1.1/public/js (added)
-
tags/3.1.1/public/js/wc-order-limit-public.js (added)
-
tags/3.1.1/readme.txt (added)
-
trunk/admin/class-wc-order-limit-settings.php (modified) (1 diff)
-
trunk/admin/views/wc-order-limit-rule-metabox-views.php (modified) (2 diffs)
-
trunk/readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
wc-order-limit-lite/trunk/admin/class-wc-order-limit-settings.php
r3371602 r3375655 189 189 190 190 // Validate that maximum limit is greater than or equal to minimum limit. 191 if ( 'on' === $cart_total_enable_maximum_limit && $cart_total_maximum_limit > 0 && $cart_total_maximum_limit< $cart_total_minimum_limit ) {191 if ( 'on' === $cart_total_enable_maximum_limit && $cart_total_maximum_limit < $cart_total_minimum_limit ) { 192 192 WC_Admin_Settings::add_error( __( 'Maximum cart limit must be equal to or greater than minimum limit.', 'order-limit-for-woocommerce' ) ); 193 193 return; -
wc-order-limit-lite/trunk/admin/views/wc-order-limit-rule-metabox-views.php
r3371602 r3375655 235 235 <tr class="no-cus-edit"> 236 236 <th class="manage-column"> 237 <?php esc_html_e( 'Minimum Limit ', 'order-limit-for-woocommerce' ); ?>237 <?php esc_html_e( 'Minimum Limit: (*)', 'order-limit-for-woocommerce' ); ?> 238 238 </th> 239 239 <td data-colname="<?php esc_html_e( 'Minimum Limit: (*)', 'order-limit-for-woocommerce' ); ?>"> … … 401 401 <select class="wcol-rule-user-type <?php echo ( isset( $rule['disable-limit'] ) && 'on' === $rule['disable-limit'] ) ? 'wcol-disabled' : ''; ?>" name="wcol-rules[user-type]"> 402 402 <option value="none" <?php echo ( isset( $rule['user-type'] ) && 'none' === $rule['user-type'] ) ? 'selected' : ''; ?>> 403 <?php esc_html_e( ' None', 'order-limit-for-woocommerce' ); ?>403 <?php esc_html_e( 'Select User Type', 'order-limit-for-woocommerce' ); ?> 404 404 </option> 405 405 <option value="guest-users" <?php echo ( isset( $rule['user-type'] ) && 'guest-users' === $rule['user-type'] ) ? 'selected' : ''; ?>> -
wc-order-limit-lite/trunk/readme.txt
r3371597 r3375655 1 === Order Limit for WooCommerce – Set Order Restrictions, Min and Max Amount/Quantity, Cart Control, and Checkout Restrictions===1 === Order Limit for WooCommerce === 2 2 Contributors: xfinitysoft 3 Tags: order restriction, woocommerce, minimum quantity, user restriction, maximum quantity3 Tags: limits,woocommerce,orders,category,products 4 4 Donate link: https://woocommerce.com/products/order-limit/ 5 5 Requires at least: 4.5 6 6 Tested up to: 6.8 7 7 Requires PHP: 6.2 8 Stable tag: 3.1. 08 Stable tag: 3.1.1 9 9 License: GPLv2 10 10 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 233 233 234 234 == Changelog == 235 3.1.1 236 Fix: Order Total field now correctly prevents setting a minimum value greater than the maximum. 237 Fix: Typo corrected — “accomulative” changed to “accumulative” in Settings → General. 238 Fix: Custom Dates Calendar no longer crops month and year labels at the top. 239 Fix: Default messages updated under Settings → General. 240 Fix: Changed “none” to “Select User Type” in dropdown menu. 241 Fix: Correct messages now displayed when checking previous orders for current users. 242 Fix: Missing message option restored in the Free version. 243 Fix: Validation added for Order Limit — if the maximum limit is left empty, it no longer defaults to zero. 244 Fix: Added missing “*” indicator for the Minimum Order Limit field. 245 Fix: Prevented creation of rules for Customer Role in Free version (Pro-only feature) by enforcing required fields. 246 Fix: Borderline minimum and maximum limit values are now correctly accepted without errors. 247 Fix: Added “Get Pro” option missing in Free version. 248 Fix: Resolved issue where enabling “Cart Total Maximum Limit” without a value caused incorrect validation messages. 249 Fix: Order total validation now correctly blocks orders that don’t meet the limit instead of placing the order without error. 235 250 3.1.0 236 Fix: Time Span date range validation (end date cannot be earlier than start date).237 Fix: plugin activation conflict with Order Limit free version.238 Fix: Product Amount rules incorrectly increasing quantity instead of showing error.239 Fix: multiple notifications stackingin a single block.240 Fix: Product Limit ruleswith specific users and time spans.241 Fix: Accumulative Min/Max Amount rules no t triggering errors.242 Fix: Enforce mandatory “Check Previous Orders” when Time Span is enabled.243 Fix: Correct rule count mismatch when rulesmoved to Trash.244 Fix: duplicate errors in Settings >Order Total until page refresh.245 Fix: critical error when Store Limit enabled without quantity/amount values.246 Fix: cart page not showing error until refresh for Category rules.247 Fix: global cart total min/max validation.248 Fix: false errorfor Daily Limits not yet reached.249 Remove: Save Changes button from Settings >Shortcode.250 Improve: UI layout for Category Rules and Customer Rules (balanced Rule Type and More Options).251 Improve: UI styling for Product Rules.252 Add: Enable/Disable column in Rules table.253 Add: Check pervious order by daily,weekly, monthly and yearly.251 Fix: Time span validation — end date can no longer be earlier than the start date. 252 Fix: Plugin activation conflict with the Free version resolved. 253 Fix: Product Amount rules now show proper errors instead of increasing quantities. 254 Fix: Multiple notifications no longer stack in a single block. 255 Fix: Product Limit rules now work correctly with specific users and time spans. 256 Fix: Accumulative Min/Max Amount rules now trigger errors properly. 257 Fix: Enforced mandatory “Check Previous Orders” when Time Span is enabled. 258 Fix: Correct rule count displayed when rules are moved to Trash. 259 Fix: Removed duplicate errors in Settings → Order Total until page refresh. 260 Fix: Critical error fixed when Store Limit is enabled without quantity or amount values. 261 Fix: Cart page now displays error messages for Category Rules without requiring a refresh. 262 Fix: Global Cart Total Min/Max validation corrected. 263 Fix: False error removed for Daily Limits not yet reached. 264 Remove: “Save Changes” button removed from Settings → Shortcode. 265 Improve: UI layout optimized for Category Rules and Customer Rules (balanced Rule Type and More Options). 266 Improve: Enhanced UI styling for Product Rules. 267 Add: Added Enable/Disable column in Rules table. 268 Add: Added option to check previous orders by daily, weekly, monthly, or yearly periods. 254 269 3.0.9 255 270 Fix: website broken issue.
Note: See TracChangeset
for help on using the changeset viewer.