Plugin Directory

Changeset 3448191


Ignore:
Timestamp:
01/27/2026 09:15:40 PM (4 weeks ago)
Author:
routedev
Message:

bugfix: adjustments for local pickup orders

Location:
routeapp/trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • routeapp/trunk/public/class-routeapp-public.php

    r3443546 r3448191  
    950950        $updated |= $this->updateRouteOrderMetaData( $order, $is_hpos, '_routeapp_included_order_statuses', $acceptedOrderStatuses );
    951951        $updated |= $this->updateRouteOrderMetaData( $order, $is_hpos, '_routeapp_cancel_order_statuses', $acceptedCanceledStatuses );
     952
     953        //MSS-6533: Add local pickup flag and excluded shipping methods meta data to the order
     954        $updated |= $this->updateRouteOrderMetaData( $order, $is_hpos, '_routeapp_order_local_pickup',
     955            !$this->routeapp_is_shipping_method_allowed(false, $order) ? 1 : 0);
     956        $updated |= $this->updateRouteOrderMetaData( $order, $is_hpos, '_routeapp_excluded_shipping_methods', $this->routeapp_get_excluded_shipping_methods());
    952957
    953958        // Save order if there is any update
  • routeapp/trunk/readme.txt

    r3443546 r3448191  
    66Requires at least: 4.0
    77Tested up to: 6.7.1
    8 Stable tag: 2.2.34
     8Stable tag: 2.2.35
    99Requires PHP: 5.6
    1010License: GPLv2 or later
     
    106106
    107107== Changelog ==
     108
     109= 2.2.35 =
     110* Add Route order metadata to handle excluded shipping methods
    108111
    109112= 2.2.34 =
  • routeapp/trunk/routeapp.php

    r3443546 r3448191  
    1010 * Plugin URI:        https://route.com/for-merchants/
    1111 * Description:       Route allows shoppers to insure their orders with one-click during checkout, adding a layer of 3rd party trust while improving the customer shopping experience.
    12  * Version:           2.2.34
     12 * Version:           2.2.35
    1313 * Author:            Route
    1414 * Author URI:        https://route.com/
     
    2626 * Currently plugin version.
    2727 */
    28 define( 'ROUTEAPP_VERSION', '2.2.34' );
     28define( 'ROUTEAPP_VERSION', '2.2.35' );
    2929
    3030/**
Note: See TracChangeset for help on using the changeset viewer.