Hello! I’m working on a woocommerce shop in oxygen, and for showing the amount of items in cart I use cart->get_cart_contents_count(); ?>
However many times this keeps conflicting with the builder, see screenshots below.
Any cleaner way to code the amount of items in cart so I don’t keep getting errors… something like wrapping an IF statement around it?
oxygen builder experts 55329 posts 0 comments