Capture cart count and convert to number

PHOTO EMBED

Mon Sep 25 2023 18:47:33 GMT+0000 (Coordinated Universal Time)

Saved by @DeelenSC

{% capture boldCartCount %}{% render 'bold-options-hybrid-cart-item-count' with cart %}{% endcapture %}
{% assign cartItemCount = boldCartCount | plus: 0 %}
{% if cartItemCount == 0 %}
  {% assign cart = empty %}
{% endif %}
content_copyCOPY

Use to have AJAX cart properly display "Your Cart is Empty" message when priced options are removed from cart.