Products

Education

Resources

Company

Support

Products

Education

Resources

Company

Support

Help Centre

How can we help?

Search Docs

How to Add a Redirect from Shopify Checkout to Framer

How to Add a Redirect from Shopify Checkout to Framer

How to Add a Redirect from Shopify Checkout to Framer

Adding a Redirect from your Shopify Checkout

Natively, when users want to navigate back from the Shopify checkout back to the store, the logo in the checkout will redirect to the Shopify front-end. Follow the steps below to change this to be your Framer front-end instead:

  1. In your left sidebar in Shopify Admin dashboard, click on "Online Store" → "Themes"

  2. On your current theme, click on the 3 dots button to open the dropdown menu.

  1. Click "Edit Code" button

  2. In left sidebar, click on “layout” folder and open the “theme.liquid” file

  3. Locate the end of head tag </head>

  • Press CMD + F (CTRL + F) to open search bar and search </head>

  1. Paste this code snippet above the </head> tag

<!-- Force redirect to your Framer domain -->
<!-- Replace URL below with your Shopify domain -->
{% if request.host == 'your-shop-domain.myshopify.com' %}
  <style>
    #force-redirect {
      background-color: #F0F0F0;
      z-index: 2147483647;
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
    }
  </style>
  <div id="force-redirect"></div>
  <script>
    // Replace URL below with your Framer domain
    window.location.replace('<https://your-framer-domain.com>');
  </script>
{% endif %}

<!-- Prevent search engines from indexing the shopify page -->
<meta name="robots" content="noindex" />
  1. Replace Shopify domain URL and Framer domain URL and save the file.

Build Ecommerce stores with Shopify and Framer

Connect Shopify to your Framer site to build Ecommerce websites fast.

Frameship – Seamlessly build eCommerce stores in Framer with Shopify integration.
Frameship — Framer with Shopify.
Frameship — Framer with Shopify.

Frameship

Search Components

Product Variants

Stock status

Quantity Selector

Product Variants

Add to Cart Button

Price

Image Gallery

Product Variants

Connect Shopify

Build Ecommerce stores with Shopify and Framer

Connect Shopify to your Framer site to build Ecommerce websites fast.

Frameship – Seamlessly build eCommerce stores in Framer with Shopify integration.
Frameship — Framer with Shopify.
Frameship — Framer with Shopify.

Frameship

Search Components

Product Variants

Stock status

Quantity Selector

Product Variants

Add to Cart Button

Price

Image Gallery

Product Variants

Connect Shopify

Build Ecommerce stores with Shopify and Framer

Connect Shopify to your Framer site to build Ecommerce websites fast.

Frameship – Seamlessly build eCommerce stores in Framer with Shopify integration.
Frameship — Framer with Shopify.
Frameship — Framer with Shopify.

Frameship

Search Components

Product Variants

Stock status

Quantity Selector

Product Variants

Add to Cart Button

Price

Image Gallery

Product Variants

Connect Shopify