How to place FSB in cart notification - Sense
Follow these instructions to insert the Free Shipping Bar into the cart notification for the theme Sense.
First, ensure that the bar is set to manual placement in the bar configurations:
Next, you'll need to get into the code editing space. For that click on:
1 ) Online Store
2) Themes
3) Then click Actions drop down(on the right side of the page) and click 'Edit Code'
On the left hand side, open the the Snippets folder.
In there you'll find the file cart-notification.liquid. Open that file.
In that file find this section:
<div
id="cart-notification"
class="cart-notification focus-inset{% if color_scheme %} color-{{ color_scheme }} gradient{% endif %}"
aria-modal="true"
aria-label="{{ 'general.cart.item_added' | t }}"
role="dialog"
tabindex="-1"
>
After that section, copy and paste in this code:
<div id="fsb_placeholder" style="margin-bottom:8px;"> </div>
Like so:
Save and test by visiting your shop and adding an item to the cart.
This should be the result: