Step 1


From your Shopify admin, go to Online Store > Themes.


Click ... > Edit code.


Step 2


- For standard pages such as  home, cart, collection, product page, find the liquid file of the page which contains the widget. 


For example product.liquid or product-template.liquid




- For custom page or blog, click add page or edit page: 


https://help.shopify.com/en/manual/sell-online/online-store/pages


then on the content area, click Show HTML



Step 3


Copy some of the below scripts and paste into the section, block or page that you want to place the widget.



For sale:
<noscript type="text/flag" class="tdfPlaceSale"></noscript>
For bundle: 
<noscript type="text/flag" class="tdfPlaceBundle"></noscript>
For wholesale: 
<noscript type="text/flag" class="tdfPlaceWholesale"></noscript>
For recommendation:
<noscript type="text/flag" class="tdfPlaceRec"></noscript>
For cart discount widget:
<noscript type="text/flag" class="tdfPlaceDiscounts"></noscript>
For discount code box:
<noscript type="text/flag" class="tdfPlaceDiscountBox"></noscript>

For loyalty signup:

<noscript type="text/flag" class="tdfPlaceLoyal"></noscript>


Step 4


Click Save and check the new location.


If you cannot get it to work, please contact us:


https://treedify.freshdesk.com/support/tickets/new