Plugin Directory

Changeset 2858930


Ignore:
Timestamp:
02/02/2023 11:52:00 AM (3 years ago)
Author:
viaads
Message:

Address Readability Update on orders

Location:
viaads
Files:
16 added
4 edited

Legend:

Unmodified
Added
Removed
  • viaads/trunk/hooks/orderHooks.php

    r2858453 r2858930  
    3838
    3939        // Billing Address
    40         /*$order_billing_address = new stdClass();
     40        $order_billing_address = new stdClass();
    4141        $order_billing_address->first_name = $order->get_billing_first_name();
    4242        $order_billing_address->last_name = $order->get_billing_last_name();
     
    4848        $order_billing_address->phone_number = $order->get_billing_phone();
    4949        $order_billing_address->email = $order->get_billing_email();
    50         $order_object->Billing_address = $order_billing_address;*/
     50        $order_object->Billing_address = $order_billing_address;
    5151
    5252
    5353        // Shipping Address
    54         /*$order_shipping_address = new stdClass();
     54        $order_shipping_address = new stdClass();
    5555        $order_shipping_address->first_name = $order->get_shipping_first_name();
    5656        $order_shipping_address->last_name = $order->get_shipping_last_name();
     
    6262        $order_shipping_address->phone_number = $order->get_shipping_phone();
    6363        $order_shipping_address->email = $order->get_billing_email();
    64         $order_object->Shipping_address = $order_shipping_address;*/
     64        $order_object->Shipping_address = $order_shipping_address;
    6565
    6666        $refundItems = [];
  • viaads/trunk/readme.txt

    r2858453 r2858930  
    44Requires at least: 5.4
    55Tested up to: 6.1
    6 Stable tag: 1.0.12
     6Stable tag: 1.0.13
    77Requires PHP: 7.0
    88License: GPLv3
  • viaads/trunk/sync.php

    r2858453 r2858930  
    345345
    346346            // Billing Address
    347             /*$order_billing_address = new stdClass();
     347            $order_billing_address = new stdClass();
    348348            $order_billing_address->first_name = $order->get_billing_first_name();
    349349            $order_billing_address->last_name = $order->get_billing_last_name();
     
    355355            $order_billing_address->phone_number = $order->get_billing_phone();
    356356            $order_billing_address->email = $order->get_billing_email();
    357             $order_object->Billing_address = $order_billing_address;*/
     357            $order_object->Billing_address = $order_billing_address;
    358358
    359359
    360360            // Shipping Address
    361             /*$order_shipping_address = new stdClass();
     361            $order_shipping_address = new stdClass();
    362362            $order_shipping_address->first_name = $order->get_shipping_first_name();
    363363            $order_shipping_address->last_name = $order->get_shipping_last_name();
     
    369369            $order_shipping_address->phone_number = $order->get_shipping_phone();
    370370            $order_shipping_address->email = $order->get_billing_email();
    371             $order_object->Shipping_address = $order_shipping_address;*/
     371            $order_object->Shipping_address = $order_shipping_address;
    372372
    373373            $refundItems = [];
  • viaads/trunk/viaads.php

    r2858453 r2858930  
    33 * Plugin Name: ViaAds
    44 * Description: Plugin der muliggør forbindelsen til ViaAds / Plug-in enabling the connection to ViaAds.
    5  * Version: 1.0.12
     5 * Version: 1.0.13
    66 * Author: ViaAds
    77 * Author URI: https://www.viaads.dk/
Note: See TracChangeset for help on using the changeset viewer.