HELLO, HOW TO PUT THIS BAR?
Can you tell me the app please? for both in cart drawer and cart page
please suggest. https://www.vahdamteas.in/
HELLO, HOW TO PUT THIS BAR?
Can you tell me the app please? for both in cart drawer and cart page
please suggest. https://www.vahdamteas.in/
You don’t need an app for that.
It can be coded in your theme in about 15 minutes and there are quite a few themes with this feature already built in.
Can you send the code?
{%- if settings.cart_show_free_shipping_threshold -%}
{%- assign threshold_in_cents = settings.cart_free_shipping_threshold | times: 100 -%}
{%- if cart.total_price >= threshold_in_cents -%}
{{- 'cart.general.free_shipping' | t -}}
{%- else -%}
{%- capture remaining_amount -%}{{ cart.total_price | minus: threshold_in_cents | abs | money_without_trailing_zeros }}{%- endcapture -%}
{{- 'cart.general.free_shipping_remaining_html' | t: remaining_amount: remaining_amount -}}
{%- endif -%}
{%- endif -%}
You just need to add this to the cart drawer and store the free shipping threshold in the store settings.
can you guide me to the exact place where i need to add this? @Appifiny