Class prdd_cart
Cart page process class
Package: Product-Delivery-Date-Pro-for-WooCommerce\Frontend\Cart
Author: Tyche Softwares
Since: 1.0
Located at prdd-cart.php
Author: Tyche Softwares
Since: 1.0
Located at prdd-cart.php
Methods summary
public static
array
|
#
prdd_add_cart_item( array $cart_item )
This function adjust the extra prices for the product with the price calculated from the plugin. |
public static
array
|
#
prdd_add_cart_item_data( array $cart_item_meta, integer $product_id )
This function returns the cart_item_meta with the delivery details of the product when add to cart button is clicked. |
public static
array
|
#
prdd_get_cart_item_from_session( array $cart_item, array $values )
This function adjust the prices calculated from the plugin in the cart session. |
public static
array
|
#
prdd_get_item_data( array $other_data, array $cart_item )
This function displays the delivery details on cart page, checkout page. |
public static
array
|
#
prdd_woo_cart_widget_subtotal( array $fragments )
This function modified the product price in the Woocommerce cart widget. |