• Resolved [email protected]

    (@infoceesboutnl)


    I use the link below to show the cart items in a pagehaeder. This works fine, but if I delete an item, this item in the pagehaeder is not deleted. I have to refresh the page first. Is there a solution for this so that this is done automatically?

    <?php echo sprintf( _n(‘%d product’, ‘%d products’, WC()->cart->get_cart_contents_count(), ‘text’), WC()->cart->get_cart_contents_count() );?> – <?php echo wp_kses_data( WC()->cart->get_cart_subtotal() ); ?>

    Cees

Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘cart items’ is closed to new replies.