Once your Shop is set up within iHeart Business, then you will want to embed your store and products on your website. You can embed your entire store on your site, or you can instead choose to embed individual categories.
Regardless of which method you choose, you will first need to follow the below steps to embed your entire store.
Embed your entire store on your website
- Log in to your iHeartSiteBuilder dashboard and navigate to the Content panel.
- Add a new page by clicking Add New Pages and selecting the Generic page template.
- Scroll to the bottom of the Content panel and click the newly added "Generic" page to edit it.
- On the new page, click one of the green (+) icons and select HTML from the menu.
- In the HTML block, paste the following code in the large text field to display the product grid.
<!--PRODUCT GRID-->
<div id="my-store-xxxxxxxx"></div>
<div>
<script type='text/javascript' data-cfasync="false" src='https://app.shop.websites360.com/script.js?xxxxxxxx'></script>
<script type='text/javascript'>xProductBrowser("id=my-store-xxxxxxxx","views=grid(5,3)");</script>
</div> - Replace 'xxxxxxxx' with your Store ID. Pro Tip: Use the Find & Replace feature!
Click here to learn how to find your Store ID. - Click Save on the HTML block.
- Next, add all the other necessary content blocks to the page. This will create the rest of the layout around the shopping functionality.
If you would like to move forward with your full store on the page, then click Publish at the top of the page to take your store live! If you would like to instead embed individual categories, then do not publish, and follow the steps below.
Embed only a single store category
To embed a specific Category on a page, first navigate to your Shop dashboard to find the Category ID.
- Select Catalog Categories on the left-hand sidebar.
- In the Categories column, select the desired category, then navigate to the SEO settings. The Category ID is the string of numbers after the letter 'c' in the URL string.
- Return to your iHeartSiteBuilder dashboard and create an HTML Block (see steps 1-4 in the section above).
- Paste the code below:
- Replace 'xxxxxxxx' with your Store ID. Pro Tip: Use the Find & Replace feature!
Click here to learn how to find your Store ID. - Replace 'yyyyyyyy' with the desired Category ID.
- Click Save on the HTML block.
Click Publish at the top of the page to take your store live!
Comments
0 comments
Please sign in to leave a comment.