Class prdd_common
Common functions class
Package: Product-Delivery-Date-Pro-for-WooCommerce\Common-Functions
Author: Tyche Softwares
Since: 1.0
Located at prdd-common.php
Author: Tyche Softwares
Since: 1.0
Located at prdd-common.php
Methods summary
public static
integer
|
#
prdd_get_product_id( integer $product_id )
Returns the base product id when product is translated using WPML |
public static
integer
|
#
prdd_get_price( integer $product_id, integer $variation_id, integer $product_type )
Returns the price of the product. |
public static
string
|
|
public static
integer
|
#
prdd_multicurrency_price( integer $price, string $currency_selected )
Returns the converted price for the currency selected from multicurrency option in WPML. |
public static
integer
|
#
woo_product_addons_compatibility_cart( array $cart_item_meta )
Returns the WooCommerce Product Addons Options total |
public static
integer
|
#
prdd_get_parent_id( integer $child_id )
The function checks if the passed product ID is listed as a child in _children postmeta If yes, then it returns the parent product ID else it returns 0 |
public static
string
|
#
prdd_get_formatted_shipping_customer_address( integer $user_id )
Return formatted shipping custom address. |
public static
array
|
#
prdd_get_event_details( array $values, integer $order_id )
Return details to be exported to the gogole calendar. |
public static
array
|
|
public static
resource
|