Overview
  • Package
  • Class
  • Tree
  • Deprecated
  • Todo
  • Hook Reference
  • Docs Home

Packages

  • None
  • Order-Delivery-Date-Pro-for-WooCommerce
    • Admin
      • Edit-Order
      • Non-Sensitive-Data-Capture
      • Settings
        • Custom-Delivery
        • General
        • Google-Calendar-Sync
    • Class-ORDDD-Email-Manager
    • Common-Functions
    • Delivery-Calendar
    • Emails
      • Class-ORDDD-Email-Update-Date
    • Filter
    • Frontend
      • Checkout-Page-Processes
      • ICS-Files-Data
    • Google-Calendar
    • Integration
    • Lang
    • License
    • Plugin-Updates
      • EDD-SL-Plugin-Updater

Classes

  • orddd_integration
  • orddd_shipping_multiple_address

Class orddd_shipping_multiple_address

Main class which handles different Delivery Date and Time Slot for different shipping addresses from Multiple Shipping Addresses plugin.

Package: Order-Delivery-Date-Pro-for-WooCommerce\Integration
Author: Tyche Softwares
Class: orddd_shipping_multiple_address
Located at orddd-shipping-multiple-address.php

Methods summary

public
# __construct( )

Default constructor

Default constructor

Since

4.7
public
# orddd_shipping_multiple_heading_address_header( )

This function adds Delivery Date header in the table added by the Multiple Shipping Addresses plugin.

This function adds Delivery Date header in the table added by the Multiple Shipping Addresses plugin.

Since

4.7

Hook

wc_ms_address_table_head
public
# orddd_shipping_multuple_delivery_date_table_row( string $key, array $value, string $address_key )

This function adds Delivery Date and Time Slot fields as a row in the table.

This function adds Delivery Date and Time Slot fields as a row in the table.

Parameters

$key
  • Cart Key
$value
  • Cart Details
$address_key
  • Address Key

Since

4.7

Globals

resource $wpdb
array $orddd_date_formats
resource $post
resource $woocommerce
array $orddd_languages
array $orddd_weekdays

Hook

wc_ms_multiple_address_table_row
public static
# orddd_shipping_multiple_timeslot_table_row( string $key, array $value, string $address_key )

This function adds Delivery Time Slot field as a row in the table.

This function adds Delivery Time Slot field as a row in the table.

Parameters

$key
  • Cart Key
$value
  • Cart Details
$address_key
  • Address Key

Since

4.7

Todo

Unused function. Need to check and remove it.

Globals

resource $woocommerce
public
# save_orddd_dates( )

Save the Delivery information for specific address in the Session.

Save the Delivery information for specific address in the Session.

Since

4.7

Globals

resource $woocommerce

Hook

template_redirect
public
# orddd_package_block( string $x, array $package )

Show the Delivery information on the shipping packages blocks

Show the Delivery information on the shipping packages blocks

Parameters

$x
  • Cart Key
$package
  • Shipping Package block

Since

4.7

Globals

resource $woocommerce

Hook

wc_ms_shipping_package_block
public
# orddd_session_view_order( WC_Order $order, string $package, array $x )

Show the Delivery information after the Package details in the Your order table.

Show the Delivery information after the Package details in the Your order table.

Parameters

$order
  • Order Object
$package
$x - Cart Key
$x
$package - Shipping Package block

Since

4.7

Globals

resource $woocommerce

Hook

wc_ms_order_package_block_after_address
public
# orddd_update_order_item_wcms( integer $order_id )

Update the Delivery information in the post_meta table.

Update the Delivery information in the post_meta table.

Parameters

$order_id
  • Order ID

Since

4.7

Hook

woocommerce_checkout_update_order_meta
public array
# orddd_remove_checkout_fields( array $fields )

Removes the Delivery fields on the checkout page.

Removes the Delivery fields on the checkout page.

Parameters

$fields
  • Checkout fields

Returns

array
$fields -Checkout fields

Since

4.7

Hook

woocommerce_checkout_fields
public
# orddd_wcms_order_recieved_head( )

Adds Delivery label in the Order Received table.

Adds Delivery label in the Order Received table.

Since

4.7

Hook

wc_ms_shop_table_head
public
# orddd_wcms_order_recieved_row( array $package, integer $order_id )

Displays the Delivery information in the Order received table.

Displays the Delivery information in the Order received table.

Parameters

$package
  • Shipping Package block
$order_id
  • Order ID

Since

4.7

Globals

resource $post

Hook

wc_ms_shop_table_row
public static
# orddd_get_delivery_charges( )

Adds the Delivery charges on the checkout page.

Adds the Delivery charges on the checkout page.

Since

4.7

Globals

resource $woocommerce

Hook

woocommerce_cart_calculate_fees
API documentation generated by ApiGen