Plugin Directory

Changeset 3396468


Ignore:
Timestamp:
11/16/2025 05:49:26 AM (5 months ago)
Author:
wclovers
Message:

WCFM Marketplace 3.6.16 version update

Location:
wc-multivendor-marketplace
Files:
980 added
7 edited

Legend:

Unmodified
Added
Removed
  • wc-multivendor-marketplace/trunk/core/class-wcfmmp-admin.php

    r3000763 r3396468  
    5050            add_filter( 'manage_edit-shop_coupon_columns', array( &$this, 'wcfmmp_store_post_columns' ) );
    5151            add_filter( 'manage_edit-job_listing_columns', array( &$this, 'wcfmmp_store_post_columns' ) );
     52            //legacy – for CPT-based orders
    5253            add_filter( 'manage_edit-shop_order_columns', array( &$this, 'wcfmmp_store_post_columns' ) );
     54            // for HPOS-based orders
     55            add_filter( 'manage_woocommerce_page_wc-orders_columns', array( &$this, 'wcfmmp_store_post_columns' ) );
    5356            add_filter( 'manage_edit-shop_subscription_columns', array( &$this, 'wcfmmp_store_post_columns' ) );
    5457            add_filter( 'manage_edit-wc_booking_columns', array( &$this, 'wcfmmp_store_post_columns' ), 99 );
     
    6063            add_action( 'manage_shop_coupon_posts_custom_column' , array( &$this, 'wcfmmp_store_post_custom_column' ), 10, 2 );
    6164            add_action( 'manage_job_listing_posts_custom_column' , array( &$this, 'wcfmmp_store_post_custom_column' ), 10, 2 );
     65            //legacy – for CPT-based orders
    6266            add_action( 'manage_shop_order_posts_custom_column' , array( &$this, 'wcfmmp_store_shop_order_custom_column' ), 10, 2 );
     67            // for HPOS-based orders
     68            add_action( 'manage_woocommerce_page_wc-orders_custom_column' , array( &$this, 'wcfmmp_store_shop_order_custom_column' ), 10, 2 );
    6369            add_action( 'manage_shop_subscription_posts_custom_column' , array( &$this, 'wcfmmp_store_shop_subscription_custom_column' ), 10, 2 );
    6470            add_action( 'manage_wc_booking_posts_custom_column' , array( &$this, 'wcfmmp_store_wc_booking_custom_column' ), 10, 2 );
  • wc-multivendor-marketplace/trunk/core/class-wcfmmp-commission.php

    r3252744 r3396468  
    3232        // Recheck Marketplace New Order after WC New Order object update
    3333        add_action('woocommerce_order_object_updated_props', array($this, 'wcfmmp_new_order_check'), 100, 2);
     34
     35        add_action('woocommerce_resume_order', array($this, 'wcfmmp_remove_old_order_items'));
    3436
    3537        // WC POS Order Process
     
    831833
    832834    /**
     835     * Issue: Vendors can't see order on their dashboard if payment fails
     836     * On order resume WooCommerce remove existing items and re-add them.
     837     * so we need to reset the commission calculation as well
     838     */
     839    function wcfmmp_remove_old_order_items($order_id) {
     840        remove_action('woocommerce_order_object_updated_props', array($this, 'wcfmmp_new_order_check'), 100);
     841        do_action('wcfm_manual_order_reset', $order_id, true);
     842    }
     843
     844    /**
    833845     * WC POS New Order Check
    834846     */
  • wc-multivendor-marketplace/trunk/core/class-wcfmmp-shortcode.php

    r3161935 r3396468  
    786786        $store_user  = wcfmmp_get_store( $store_id );
    787787        $store_info  = $store_user->get_shop_info();
     788        $address     = $store_user->get_address_string();
    788789       
    789790        $content = '<div class="wcfmmp_store_info wcfmmp_store_info_' . $data_info . '">';
     
    851852                                                                                                                 'store_user' => $store_user,
    852853                                                                                                                 'store_info' => $store_info,
     854                                                                                                                 'address'    => $address,
    853855                                                                                                                 'store_lat'  => $store_lat,
    854856                                                                                                                 'store_lng'  => $store_lng,
  • wc-multivendor-marketplace/trunk/readme.txt

    r3324683 r3396468  
    66Tested up to: 6.8
    77WC requires at least: 3.0
    8 WC tested up to: 9.9.0
     8WC tested up to: 10.3
    99Requires PHP: 5.6
    10 Stable tag: 3.6.15
     10Stable tag: 3.6.16
    1111License: GPLv2 or later
    1212License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    255255
    256256== Changelog ==
     257
     258= 3.6.16 =
     259*Updated - 16/11/2025*
     260
     261* Enhance - Added vendor display support for HPOS-based orders on the WP Admin orders list
     262* Enhance - WooCommerce 10.3+ compatibility check added
     263* Fixed   - Resolved issue where orders with initial payment failures did not appear on the vendor dashboard
     264* Fixed   - Corrected distance rate shipping to display the proper distance unit on vendor dashboard
     265* Fixed   - Resolved Undefined variable error in store_info shortcode.
    257266
    258267= 3.6.15 =
     
    17381747== Upgrade Notice ==
    17391748
    1740 = 3.6.15 =
    1741 * Enhance - WordPrss 6.8+ compatibility check added
    1742 * Enhance - WooCommerce 9.9+ compatibility check added
     1749= 3.6.16 =
     1750* Enhance - Added vendor display support for HPOS-based orders on the WP Admin orders list
     1751* Enhance - WooCommerce 10.3+ compatibility check added
     1752* Fixed   - Resolved issue where orders with initial payment failures did not appear on the vendor dashboard
     1753* Fixed   - Corrected distance rate shipping to display the proper distance unit on vendor dashboard
     1754* Fixed   - Resolved Undefined variable error in store_info shortcode.
  • wc-multivendor-marketplace/trunk/views/shipping/wcfmmp-view-shipping-settings.php

    r2654703 r3396468  
    11<?php
    22
    3   global $WCFM;
     3  global $WCFM, $WCFMmp;
    44  //$user_id = apply_filters( 'wcfm_current_vendor_id', get_current_user_id() );
    55 
  • wc-multivendor-marketplace/trunk/wc-multivendor-marketplace-config.php

    r3324683 r3396468  
    55define('WCFMmp_TEXT_DOMAIN', 'wc-multivendor-marketplace');
    66
    7 define('WCFMmp_VERSION', '3.6.15');
     7define('WCFMmp_VERSION', '3.6.16');
    88
    99define('WCFMmp_SERVER_URL', 'https://wclovers.com');
  • wc-multivendor-marketplace/trunk/wc-multivendor-marketplace.php

    r3324683 r3396468  
    55 * Description: Most featured and flexible marketplace solution for your e-commerce store. Simply and Smoothly.
    66 * Author: WC Lovers
    7  * Version: 3.6.15
     7 * Version: 3.6.16
    88 * Author URI: https://wclovers.com
    99 *
     
    1212 *
    1313 * WC requires at least: 3.0.0
    14  * WC tested up to: 9.9.0
     14 * WC tested up to: 10.3
    1515 *
    1616 */
Note: See TracChangeset for help on using the changeset viewer.