Hi @AlexCortright ,
Please change all code:
{%- liquid
assign section_blocks = section.blocks
assign ccount = cart.item_count
assign c_tt_price = cart.total_price
assign ship_pr = all_products[settings.free_ship_pr]
assign money_ship = ship_pr.price | money
assign gift_pr = all_products[settings.gift_wrap_pr]
assign money_gift = gift_pr.price | money
assign btn_blocks = section_blocks | where: "type", 'btn'
assign cart_change_url = routes.cart_change_url
assign img_size = '120x'
assign ajax_enable = section.settings.ajax_enable
assign compare_tt_price = 0
assign ck_lumise = 'ck_lumise'
assign ck_col = false
assign arr_gift_id = cart.items | where: 'product_id',gift_pr.id
if cart.note != blank
assign noteclass = 'dn,' | split:','
else
assign noteclass = ',dn' | split:','
endif
assign unadmin_sp = true
assign sck_ad = section_blocks.first.shopify_attributes
if sck_ad contains 'editor-block='
assign unadmin_sp = false
endif -%}
#### {{ 'cart.cart_page.empty' | t }}
{{ 'cart.cart_page.empty_html' | t }}
{%- if btn_blocks.size > 0 -%}
{%- for block in btn_blocks -%}
{{ block.settings.title }}
{%- endfor -%}
{%- endif -%}
{%- if section.settings.calc_ship and ship_pr != blank -%}
{{ 'cart.shipping_threshold.text_1_html' | t: money:money_ship }}
{%- endif -%}
{{ 'cart.general.cookies_required' | t }}
{%- if settings.use_cart_cd -%}
{{ 'cart.general.countdown_text' | t }}
{%- endif -%}
{%- schema -%}
{
"name": "Cart page",
"class": "cart_page_section container mt__60",
"settings": [
{
"type": "paragraph",
"content": "Those settings are only applicable when the cart contains at least one product."
},
{
"type": "checkbox",
"id": "ajax_enable",
"label": "Enable automatic cart updates?",
"info": "Updates the cart as soon as customer changes are made",
"default": true
},
{
"type": "checkbox",
"id": "calc_ship",
"label": "Enable Calc Shipping?",
"info":"Enable free shipping minimum amount?",
"default": true
},
{
"type": "checkbox",
"id": "show_note",
"label": "Enable order notes?",
"default": true
},
{
"type": "checkbox",
"id": "show_rates",
"label": "Enable shipping rates calculator?",
"default": true
},
{
"type": "checkbox",
"id": "show_discount",
"label": "Enable input box discounts codes?",
"default": true
},
{
"type": "checkbox",
"id": "show_gift_wrap",
"label": "Enable Gift wrap?",
"default": true
}
],
"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": "btnck",
"name": "Button Checkout",
"limit": 1
},
{
"type": "btnmr",
"name": "More checkout buttons",
"limit": 1
},
{
"type": "img",
"name": "Image trust",
"limit": 1,
"settings": [
{
"type": "image_picker",
"id": "image",
"label": "Image"
},
{
"type": "range",
"id": "wimg",
"min": 40,
"max": 100,
"step": 1,
"unit": "%",
"label": "Width image",
"default": 50
}
]
},
{
"type": "btn2",
"name": "Button",
"settings": [
{
"type": "text",
"id": "title",
"label": "Button Title",
"default": "Continue Shopping"
},
{
"type": "url","id": "url","label": "Button link"
},
{
"type": "select",
"id": "style",
"options": [
{"value": "primary tu","label": "Button Primary"},
{"value": "secondary","label": "Button Secondary"}
],
"label": "Button Style: "
}
]
},
{
"type": "btn",
"name": "Button emty",
"settings": [
{
"type": "paragraph",
"content": "Tip: Only show when cart empty."
},
{
"type": "text",
"id": "title",
"label": "Button Title",
"default": "Return To Shop"
},
{
"type": "url","id": "url","label": "Button link"
},
{
"type": "select",
"id": "style",
"options": [
{"value": "primary tu","label": "Button Primary"},
{"value": "secondary","label": "Button Secondary"}
],
"label": "Button Style: "
}
]
},
{
"type": "html",
"name": "Custom HTML",
"settings": [
{
"type": "html",
"id": "html",
"label": "HTML",
"default": "Custom html here
"
}
]
}
],
"default": {
"blocks": [
{"type": "price"},{"type": "tax"},{"type": "agree"},{"type": "btnck"},{"type": "btnmr"},{"type": "img"},{"type": "btn"}
]
}
}
{% endschema %}