Class DFW_Manage_Cart
Manage the product item data in the cart
Package: Deposits-for-WooCommerce\Cart
Category: Classes
Author: Tyche Softwares
Since: 1.0
Located at includes/class-dfw-manage-cart.php
Category: Classes
Author: Tyche Softwares
Since: 1.0
Located at includes/class-dfw-manage-cart.php
Methods summary
public
|
|
public
|
#
dfw_display_deposits_form( )
Add options to select deposit or full payment on product front end page |
public
array
|
#
dfw_add_cart_item_data( array $cart_item_meta, integer $product_id )
Add meta information to cart item |
public
|
#
dfw_get_cart_item_from_session( array $cart_item, array $values, array $cart_item_key )
Get Cart item data from session |
public
array
|
|
public
array
|
#
dfw_get_product_data( mixed $other_data, mixed $cart_item )
Display meta under product name in the cart |
public
|
#
dfw_get_item_price( float $output, mixed $cart_item, mixed $cart_item_key )
Display the correct item price |
public
|
#
dfw_display_item_subtotal( $output, mixed $cart_item, mixed $cart_item_key )
Show the amount payable based on payment plan or fixed amount |
public
|
|
public
|
|
public
|
|
public
|
#
dfw_add_order_item_meta( integer $item_id, mixed $cart_item )
Add meta information of deposit amount & payment plans to order items |
public
|
#
dfw_new_order_item( integer $item_id, mixed $item, integer $order_id )
Add order item meta while placing the order |