Plugin Directory

Changeset 3348648


Ignore:
Timestamp:
08/22/2025 12:35:01 PM (6 months ago)
Author:
kiranms1996
Message:

Deploy version 1.2.0

Location:
emw-multiple-order-management/trunk
Files:
12 edited

Legend:

Unmodified
Added
Removed
  • emw-multiple-order-management/trunk/CHANGELOG.md

    r3348643 r3348648  
    55---
    66
     7## [1.2.0] - 2025-08-22
     8
     9### Changed
     10- **Renamed plugin**: Updated plugin name to **MultiOrder Sync** across all files, settings, and documentation.
     11- **Terminology updates**:
     12  - Replaced all references to **"Primary Order"** with **"Parent Order"**.
     13  - Replaced all references to **"Secondary Order(s)"** with **"Linked Order(s)"**.
     14  - Updated meta keys, labels, API responses, and internal methods for consistency.
     15- Updated admin UI, REST API, and settings pages to reflect the new terminology:
     16  - Admin meta boxes and linked order displays use updated wording.
     17
    718## [1.1.0] - 2025-08-18
    819
    920### Changed
    1021- Improved the metadata structure used to store linked orders:
    11   - Now, **all linked orders** (primary and secondary) consistently store a `multipleorders` meta entry.
    12   - This structure includes:
    13     - `is_primary` or `is_secondary` flag.
    14     - Reference IDs for the linked orders (`primary_order_id` or `secondary_order_ids`).
     22  - Now, **all linked orders** (parent and linked) consistently store a `multipleorders` meta entry.
    1523- Updated the following methods to support full metadata persistence:
    1624  - `ajax_link_orders()` now updates meta for **all orders** in the group.
     
    2836### Deprecated
    2937- Legacy partial `multipleorders` meta structure used prior to v1.0.1:
    30   - Was only set for the primary order (or only for secondaries).
     38  - Was only set for the parent order (or only for secondaries).
    3139  - **Fallback retained temporarily for backward compatibility.**
    3240  - ⚠️ **Deprecated:** This fallback will be removed in a future major release (e.g., `v2.0.0`). Please update any custom code depending on the old structure.
     
    3442### Fixed
    3543- Fixed inconsistencies in how linked orders were displayed in the admin UI.
    36 - Fixed issue where some secondary orders were not saving metadata correctly.
     44- Fixed issue where some linked orders were not saving metadata correctly.
    3745
    3846---
     
    4149
    4250### Added
    43 - Initial release of the Multiple Order Management plugin.
     51- Initial release of the MultiOrder Sync plugin.
    4452- Ability to group WooCommerce orders based on customizable criteria.
    4553- Link grouped orders into primary/secondary relationships.
  • emw-multiple-order-management/trunk/assets/js/admin-settings.js

    r3348643 r3348648  
    175175
    176176                        if ( ! primaryOrder ) {
    177                             showError( 'Please select one primary order.' );
     177                            showError( 'Please select one parent order.' );
    178178                            return;
    179179                        }
    180180
    181181                        if ( secondaryOrders.length === 0 ) {
    182                                 showError( 'Please select at least one secondary order.' );
     182                                showError( 'Please select at least one linked order.' );
    183183                                return;
    184184                        }
  • emw-multiple-order-management/trunk/emw-multiple-order-management.php

    r3348643 r3348648  
    11<?php
    22/**
    3  * Plugin Name: Multiple Order Management For WooCommerce
     3 * Plugin Name: MultiOrder Sync For WooCommerce
    44 * Plugin URI: https://wordpress.org/plugins/emw-multiple-order-management/
    55 * Description: A plugin to manage and link multiple WooCommerce orders based on custom criteria.
    6  * Version: 1.1.0
     6 * Version: 1.2.0
    77 * Author: Kiran M S
    88 * Author URI: https://profiles.wordpress.org/kiranms1996/
     
    2222 * Define plugin constants.
    2323 */
    24 define( 'EMW_MOM_VERSION', '1.1.0' );
     24define( 'EMW_MOM_VERSION', '1.2.0' );
    2525define( 'EMW_MOM_PLUGIN_DIR', plugin_dir_path( __FILE__ ) );
    2626define( 'EMW_MOM_PLUGIN_URL', plugin_dir_url( __FILE__ ) );
     
    5353    ?>
    5454    <div class="notice notice-error">
    55         <p><?php esc_html_e( 'EMW Multiple Order Management requires WooCommerce to be installed and active.', 'emw-multiple-order-management' ); ?></p>
     55        <p><?php esc_html_e( 'MultiOrder Sync requires WooCommerce to be installed and active.', 'emw-multiple-order-management' ); ?></p>
    5656    </div>
    5757    <?php
  • emw-multiple-order-management/trunk/includes/class-emw-mom-admin.php

    r3348643 r3348648  
    6969
    7070        add_menu_page(
    71             esc_html__( 'Order Management', 'emw-multiple-order-management' ),
    72             esc_html__( 'Order Management', 'emw-multiple-order-management' ) . $badge,
     71            esc_html__( 'Multi-Order', 'emw-multiple-order-management' ),
     72            esc_html__( 'Multi-Order', 'emw-multiple-order-management' ) . $badge,
    7373            'manage_woocommerce', // phpcs:ignore
    7474            'emw-mom',
     
    8080        add_submenu_page(
    8181            'emw-mom',
    82             esc_html__( 'Multiple Orders', 'emw-multiple-order-management' ),
    83             esc_html__( 'Multiple Orders', 'emw-multiple-order-management' ),
     82            esc_html__( 'Group Orders', 'emw-multiple-order-management' ),
     83            esc_html__( 'Group Orders', 'emw-multiple-order-management' ),
    8484            'manage_woocommerce', // phpcs:ignore
    8585            'emw-mom',
     
    179179            'general'       => esc_html__( 'General', 'emw-multiple-order-management' ),
    180180            'notifications' => esc_html__( 'Notifications', 'emw-multiple-order-management' ),
    181             'criteria'      => esc_html__( 'Multiple Order Criteria', 'emw-multiple-order-management' ),
     181            'criteria'      => esc_html__( 'MultiOrder Sync Criteria', 'emw-multiple-order-management' ),
    182182            'rest-api'      => esc_html__( 'REST API', 'emw-multiple-order-management' ),
    183183            'pro-ver'       => wp_kses_post( 'Pro Version <span class="dashicons dashicons-star-filled" style="color: #ffb900;vertical-align: middle;"></span>' ),
     
    188188        ?>
    189189        <div class="wrap">
    190             <h1><?php esc_html_e( 'Order Management Settings', 'emw-multiple-order-management' ); ?></h1>
     190            <h1><?php esc_html_e( 'MultiOrder Settings', 'emw-multiple-order-management' ); ?></h1>
    191191            <nav class="nav-tab-wrapper">
    192192                <?php foreach ( $tabs as $tab_id => $tab_name ) : ?>
     
    564564                // Display role badge.
    565565                if ( $is_primary ) {
    566                     echo '<span class="emw-mom-badge role-primary">' . esc_html__( 'Primary', 'emw-multiple-order-management' ) . '</span>';
     566                    echo '<span class="emw-mom-badge role-primary">' . esc_html__( 'Parent Order', 'emw-multiple-order-management' ) . '</span>';
    567567                } elseif ( $is_secondary ) {
    568                     echo '<span class="emw-mom-badge role-secondary">' . esc_html__( 'Secondary', 'emw-multiple-order-management' ) . '</span>';
     568                    echo '<span class="emw-mom-badge role-secondary">' . esc_html__( 'Linked Order(s)', 'emw-multiple-order-management' ) . '</span>';
    569569                }
    570570                ?>
     
    612612                    if ( $primary_order ) {
    613613                        echo '<p>' . sprintf(
    614                             esc_html__( 'Linked to Primary Order %s', 'emw-multiple-order-management' ),
     614                            esc_html__( 'Linked to Parent Order %s', 'emw-multiple-order-management' ),
    615615                            '<a href="' . esc_url( $primary_order->get_edit_order_url() ) . '">#' . esc_html( $primary_order->get_order_number() ) . '</a>'
    616616                        ) . '</p>';
  • emw-multiple-order-management/trunk/languages/emw-multiple-order-management.pot

    r3348643 r3348648  
    33msgid ""
    44msgstr ""
    5 "Project-Id-Version: EMW Multiple Order Management  1.1.0\n"
     5"Project-Id-Version: MultiOrder Sync 1.2.0\n"
    66"Report-Msgid-Bugs-To: https://example.com/support\n"
    77"POT-Creation-Date: 2025-07-03 16:14+0530\n"
  • emw-multiple-order-management/trunk/license.txt

    r3348643 r3348648  
    11<?php
    22/**
    3  * This file is part of EMW Multiple Order Management.
     3 * This file is part of MultiOrder Sync.
    44 *
    5  * EMW Multiple Order Management  is free software: you can redistribute it and/or modify
     5 * MultiOrder Sync  is free software: you can redistribute it and/or modify
    66 * it under the terms of the GNU General Public License as published by
    77 * the Free Software Foundation, either version 2 of the License, or
    88 * (at your option) any later version.
    99 *
    10  * EMW Multiple Order Management  is distributed in the hope that it will be useful,
     10 * MultiOrder Sync  is distributed in the hope that it will be useful,
    1111 * but WITHOUT ANY WARRANTY; without even the implied warranty of
    1212 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
     
    1414 *
    1515 * You should have received a copy of the GNU General Public License
    16  * along with EMW Multiple Order Management . If not, see <https://www.gnu.org/licenses/>.
     16 * along with MultiOrder Sync . If not, see <https://www.gnu.org/licenses/>.
    1717 */
  • emw-multiple-order-management/trunk/readme.MD

    r3348643 r3348648  
    1 === Multiple Order Management For WooCommerce ===
     1=== MultiOrder Sync For WooCommerce ===
    22Contributors: kiranms1996
    3 Tags: multiple, order, management, link orders, woocommerce
     3Tags: multiple, order, sync, link orders, woocommerce
    44Requires at least: 5.0
    55Tested up to: 6.8
    6 Stable tag: 1.1.0
     6Stable tag: 1.2.0
    77Requires PHP: 7.2
    88License: GPLv2 or later
     
    1212
    1313== Description ==
    14 Multiple Order Management For WooCommerce allows store owners to group and link WooCommerce orders based on criteria like customer ID, billing email, or address. Features include:
     14MultiOrder Sync For WooCommerce allows store owners to group and link WooCommerce orders based on criteria like customer ID, billing email, or address. Features include:
    1515- Grouping orders automatically based on customizable criteria.
    16 - Linking orders into primary and secondary relationships.
     16- Linking orders into parent and sub-order relationships.
    1717- Email notifications for order status changes.
    1818- REST API for fetching orders.
     
    22221. Upload the `emw-multiple-order-management` folder to the `/wp-content/plugins/` directory.
    23232. Activate the plugin through the 'Plugins' menu in WordPress.
    24 3. Navigate to 'Order Management' in the admin menu to configure settings and manage orders.
     243. Navigate to 'Muilti-Order' in the admin menu to configure settings and manage orders.
    2525
    2626== Frequently Asked Questions ==
     
    7070== Changelog ==
    7171
     72= 1.2.0 - 2025-08-22 =
     73* Changed: Plugin name updated to **MultiOrder Sync**.
     74* Changed: All references to "Primary Order" have been renamed to **Parent Order**.
     75* Changed: All references to "Secondary Order" have been renamed to **Linked Order**.
     76* Changed: Updated admin labels, meta keys, API fields, and internal function names to reflect new terminology.
     77* Changed: Improved consistency in database schema and UI components related to order relationships.
     78* Fixed: Minor translation and text domain issues caused by renamed labels.
     79
    7280= 1.1.0 - 2025-08-18 =
    7381* Changed: Unified `multipleorders` meta structure for all linked orders.
     
    8290
    8391= 1.0.0 - 2025-08-13 =
    84 * Initial release of the Multiple Order Management plugin.
     92* Initial release of the MultiOrder Sync plugin.
    8593* Ability to group WooCommerce orders based on customizable criteria.
    86 * Link grouped orders into primary/secondary relationships.
     94* Link grouped orders into parent/sub-order relationships.
    8795* Admin UI for managing grouped orders.
    8896* Settings panel for order criteria, email templates, and API key.
  • emw-multiple-order-management/trunk/templates/admin-page.php

    r3348643 r3348648  
    1414
    1515<div class="wrap">
    16     <h1><?php esc_html_e( 'EMW Multiple Order Management ', 'emw-multiple-order-management' ); ?></h1>
     16    <h1><?php esc_html_e( 'MultiOrder Sync ', 'emw-multiple-order-management' ); ?></h1>
    1717    <form method="get">
    1818        <input type="hidden" name="page" value="emw-mom" />
  • emw-multiple-order-management/trunk/templates/general-settings.php

    r3348643 r3348648  
    6969                    </div>
    7070                    <p class="description">
    71                         <?php esc_html_e( 'Select the order statuses allowed for multiple order management (e.g., bulk actions).', 'emw-multiple-order-management' ); ?>
     71                        <?php esc_html_e( 'Select the order statuses allowed for MultiOrder Sync.', 'emw-multiple-order-management' ); ?>
    7272                    </p>
    7373                </td>
  • emw-multiple-order-management/trunk/templates/group-details-popup.php

    r3348643 r3348648  
    2323
    2424<div class="emw-mom-group-details-title">
    25     <h2><?php esc_html_e( 'Multiple Order Details', 'emw-multiple-order-management' ); ?></h2>
     25    <h2><?php esc_html_e( 'MultiOrder Sync', 'emw-multiple-order-management' ); ?></h2>
    2626</div>
    2727
     
    5555                <tr>
    5656                    <td class="manage-column column-cb check-column" style="width: auto;">
    57                         <?php esc_html_e( 'Primary', 'emw-multiple-order-management' ); ?>
     57                        <?php esc_html_e( 'Parent Order', 'emw-multiple-order-management' ); ?>
    5858                    </td>
    59                     <th scope="col"><?php esc_html_e( 'Secondary', 'emw-multiple-order-management' ); ?></th>
     59                    <th scope="col"><?php esc_html_e( 'Linked Order(s)', 'emw-multiple-order-management' ); ?></th>
    6060                    <th scope="col"><?php esc_html_e( 'Order Number', 'emw-multiple-order-management' ); ?></th>
    6161                    <th scope="col"><?php esc_html_e( 'Status', 'emw-multiple-order-management' ); ?></th>
     
    6969                        <th class="check-column">
    7070                            <label class="screen-reader-text" for="primary_<?php echo esc_attr( $mom_order['id'] ); ?>">
    71                                 <?php esc_html_e( 'Select as primary order', 'emw-multiple-order-management' ); ?>
     71                                <?php esc_html_e( 'Select as parent order', 'emw-multiple-order-management' ); ?>
    7272                            </label>
    7373                            <input
     
    8383                        <td>
    8484                            <label class="screen-reader-text" for="secondary_<?php echo esc_attr( $mom_order['id'] ); ?>">
    85                                 <?php esc_html_e( 'Select as secondary order', 'emw-multiple-order-management' ); ?>
     85                                <?php esc_html_e( 'Select as linked order', 'emw-multiple-order-management' ); ?>
    8686                            </label>
    8787                            <input
     
    133133<?php endif; ?>
    134134<div class="emw-mom-group-details-footer">
    135     <p><?php esc_html_e( 'Note: Only one primary order can be selected. Multiple secondary orders can be selected.', 'emw-multiple-order-management' ); ?></p>
    136     <p><?php esc_html_e( 'After linking, the primary order will retain its details, and the secondary orders will be merged into it.', 'emw-multiple-order-management' ); ?></p>
     135    <p><?php esc_html_e( 'Note: Only one parent order can be selected. Multiple linked orders can be selected.', 'emw-multiple-order-management' ); ?></p>
     136    <p><?php esc_html_e( 'After linking, the parent order will retain its details, and the linked orders will be merged into it.', 'emw-multiple-order-management' ); ?></p>
    137137</div>
  • emw-multiple-order-management/trunk/templates/notifications-settings.php

    r3348643 r3348648  
    3434                    <p class="description" id="emw-mom-email-subject-description">
    3535                        <?php
    36                         esc_html_e( 'Customize the subject line for new multiple order notifications. Use the following placeholders:', 'emw-multiple-order-management' );
     36                        esc_html_e( 'Customize the subject line for new MultiOrder notifications. Use the following placeholders:', 'emw-multiple-order-management' );
    3737                        ?>
    3838                        <ul style="list-style: disc; margin-left: 20px;">
     
    5858                    />
    5959                    <p class="description" id="emw-mom-admin-email-description">
    60                         <?php esc_html_e( 'Enter the email address to notify when a new multiple order arrives.', 'emw-multiple-order-management' ); ?>
     60                        <?php esc_html_e( 'Enter the email address to notify when a new MultiOrder arrives.', 'emw-multiple-order-management' ); ?>
    6161                    </p>
    6262                </td>
     
    9898                    <p class="description">
    9999                        <?php
    100                         esc_html_e( 'Customize the email template for new multiple order notifications. Use the following placeholders:', 'emw-multiple-order-management' );
     100                        esc_html_e( 'Customize the email template for new MultiOrder notifications. Use the following placeholders:', 'emw-multiple-order-management' );
    101101                        ?>
    102102                        <ul style="list-style: disc; margin-left: 20px;">
  • emw-multiple-order-management/trunk/templates/rest-api-settings.php

    r3348643 r3348648  
    3232                    />
    3333                    <p class="description">
    34                         <?php esc_html_e( 'Enable REST API access for multiple order management.', 'emw-multiple-order-management' ); ?>
     34                        <?php esc_html_e( 'Enable REST API access for MultiOrder management.', 'emw-multiple-order-management' ); ?>
    3535                    </p>
    3636                </td>
Note: See TracChangeset for help on using the changeset viewer.