Description
[wcj_order_items_total_number]
shortcode displays WooCommerce order items total number (line count).
Args
- order_id
- (optional) The integer ID for an order.
- Default: The current order ID, if exists
- before
- (optional) Text to place before the content. If content is empty this argument is ignored.
- Default: None
- after
- (optional) Text to place after the content. If content is empty this argument is ignored.
- Default: None
Example
Total items: [wcj_order_items_total_number]
Recommended for PDF Invoicing and Packing Slips module
Accessible through:
- [wcj_order_items_total_number]