Hi everyone,
I’ve recently added a “shop more” button to my cart, and it actually worked out great. But there is still a small update button without text, but when I press it, the cart updates.
I would like to put “opdater” (means update in danish) text in the button, so that the customers knows that it updates the cart, and also I would like to move the button further up towards the products in the cart.
Some of the words might be in danish, as it is a danish webshop.
I really hope you can help me, as it feels like I’ve tried everything with the update button.
As you can see there are three buttons;
- blank, 2) black “Shop more/shop mere” and 3) Betaling/Payment (which is also black when you check the terms and conditions button)
This is the cart.liquid:
{% if cart.item_count > 0 %}
{{ 'cart.general.title' | t }}
{% for item in cart.items %}
{{ item.variant.title }} {% endunless %}
{% unless item.selling_plan_allocation == nil %}
{{ item.selling_plan_allocation.selling_plan.name }}
{% 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: ‘date’ %}
{{ ‘products.product.will_not_ship_until’ | t: date: date }}
{% endif %}
{% assign property_size = item.properties | size %}
{% if property_size > 0 %}
{% for p in item.properties %}
{% 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 %} {% endif %}
{%- if item.original_line_price != item.final_line_price -%}
{{ ‘products.general.regular_price’ | t }}
{{ item.original_line_price | money }}
{{ ‘products.general.sale_price’ | t }}
{{ item.final_line_price | money }}
{%- else -%}
{{ item.original_line_price | money }}
{%- endif -%}
{%- if item.variant.available and item.variant.unit_price_measurement -%}
{% include ‘product-unit-price’ variant: item, available: item.variant.available %}
{%- endif -%}
{%- if item.line_level_discount_allocations != blank -%}
-
{%- for discount_allocation in item.line_level_discount_allocations -%}
- {{ discount_allocation.discount_application.title }} (-{{ discount_allocation.amount | money }}) {%- endfor -%}
{% endfor %}
{% if settings.cart_notes_enable %}
{%- if cart.cart_level_discount_applications != blank -%}
{{ ‘cart.general.subtotal’ | t }}
{% include ‘price’ with cart.total_price %}
{%- capture taxes_shipping_checkout -%}
{%- if cart.taxes_included and shop.shipping_policy.body != blank -%}
{{ ‘cart.general.taxes_included_and_shipping_policy_html’ | t: link: shop.shipping_policy.url }}
{%- elsif cart.taxes_included -%}
{{ ‘cart.general.taxes_included_but_shipping_at_checkout’ | t }}
{%- elsif shop.shipping_policy.body != blank -%}
{{ ‘cart.general.taxes_and_shipping_policy_at_checkout_html’ | t: link: shop.shipping_policy.url }}
{%- else -%}
{{ ‘cart.general.taxes_and_shipping_at_checkout’ | t }}
{%- endif -%}
{%- endcapture -%}
{{ taxes_shipping_checkout }}>
Shop mere {{ 'cart.general.checkout' | t }}{% if additional_checkout_buttons %}
{% else %}
{{ 'cart.general.title' | t }}
{{ 'cart.general.empty' | t }}
{{ 'cart.general.continue_browsing_html' | t: link: routes.all_products_collection_url }}
{{ 'cart.general.cookies_required' | t }}
{% endif %}
{% include ‘wiser_related’ %}{% include ‘wiser_recommended’ %}{% include ‘wiser_trending’ %}{% include ‘wiser_recentview’ %}{% include ‘wiser_newarrivals’ %}{% include ‘wiser_featured’ %}{% include ‘wiser_topselling’ %}{% include ‘wiser_recent_related’ %
