Plugin Directory

Changeset 3375655


Ignore:
Timestamp:
10/09/2025 10:42:54 AM (5 months ago)
Author:
xfinitysoft
Message:

Fix: Order Total field now correctly prevents setting a minimum value greater than the maximum.
Fix: Typo corrected — “accomulative” changed to “accumulative” in Settings → General.
Fix: Custom Dates Calendar no longer crops month and year labels at the top.
Fix: Default messages updated under Settings → General.
Fix: Changed “none” to “Select User Type” in dropdown menu.
Fix: Correct messages now displayed when checking previous orders for current users.
Fix: Missing message option restored in the Free version.
Fix: Validation added for Order Limit — if the maximum limit is left empty, it no longer defaults to zero.
Fix: Added missing “*” indicator for the Minimum Order Limit field.
Fix: Prevented creation of rules for Customer Role in Free version (Pro-only feature) by enforcing required fields.
Fix: Borderline minimum and maximum limit values are now correctly accepted without errors.
Fix: Added “Get Pro” option missing in Free version.
Fix: Resolved issue where enabling “Cart Total Maximum Limit” without a value caused incorrect validation messages.
Fix: Order total validation now correctly blocks orders that don’t meet the limit instead of placing the order without error.

Location:
wc-order-limit-lite
Files:
54 added
3 edited

Legend:

Unmodified
Added
Removed
  • wc-order-limit-lite/trunk/admin/class-wc-order-limit-settings.php

    r3371602 r3375655  
    189189
    190190                // 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 ) {
    192192                    WC_Admin_Settings::add_error( __( 'Maximum cart limit must be equal to or greater than minimum limit.', 'order-limit-for-woocommerce' ) );
    193193                    return;
  • wc-order-limit-lite/trunk/admin/views/wc-order-limit-rule-metabox-views.php

    r3371602 r3375655  
    235235        <tr class="no-cus-edit">
    236236            <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' ); ?>
    238238            </th>
    239239            <td data-colname="<?php esc_html_e( 'Minimum Limit: (*)', 'order-limit-for-woocommerce' ); ?>">
     
    401401                <select class="wcol-rule-user-type <?php echo ( isset( $rule['disable-limit'] ) && 'on' === $rule['disable-limit'] ) ? 'wcol-disabled' : ''; ?>" name="wcol-rules[user-type]">
    402402                    <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' ); ?>
    404404                    </option>
    405405                    <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 ===
    22Contributors: xfinitysoft
    3 Tags: order restriction, woocommerce, minimum quantity, user restriction, maximum quantity
     3Tags: limits,woocommerce,orders,category,products
    44Donate link:  https://woocommerce.com/products/order-limit/
    55Requires at least: 4.5
    66Tested up to: 6.8
    77Requires PHP: 6.2
    8 Stable tag: 3.1.0
     8Stable tag: 3.1.1
    99License: GPLv2
    1010License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    233233
    234234== Changelog ==
     2353.1.1
     236Fix: Order Total field now correctly prevents setting a minimum value greater than the maximum.
     237Fix: Typo corrected — “accomulative” changed to “accumulative” in Settings → General.
     238Fix: Custom Dates Calendar no longer crops month and year labels at the top.
     239Fix: Default messages updated under Settings → General.
     240Fix: Changed “none” to “Select User Type” in dropdown menu.
     241Fix: Correct messages now displayed when checking previous orders for current users.
     242Fix: Missing message option restored in the Free version.
     243Fix: Validation added for Order Limit — if the maximum limit is left empty, it no longer defaults to zero.
     244Fix: Added missing “*” indicator for the Minimum Order Limit field.
     245Fix: Prevented creation of rules for Customer Role in Free version (Pro-only feature) by enforcing required fields.
     246Fix: Borderline minimum and maximum limit values are now correctly accepted without errors.
     247Fix: Added “Get Pro” option missing in Free version.
     248Fix: Resolved issue where enabling “Cart Total Maximum Limit” without a value caused incorrect validation messages.
     249Fix: Order total validation now correctly blocks orders that don’t meet the limit instead of placing the order without error.
    2352503.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 stacking in a single block.
    240 Fix:Product Limit rules with specific users and time spans.
    241 Fix: Accumulative Min/Max Amount rules not triggering errors.
    242 Fix: Enforce mandatory “Check Previous Orders” when Time Span is enabled.
    243 Fix: Correct rule count mismatch when rules moved 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 error for 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.
     251Fix: Time span validation — end date can no longer be earlier than the start date.
     252Fix: Plugin activation conflict with the Free version resolved.
     253Fix: Product Amount rules now show proper errors instead of increasing quantities.
     254Fix: Multiple notifications no longer stack in a single block.
     255Fix: Product Limit rules now work correctly with specific users and time spans.
     256Fix: Accumulative Min/Max Amount rules now trigger errors properly.
     257Fix: Enforced mandatory “Check Previous Orders” when Time Span is enabled.
     258Fix: Correct rule count displayed when rules are moved to Trash.
     259Fix: Removed duplicate errors in Settings → Order Total until page refresh.
     260Fix: Critical error fixed when Store Limit is enabled without quantity or amount values.
     261Fix: Cart page now displays error messages for Category Rules without requiring a refresh.
     262Fix: Global Cart Total Min/Max validation corrected.
     263Fix: False error removed for Daily Limits not yet reached.
     264Remove: “Save Changes” button removed from Settings → Shortcode.
     265Improve: UI layout optimized for Category Rules and Customer Rules (balanced Rule Type and More Options).
     266Improve: Enhanced UI styling for Product Rules.
     267Add: Added Enable/Disable column in Rules table.
     268Add: Added option to check previous orders by daily, weekly, monthly, or yearly periods.
    2542693.0.9
    255270Fix: website broken issue.
Note: See TracChangeset for help on using the changeset viewer.