Can someone help me the issue? My cart cannot automatically update the subtotal with adjusted quantity. My store is using customized theme.
Here is the code:
{% if cart.item_count > 0 %}
{{ 'cart.general.title' | t }}
{% for item in cart.items %}
{% include ‘w3-product-options’, step:‘money_line’ %}
{% unless item.variant.title contains ‘Default’ %}
{{ item.variant.title }}
{% endunless %}
{% if settings.product_quantity_message and item.variant.inventory_management and item.variant.inventory_quantity <= 0 and item.variant.incoming %}
{% assign date = item.variant.next_incoming_date | date: format: ‘month_day_year’ %}
{{ 'products.product.will_not_ship_until' | t: date: date }}
{% endif %}{% assign property_size = item.properties | size %}
{% if property_size > 0 %}
{%- comment -%}{% for p in item.properties %}
{% if p.first.first == ‘’ %}{% continue %}{% endif %}
{% if forloop.first %}
{% endif %}
{% assign first_character_in_key = p.first | truncate: 1, ‘’ %}
{% unless p.last == blank or first_character_in_key == '’ %}
{{ p.first }}:
{% if p.last contains ‘/uploads/’ %}
{{ p.last | split: ‘/’ | last }}
{% else %}
{{ p.last }}
{% endif %}
{% endunless %} {% endfor %}{%- endcomment -%}{% for p in item.properties %} {% if p.first contains '_apo' %}{% continue %}{% endif; %} {% unless p.last == blank %}
{% else %} {{ p.last }}
{% endif %}
{% endif %}
{% endfor %}
{{ 'cart.general.taxes_extra' | t }}
{{ 'cart.general.checkout' | t }} {% if additional_checkout_buttons %}Before you checkout, make sure you agree to all the customer policies, terms, and conditions. By click checkout, you agree to all the customer policies, terms, and conditions.
{% endif %}
{% else %}
{{ 'cart.general.title' | t }}
{{ 'cart.general.empty' | t }}
{{ 'cart.general.continue_browsing_html' | t }}
{{ 'cart.general.cookies_required' | t }}
{% endif %}
{{ shop.name }} process all orders in {{ shop.currency }}. While the content of your cart is currently displayed in , you will checkout using {{ shop.currency }} at the most current exchange rate.