WHICH APP IS THIS? INSIDE CART DRAWER AND ON CART PAGE, IF I WANT TO show free shipping bar?

raghavjhawar
Tourist
36 0 2

HELLO, HOW TO PUT THIS BAR?

Can you tell me the app please? for both in cart drawer and cart page
raghavjhawar_0-1616516403508.png

please suggest. https://www.vahdamteas.in/

Replies 4 (4)

Appifiny
Shopify Partner
165 2 51

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.

Try the best recent order app for Shopify free for 7 days: https://apps.shopify.com/recently
raghavjhawar
Tourist
36 0 2

Can you send the code?

Appifiny
Shopify Partner
165 2 51

 

 

{%- 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 -%}
    <p>{{- 'cart.general.free_shipping' | t -}}</p>
  {%- else -%}
    {%- capture remaining_amount -%}<span>{{ cart.total_price | minus: threshold_in_cents | abs | money_without_trailing_zeros }}</span>{%- endcapture -%}
    <p>{{- 'cart.general.free_shipping_remaining_html' | t: remaining_amount: remaining_amount -}}</p>
  {%- endif -%}
{%- endif -%}

 

 

 

You just need to add this to the cart drawer and store the free shipping threshold in the store settings.

 

Try the best recent order app for Shopify free for 7 days: https://apps.shopify.com/recently
raghavjhawar
Tourist
36 0 2

can you guide me to the exact place where i need to add this? @Appifiny