Description
[wcj_cart_function]
shortcode calls any WooCommerce cart `WC_Cart` class function and displays its results. For a full list of possible functions please check WC_Cart class documenation.
Args
Please check shortcodes common args.
- function_name
- (required) Function name to call.
- Default: None
Examples
[wcj_cart_function function_name="get_cart_contents_count" before="Cart contents count: "]
Accessible through:
- [wcj_cart_function]