Plugin Directory

Changeset 2945690


Ignore:
Timestamp:
07/31/2023 08:27:45 PM (3 years ago)
Author:
louiscollarsmith
Message:

v1.0.16 change request format for merchantProductId

Location:
quiver-delivery
Files:
7 added
4 edited

Legend:

Unmodified
Added
Removed
  • quiver-delivery/trunk/includes/class-quiver-delivery-shipping-method.php

    r2935898 r2945690  
    108108            $lineItems = [];
    109109            foreach (WC()->cart->get_cart() as $cart_item) {
    110                 $lineItem = ['product' =>  ['merchantProductId' => $this->to_external_product_id($cart_item['product_id'], $cart_item['variation_id'])], 'quantity' => $cart_item['quantity']];
     110                $lineItem = ['merchantProductId' => $this->to_external_product_id($cart_item['product_id'], $cart_item['variation_id']), 'quantity' => $cart_item['quantity']];
    111111                array_push($lineItems, $lineItem);
    112112            }
     
    357357                $collectionAddress = $this->COLLECTION_ADDRESS_OVERRIDE;
    358358            }
    359             $lineItem = ['product' => ['merchantProductId' => $this->to_external_product_id($item['product_id'], $item['variation_id'])], 'quantity' => $item->get_quantity()];
     359            $lineItem = ['merchantProductId' => $this->to_external_product_id($item['product_id'], $item['variation_id']), 'quantity' => $item->get_quantity()];
    360360            array_push($lineItems, $lineItem);
    361361        }
  • quiver-delivery/trunk/quiver-delivery.php

    r2935898 r2945690  
    55 * Plugin URI: https://wordpress.org/plugins/quiver-delivery/
    66 * Description: Quiver provides fast and emissionless urban delivery. Magic.
    7  * Version: 1.0.15
     7 * Version: 1.0.16
    88 * Author: Quiver
    99 * Author URI: https://quiver.co.uk/
     
    2424    {
    2525
    26         private $version = "1.0.15";
     26        private $version = "1.0.16";
    2727
    2828        /**
  • quiver-delivery/trunk/readme.md

    r2935898 r2945690  
    66Tested up to: 6.0
    77Requires PHP: 7.0
    8 Stable tag: 1.0.15
     8Stable tag: 1.0.16
    99WC requires at least: 3.0.0
    1010WC tested up to: 6.6.1
     
    136136
    137137- Support for date specific back ordered line items. Add a value to your 'Back-ordered' meta field in the format '.. x-y Days' to set the delivery date to today + y days. 3 days will be used as a default if a value in the aforementioned format is not provided.
     138
     139= 1.0.16 =
     140
     141- Quiver API compatibility updates
  • quiver-delivery/trunk/readme.txt

    r2935898 r2945690  
    136136
    137137- Support for date specific back ordered line items. Add a value to your 'Back-ordered' meta field in the format '.. x-y Days' to set the delivery date to today + y days. 3 days will be used as a default if a value in the aforementioned format is not provided.
     138
     139= 1.0.16 =
     140
     141- Quiver API compatibility updates
Note: See TracChangeset for help on using the changeset viewer.