This is simply a list of cart total calculation-related filter hooks that can be found within the WooCommerce Partial COD - Payment Gateway Restrictions & Fees files. This list also includes the supported parameters and example codes.
woopcd_partialcod-admin/method-options/get-cart-totals-options
- Parameters:
- $options array()
Example Codes:
woopcd_partialcod-admin/partial-payment/get-cart-totals-options
- Parameters:
- $options array()
Example Codes:
woopcd_partialcod-admin/cart-discounts/get-cart-totals-options
- Parameters:
- $options array()
Example Codes:
woopcd_partialcod-admin/cart-fees/get-cart-totals-options
- Parameters:
- $options array()
Example Codes:
woopcd_partialcod-admin/order-activities/get-order-totals-options
- Parameters:
- $options array()
Example Codes:
woopcd_partialcod/calculate-cart-{option_id}-totals
- Parameters:
- $totals numeric
- $cart_data array()
Example Codes:
woopcd_partialcod/calculate-order-{option_id}-totals
- Parameters:
- $totals numeric
- $cart_data 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