Please remove what is circled in the image from the mini-cart.liquid code below:
{{ ‘button-style.css’ | asset_url | stylesheet_tag }}
{%- liquid assign section_blocks = section.blocks assign se_stts = section.settings assign ccount = cart.item_count assign ck_lumise = 'ck_lumise' assign cart_url = routes.cart_url assign cart_change_url = routes.cart_change_url assign min_qty = settings.min_qty | plus: 0 assign compare_tt_price = 0 assign shipping_amount = settings.free_ship_pr.metafields.theme.shipping_money.value | default: settings.free_ship_pr.price | default: -1 assign total_price = cart.total_priceassign se_style = se_stts.style
assign se_pos = se_stts.pos
assign gift_pr = all_products[settings.gift_wrap_pr]
assign gift_pr_id = gift_pr.id
assign arr_gift_id = cart.items | where: ‘product_id’, gift_pr_id
if cart.note != blank
assign style_add = ‘t4s-d-none’
assign style_edit = ‘’
else
assign style_add = ‘’
assign style_edit = ‘t4s-d-none’
endif
assign edit_item = settings.edit_item
assign cur_code_enabled = settings.currency_code_enabled
assign atc_ajax_enable = settings.atc_ajax_enable
assign cart_ajax_enable = settings.cart_ajax_enable
-%}
{%- capture html_btn -%}
{%- if se_style == ‘1’ -%}
{%- if request.design_mode -%}
{%- if enable_shipbar -%}
{%- capture text_w_ship -%}
{%- if total_price == 0 -%}
{%- liquid
assign array_shipbar_per = des_shipbar_per_1 | append: ‘;’ | append: des_shipbar_per_2 | append: ‘;’ | append: des_shipbar_per_3 | split: ‘;’ | sort_natural
assign percent_class = array_shipbar_per[0] | plus: 0
if percent_class == 100
assign percent_class = less_100
endif
-%}
{%- capture style_w %} style=“width:0”{% endcapture -%}
{%- liquid
assign array_shipbar_per = des_shipbar_per_1 | append: ‘;’ | append: des_shipbar_per_2 | append: ‘;’ | append: des_shipbar_per_3 | split: ‘;’ | sort_natural
assign percent_w2 = shipping_amount | minus: total_price | times: 100.0 | divided_by: shipping_amount
assign percent_w2 = 100 | minus: percent_w2
assign shipbar_num_0 = array_shipbar_per[0] | plus: 0
assign shipbar_num_1 = array_shipbar_per[1] | plus: 0
assign shipbar_num_2 = array_shipbar_per[2] | plus: 0
if percent_w2 < shipbar_num_0
assign percent_class = shipbar_num_0
elsif percent_w2 < shipbar_num_1
assign percent_class = shipbar_num_1
else
assign percent_class = shipbar_num_2
else
assign percent_class = 99.994
endif
if percent_class == 100
assign percent_class = less_100
endif
-%}
{%- capture style_w %} style=“width:{{ percent_w2 }}%”{% endcapture -%}
{%- else -%}
{%- endcapture -%}
{%- style -%}
[data-t4s-percent=“{% if des_shipbar_per_1 == 100 %}{{ less_100 }}{% else %}{{ des_shipbar_per_1 }}{% endif %}”] { --main-threshold-color: {{ settings.des_shipbar_cl_1 }}; }
[data-t4s-percent=“{% if des_shipbar_per_2 == 100 %}{{ less_100 }}{% else %}{{ des_shipbar_per_2 }}{% endif %}”] { --main-threshold-color: {{ settings.des_shipbar_cl_2 }}; }
[data-t4s-percent=“{% if des_shipbar_per_3 == 100 %}{{ less_100 }}{% else %}{{ des_shipbar_per_3 }}{% endif %}”] { --main-threshold-color: {{ settings.des_shipbar_cl_3 }}; }
[data-t4s-percent=“99.994”],[data-t4s-percent=“100”] { --main-threshold-color: {{ settings.des_shipbar_cl_4 }}; }
{%- endstyle -%}
{%- endif -%}
{%- for item in cart.items -%}
{%- render ‘cart-item’, item: item, gift_pr_id: gift_pr_id, min_qty: min_qty, compare_tt_price: compare_tt_price, cart_change_url: cart_change_url, edit_item: edit_item, cur_code_enabled: cur_code_enabled, atc_ajax_enable: atc_ajax_enable, cart_ajax_enable: cart_ajax_enable -%}
{%- endfor -%}
{%- else -%}
#t4s-mini_cart .t4s-drawer__bottom { opacity: 0; -webkit-transform: translateY(45px); transform: translateY(45px); -webkit-transition: opacity .25s cubic-bezier(.25,.46,.45,.94),-webkit-transform .25s cubic-bezier(.25,.46,.45,.94); transition: opacity .25s cubic-bezier(.25,.46,.45,.94),transform .25s cubic-bezier(.25,.46,.45,.94),-webkit-transform .25s cubic-bezier(.25,.46,.45,.94); }{{ 'cart.mini_cart.empty' | t }}
{%- assign btn_blocks = section_blocks | where: "type", 'btn' -%} {%- if btn_blocks.size > 0 -%} {%- for block in btn_blocks -%} {%- assign bk_stts = block.settings -%} {%- assign button_style = bk_stts.button_style -%} {%- if bk_stts.title != blank -%} {%- endif -%} {%- endfor -%} {%- endif -%}{%- endif -%}
{%- unless se_style == ‘1’ and se_pos == ‘1’ %}{{- html_btn -}}{% endunless -%}
{%- if se_stts.enable_pr %}
{% endif -%}-
{%- for discount_application in cart.cart_level_discount_applications -%}
- {{- discount_application.title -}} (-{{ discount_application.total_allocated_amount | money }}) {%- endfor -%}
{%- when ‘tax’ -%}
{%- capture taxes_shipping_checkout -%}{%- assign page_url = settings.link_ship -%}
{%- if se_stts.show_discount -%}
{%- if cart.taxes_included and page_url != blank -%}
{{ ‘cart.general.taxes_included_discounts_and_shipping_policy_html’ | t: link: page_url }}
{%- elsif cart.taxes_included -%}
{{ ‘cart.general.taxes_included_discounts_but_shipping_at_checkout’ | t }}
{%- elsif page_url != blank -%}
{{ ‘cart.general.taxes_discounts_and_shipping_policy_at_checkout_html’ | t: link: page_url }}
{%- else -%}
{{ ‘cart.general.taxes_discounts_and_shipping_at_checkout’ | t }}
{%- endif -%}
{%- else -%}
{%- if cart.taxes_included and page_url != blank -%}
{{ ‘cart.general.taxes_included_and_shipping_policy_html’ | t: link: page_url }}
{%- elsif cart.taxes_included -%}
{{ ‘cart.general.taxes_included_but_shipping_at_checkout’ | t }}
{%- elsif page_url != blank -%}
{{ ‘cart.general.taxes_and_shipping_policy_at_checkout_html’ | t: link: page_url }}
{%- else -%}
{{ ‘cart.general.taxes_and_shipping_at_checkout’ | t }}
{%- endif -%}
{%- endif -%}
{%- endcapture -%}
{{ taxes_shipping_checkout }}
{%- when ‘agree’ -%}
{%- capture terms_and_conditions -%}{%- assign page_url = settings.link_conditions -%}
{%- if page_url != blank -%}
{{ ‘cart.general.terms_and_conditions_html’ | t: link: page_url }}
{%- else -%}
{{ ‘cart.general.terms_and_conditions’ | t }}
{%- endif -%}
{%- endcapture -%}
{{ terms_and_conditions }}
{%- when ‘btnc’ -%}
<a {{ block.shopify_attributes }} href=“{{ cart_url }}” data-loading-bar class=“t4s-btn__cart t4s-btn t4s-btn-base t4s-btn-style-{{ button_style }} t4s-btn-color-{{ bk_stts.btn_cl }} {% if button_style == ‘default’ or button_style == ‘outline’ %}t4s-btn-effect-{{ bk_stts.button_effect }}{% endif %} t4s-w-100 t4s-justify-content-center t4s-truncate”>{{ ‘cart.mini_cart.view’ | t }} {%- if bk_stts.btn_icon -%}{%- endif -%}
{%- when ‘btnck’ -%}
{%- if settings.currency_type == ‘2’ and settings.notify_currency and settings.mess_currency != blank %}{% assign cart_iso_code = cart.currency.iso_code %}{% assign text1 = ‘{{ currency }}’ -%}
{{ settings.mess_currency | replace: text1, cart_iso_code | replace: '[currency]', cart_iso_code | replace: '[original_currency]', cart_iso_code | replace: '[current_currency]', '' }}
{%- endif -%} {{ 'cart.mini_cart.checkout' | t }} {%- if bk_stts.btn_icon -%}{%- endif -%}{%- when ‘btnmr’ -%}
{%- if additional_checkout_buttons and unadmin_sp -%}{{ arr_agree[0] }}<div {{ block.shopify_attributes }} data-add-ckt4 class=“additional_checkout_buttons additional-checkout-buttons–vertical mt__10 mb__10{{ cl_agree }}”>{{ content_for_additional_checkout_buttons }}
{%- when ‘img’ -%}
{% if bk_stts.image != blank %}
{%- assign image = bk_stts.image -%}
{%- else -%}{% continue -%}
{%- endcase -%}
{%- endfor -%}
{%- if se_stts.enable_note -%}
{{ 'cart.tool.save' | t }}
{{ 'cart.tool.cancel' | t }}
{%- if se_stts.enable_rates %}{% assign idShip = ‘mini_cart’ -%}
{%- if se_stts.enable_gift_wrap and gift_pr.available == true -%}
{%- if se_stts.enable_discount -%}
{{ 'cart.tool.info_coupon' | t }}
{%- if request.design_mode %}{% endif -%}
{%- schema -%}
{
“name”: “Shopping Cart Widget”,
“max_blocks”: 20,
“settings”: [
{
“type”: “paragraph”,
“content”: “Those settings are only applicable when the cart contains at least one product.”
},
{
“type”: “select”,
“id”: “style”,
“options”: [
{
“value”: “1”,
“label”: “Icon”
},
{
“value”: “2”,
“label”: “Button text”
}
],
“label”: “Buttons style”
},
{
“type”: “select”,
“id”: “pos”,
“default”: “2”,
“options”: [
{
“value”: “1”,
“label”: “Top”
},
{
“value”: “2”,
“label”: “Bottom”
}
],
“info”: “Only working with button style icon”,
“label”: “Position button icon”
},
{
“type”: “checkbox”,
“id”: “enable_pr”,
“label”: “Enable product recommendations”,
“default”: true
},
{
“type”: “checkbox”,
“id”: “enable_calc_ship”,
“label”: “Enable calc shipping”,
“info”: “Free shipping minimum amount.”,
“default”: true
},
{
“type”: “checkbox”,
“id”: “enable_note”,
“label”: “Enable order notes”,
“default”: true
},
{
“type”: “checkbox”,
“id”: “enable_rates”,
“label”: “Enable shipping rates calculator”,
“default”: true
},
{
“type”: “checkbox”,
“id”: “enable_discount”,
“label”: “Enable input box discounts codes”,
“default”: true
},
{
“type”: “checkbox”,
“id”: “enable_gift_wrap”,
“label”: “Enable gift wrap”,
“default”: true
},
{
“type”: “header”,
“content”: “+ Shipping Rates Calculator”
},
{
“type”: “text”,
“id”: “ship_df_country”,
“label”: “Default country selection”,
“default”: “United States”
},
{
“type”: “paragraph”,
“content”: “If your customer is logged-in, the country in his default shipping address will be selected. If you are not sure about the spelling to use here, refer to the first checkout page.”
}
],
“blocks”: [
{
“type”: “price”,
“name”: “Total price”,
“limit”: 1
},
{
“type”: “tax”,
“name”: “Taxes and shipping info”,
“limit”: 1
},
{
“type”: “agree”,
“name”: “Terms,conditions checkbox”,
“limit”: 1
},
{
“type”: “btnc”,
“name”: “Button Cart”,
“limit”: 1,
“settings”: [
{
“type”: “checkbox”,
“id”: “btn_icon”,
“label”: “Enable button icon”,
“default”: false
},
{
“type”: “select”,
“id”: “button_style”,
“label”: “Button style”,
“options”: [
{
“label”: “Default”,
“value”: “default”
},
{
“label”: “Outline”,
“value”: “outline”
},
{
“label”: “Bordered bottom”,
“value”: “bordered”
},
{
“label”: “Link”,
“value”: “link”
}
]
},
{
“type”: “select”,
“id”: “btn_cl”,
“label”: “Button color”,
“default”: “dark”,
“options”: [
{
“value”: “light”,
“label”: “Light”
},
{
“value”: “dark”,
“label”: “Dark”
},
{
“value”: “primary”,
“label”: “Primary”
},
{
“value”: “custom1”,
“label”: “Custom color 1”
},
{
“value”: “custom2”,
“label”: “Custom color 2”
}
]
},
{
“type”: “select”,
“id”: “button_effect”,
“label”: “Button hover effect”,
“default”: “default”,
“info”: “Only working button style default, outline”,
“options”: [
{
“label”: “Default”,
“value”: “default”
},
{
“label”: “Fade”,
“value”: “fade”
},
{
“label”: “Rectangle out”,
“value”: “rectangle-out”
},
{
“label”: “Sweep to right”,
“value”: “sweep-to-right”
},
{
“label”: “Sweep to left”,
“value”: “sweep-to-left”
},
{
“label”: “Sweep to bottom”,
“value”: “sweep-to-bottom”
},
{
“label”: “Sweep to top”,
“value”: “sweep-to-top”
},
{
“label”: “Shutter out horizontal”,
“value”: “shutter-out-horizontal”
},
{
“label”: “Outline”,
“value”: “outline”
},
{
“label”: “Shadow”,
“value”: “shadow”
}
]
}
]
},
{
“type”: “btnck”,
“name”: “Button Checkout”,
“limit”: 1,
“settings”: [
{
“type”: “checkbox”,
“id”: “btn_icon”,
“label”: “Enable button icon”,
“default”: false
},
{
“type”: “select”,
“id”: “button_style”,
“label”: “Button style”,
“options”: [
{
“label”: “Default”,
“value”: “default”
},
{
“label”: “Outline”,
“value”: “outline”
},
{
“label”: “Bordered bottom”,
“value”: “bordered”
},
{
“label”: “Link”,
“value”: “link”
}
]
},
{
“type”: “select”,
“id”: “btn_cl”,
“label”: “Button color”,
“default”: “dark”,
“options”: [
{
“value”: “light”,
“label”: “Light”
},
{
“value”: “dark”,
“label”: “Dark”
},
{
“value”: “primary”,
“label”: “Primary”
},
{
“value”: “custom1”,
“label”: “Custom color 1”
},
{
“value”: “custom2”,
“label”: “Custom color 2”
}
]
},
{
“type”: “select”,
“id”: “button_effect”,
“label”: “Button hover effect”,
“default”: “default”,
“info”: “Only working button style default, outline”,
“options”: [
{
“label”: “Default”,
“value”: “default”
},
{
“label”: “Fade”,
“value”: “fade”
},
{
“label”: “Rectangle out”,
“value”: “rectangle-out”
},
{
“label”: “Sweep to right”,
“value”: “sweep-to-right”
},
{
“label”: “Sweep to left”,
“value”: “sweep-to-left”
},
{
“label”: “Sweep to bottom”,
“value”: “sweep-to-bottom”
},
{
“label”: “Sweep to top”,
“value”: “sweep-to-top”
},
{
“label”: “Shutter out horizontal”,
“value”: “shutter-out-horizontal”
},
{
“label”: “Outline”,
“value”: “outline”
},
{
“label”: “Shadow”,
“value”: “shadow”
}
]
}
]
},
{
“type”: “img”,
“name”: “Image trust”,
“limit”: 1,
“settings”: [
{
“type”: “image_picker”,
“id”: “image”,
“label”: “Image”
},
{
“type”: “textarea”,
“id”: “svg”,
“label”: “SVG list”,
“default”: “amazon_payments,american_express,apple_pay,bitcoin,dankort,diners_club,discover,dogecoin,dwolla,forbrugsforeningen,interac,google_pay,jcb,klarna,klarna-pay-later,litecoin,maestro,master,paypal,shopify_pay,sofort,visa”,
“info”: “amazon_payments,american_express,apple_pay,bitcoin,dankort,diners_club,discover,dogecoin,dwolla,forbrugsforeningen,interac,google_pay,jcb,klarna,klarna-pay-later,litecoin,maestro,master,paypal,shopify_pay,sofort,visa”
},
{
“type”: “number”,
“id”: “height”,
“label”: “SVG height”,
“default”: 30
}
]
},
{
“type”: “btn”,
“name”: “Button emty”,
“settings”: [
{
“type”: “paragraph”,
“content”: “Note: Only show when cart empty.”
},
{
“type”: “text”,
“id”: “title”,
“label”: “Button title”,
“default”: “Return To Shop”,
“info”: “If set blank will not show”
},
{
“type”: “url”,
“id”: “url”,
“label”: “Button link”
},
{
“type”: “checkbox”,
“id”: “btn_icon”,
“label”: “Enable button icon”,
“default”: false
},
{
“type”: “select”,
“id”: “button_style”,
“label”: “Button style”,
“options”: [
{
“label”: “Default”,
“value”: “default”
},
{
“label”: “Outline”,
“value”: “outline”
},
{
“label”: “Bordered bottom”,
“value”: “bordered”
},
{
“label”: “Link”,
“value”: “link”
}
]
},
{
“type”: “select”,
“id”: “btn_cl”,
“label”: “Button color”,
“default”: “dark”,
“options”: [
{
“value”: “light”,
“label”: “Light”
},
{
“value”: “dark”,
“label”: “Dark”
},
{
“value”: “primary”,
“label”: “Primary”
},
{
“value”: “custom1”,
“label”: “Custom color 1”
},
{
“value”: “custom2”,
“label”: “Custom color 2”
}
]
},
{
“type”: “select”,
“id”: “button_effect”,
“label”: “Button hover effect”,
“default”: “fade”,
“info”: “Only working button style default, outline”,
“options”: [
{
“label”: “Default”,
“value”: “default”
},
{
“label”: “Fade”,
“value”: “fade”
},
{
“label”: “Rectangle out”,
“value”: “rectangle-out”
},
{
“label”: “Sweep to right”,
“value”: “sweep-to-right”
},
{
“label”: “Sweep to left”,
“value”: “sweep-to-left”
},
{
“label”: “Sweep to bottom”,
“value”: “sweep-to-bottom”
},
{
“label”: “Sweep to top”,
“value”: “sweep-to-top”
},
{
“label”: “Shutter out horizontal”,
“value”: “shutter-out-horizontal”
},
{
“label”: “Outline”,
“value”: “outline”
},
{
“label”: “Shadow”,
“value”: “shadow”
}
]
}
]
}
],
“default”: {
“blocks”: [
{
“type”: “price”
},
{
“type”: “tax”
},
{
“type”: “agree”
},
{
“type”: “btnc”
},
{
“type”: “btnck”
},
{
“type”: “img”
},
{
“type”: “btn”
}
]
}
}
{% endschema %}








