Shipping Rate on Cart Drawer

Hi,

It’s not really that complicated. First, you need to find the cart drawer file, I would dare to say that it’s located in the snippets folder, and it must be called cart-drawer.liquid, however, file names depend on your theme.

Open that file and find the place of the HTML doc where you want to place the code so that it renders correctly on screen.

Build the HTML structure and style it with CSS.

Then you may include the LIQUID logic. Would be something like this (not exactly it, but this is how the logic goes):

price:

{{product.price}}

Shipping Price

{% if product.price < 299 %}{{checkout.shipping_price}}{% elsif product.price > 299 %} Free {%endif%}

Total Price:

{{checkout.total_price}}

That’s it.

Hope that’s helpful.