Embed MOBI into Squarespace

You can embed your MOBI Storefront directly into your Squarespace website rather than having to redirect customers to an external site for ordering.

 

Step One - Obtaining your MOBI Storefront Embed Code

To obtain the customised embed code for your Storefront navigate to WEBSITE --> Embed into an existing website in your MOBI Console.

 Screen_Shot_2012-12-01_at_12.49.32_PM.png

 

Step Two - Embedding the Storefront on your Squarespace page

Please ensure you are logged in to your Squarespace admin console and open the page that you'd like to embed MOBI on while in the Pages panel. Hover over the content area and click Settings (or click on the gear symbol which appears when you hover the page on the  Pages panel, see image below).

Screen_Shot_2022-02-16_at_4.21.40_PM.png

In the Page Settings window, click Advanced at the bottom.

Screen_Shot_2022-02-16_at_3.29.11_PM.png

This is the space that you'll need to paste your MOBI embed script into, being sure to replace the container value to the id of the element you'd like MOBI to be created in. For more information regarding choosing an element to embed in, please click here.

For more information on using "Per-page Code Injection" in Squarespace, please click here.

Click "SAVE" on the top left hand corner of the window to save your work.

 

Step Three - Add HTML Code   

Roll over the main window with the Page Content in order to make the EDIT and SETTINGS tabs show up. Click EDIT on the block your want your storefront to be embedded into.

Screen_Shot_2022-02-16_at_3.43.12_PM.png

On the top right hand corner, click on the "+" button: 

Screen_Shot_2022-02-16_at_3.47.07_PM.png

 

Scroll down the "Basic" section and select the "</> Code" option:

Screen_Shot_2022-02-16_at_3.49.28_PM.png

 

A content window will pop up, see image below. Enter the following html tag : 

<div id='Mobi2Go-Storefront'>

</div>

Screen_Shot_2022-02-16_at_3.51.04_PM.png

(You may need to add or update an existing block for this step).

Click anywhere out of this window to close it and then SAVE.

 

Step Four - Ensure MOBI loads when customers navigate to your order page

In Squarespace click on the Home Menu, then Design, and then Site Styles.
In the second section SITE, uncheck Enable Ajax Loading and Save your settings

 

Step Five - Authorising Embed Code in MOBI 

Once you have added your Storefront code you need to add your domain details into MOBI in order to authorise your Storefront to display.  This is to prevent your Storefront being embedded into sites without your permission.

In your MOBI Console navigate to Storefront --> Website Settings and add yourdomain.com to the External Domain setting and save.

Screen Shot 2012-12-01 at 12.21.09 PM.png

 

 

Your Storefront should now show in the page where embedded.

Note: If using a free Squarespace website i.e. mysite.squarespace.com you may need to set the external domain to static.squarespace.com

 

 

 



 

 

 

 

 

 

0 out of 0 found this helpful

Comments

0 comments

Please sign in to leave a comment.