Shipping saving message - impulse theme

MariaJensen
Excursionist
40 2 12

Hi, 
Can anybody tell me why my shipping savings message i the cart drawer is all of a sudden not updating when adding a product - it usually update by it self but not anymore.

I am using this code in cart-drawer.liquid 

      {% assign shipping_value = 149900 %}
  {% assign cart_total = cart.total_price %}
  {% assign shipping_value_left = shipping_value | minus: cart_total %}
 
<p class="shipping-savings-message">
      {% if shipping_value_left > 0 %}
  {{ shipping_value_left | money }} tilbage til gratis fragt
  {% else %}
    Du har gratis fragt!
  {% endif %}
</p>

 

Link to my webshop is: https://hofstrawagner.dk/

thank you in advance!

0 Likes