Integrate as Floating Button to Shopify

This page describes how to integrate the Skin Consultant app as widget, available across all pages of your Shopify web store.

Floating Buttun is the best way to integrate the Haut.AI Skin Consultant App into your Shopify web store. This option provides you with the advantage that your users can start an AI skin analysis and get product recommendations from any page of your web store, except the checkout web page.

How it works?

See our video showing the example Shopify webstore with Skin Consultant app integrated as Floating Button.


Integrating step-by-step

  1. Navigate to Skin consultant tab on the menu of SaaS platform.

  2. Navigate to your Skin Consultant App details by clicking on name of your app in the list of apps.

  3. Open the (3) Integration tab.

  4. Select "Shopify" as a platform.

  5. Select "Floating button" as Type of integration.

  6. Open your Shopify store public link and navigate to the cart page .

  7. Copy the cart page URL. Usually, it looks like this: yourdomain/cart.

  8. Paste a link to your shopping cart and click "Next."

  9. Copy the integration code.

  10. Open your Shopify account and click "Online Store" in the left menu.

  11. Click the "···" button and then click "Edit code."

  12. Select the file "header.liquid" in the left sidebar. It's usually placed inside the "Snippets" folder.

  13. Paste the copied code on the first line and click "Save."

  14. You are all set, congratulations! Now, open the home page, product page or any other page of your Shopify store and check if the button is in the bottom-right corner of your website.


Customizing the colour of the Floating Button

By default, the floating button uses your app's "Accent" colour as the button colour. There are two options for changing the button colour:

  • Change the accent colour if you want the floating button to use the same colour as your app.

  • Change only the colour of the floating button if you don't want the floating button to use the same colour as the rest of the app.

Change the accent colour

To change the accent colour, do the following:

  1. Open your app settings ("General").

  2. Scroll down to "Color theme."

  3. Change the accent colour.

  4. Save the changes by clicking "Save change" on the toolbar.

Change only the colour of the floating button

This option requires editing the code. Please carefully follow the instructions.

To change the colour of the floating button, do the following:

  • Open your Shopify account and click "Online Store" in the left menu.

  • Click the "···" button and then click "Edit code."

  • Select the file "header.liquid" in the left sidebar. It's usually placed inside the "Snippets" folder.

  • Find the integration code.

  • Change the current colour with the new one and click "Save." Important! It should be a HEX colour code.


Customizing the text of the Floating Button

This option requires editing the code. Please carefully follow the instructions.

To change the colour of the floating button, do the following:

  • Open your Shopify account and click "Online Store" in the left menu.

  • Click the "···" button and then click "Edit code."

  • Select the file "header.liquid" in the left sidebar. It's usually placed inside the "Snippets" folder.

  • Find the integration code.

  • Change the current text with the new one and click "Save."

Last updated