Important: The Floating Cart is not supported in Microsoft-based browsers (such as Edge) released before April, 2019.
Note: The following Help Page is for merchants using Editor 2.0 templates, custom templates, or third-party design tools. A Floating Cart RTML Operator and Mini-cart ID are already included in Editor 3.0 templates. Merchants using Editor 3.0 templates should publish Store Editor prior to enabling the Mini-cart and Floating Cart in Floating Cart Manager.
Inserting a floating cart script is the recommended option for merchants using Editor 2.0 or custom templates and who do not have experience with modifying RTML. The Floating Cart script can be found in the Manual Setup tab of the Floating Cart Manager, in Option 2. This script includes a string specific to your store, making the script for each store unique.
If you are not using Store Editor to maintain and update your store pages, you may insert this script by directly editing your store pages using a third-party design tool.
Retrieve the Floating Cart script
- Sign in to your My Services page.
- Click the Store link.
- Go to Floating Cart Manager.
- From the Manual Setup tab, click the arrow to expand Option 2: Insert a floating cart script and mini-cart ID into your store pages. This tab must be expanded in order to view and copy the Floating Cart script.
- Scroll down and copy the Floating Cart script. It will look like the example given below, and include a string specific to your store, with your Store ID and a timestamp:
Install the floating cart script
- Open the design tool you use to update and maintain your store pages. Using this tool, insert the Floating Cart script directly above the page's closing </body> tag. For example:
<p>This is the last line of text in my page body.</p>
<script type="text/javascript" id="yfc_loader" src="http://l.yimg.com/sv/store/yfc/js/1.8/loader_37b9635.js?q=yhst-111111111&ts=123456789"></script>
</body>
- Save your changes.
If you've already inserted the Mini-cart ID into your store pages, you may publish your updated pages. If you haven't inserted the Mini-cart ID into your store pages, you must do so at this time. The Mini-cart ID is required for cart positioning, and must be included in your pages in addition to the floating cart script. Learn how to insert the Mini-cart ID using third-party design tools.
Once the Floating Cart script and Mini-cart ID have been inserted into your store pages, and you've published these changes, you may use Floating Cart Manager to enable, disable, and customize your Mini-cart and Floating Cart.
If you're using Store Editor to design, manage, and maintain your store pages, please see our Floating Cart help for Store Editor.