[woo-total-balance]
[woo-total-orders-pending]
[woo-total-orders-on-hold]
[woo-total-orders-processing]
[woo-total-orders-completed]
[woo-total-orders-cancelled]
[woo-total-orders-refunded]
[woo-total-orders-failed]
[woo-order-count]
[woo-order-count-pending]
[woo-order-count-onhold]
[woo-order-count-process]
[woo-order-count-completed]
[woo-order-count-cancelled]
[woo-order-count-refunded]
[woo-order-count-failed]
[woo_customer_total_orders]
[woo_product_purchases id=’123′]
[php]
add_filter(‚add_to_cart_fragments‘, array($this, ‚woocommerce_header_add_to_cart_fragment‘));
/**
* Add the mini-cart to cart fragments, so it gets updated automatically when the cart is changed
* This should help with the compatibility with other WC plugins
* @param $fragments
* @return mixed
*/
function woocommerce_header_add_to_cart_fragment($fragments)
{
$fragments[‚#wmc-cart‘] = $this->render_mini_cart();
return $fragments;
}
[/php]