This is simply a list of cart data-related filter hooks included in the WooCommerce Catalog Mode - Pricing, Enquiry Forms & Promotions files. This list also includes the supported parameters and example codes.
wmodes/get-cart-item
- Parameters:
- $cart_item array()
- $raw_cart_item array()
- $contex string
Example Codes:
wmodes/get-cart-totals
- Parameters:
- $totals array()
- $raw_totals array()
- $contex string
Example Codes:
wmodes/get-cart-applied-coupons
- Parameters:
- $applied_coupons array()
- $raw_applied_coupons array()
- $contex string
Example Codes:
wmodes/get-cart-shipping
- Parameters:
- $shipping array()
- $raw_shipping array()
- $contex string
Example Codes:
wmodes/get-cart-payment-method-id
- Parameters:
- $payment_method_id array()
- $raw_payment_method_id array()
- $contex string
Example Codes:
wmodes/get-cart-customer
- Parameters:
- $customer array()
- $raw_customer array()
Example Codes:
Was this article helpful?
That’s Great!
Thank you for your feedback
Sorry! We couldn't be helpful
Thank you for your feedback
Feedback sent
We appreciate your effort and will try to fix the article