Shopyflow installation takes place in 2 simple steps.
Shopyflow requires a Storefront API access token to securely connect your Shopify Store to your Webflow site. To generate your Store API access token;
The rich text element allows you to create and format headings, paragraphs, blockquotes, images, and video all in one place instead of having to add and format them individually. Just double-click and easily create content.
The rich text element allows you to create and format headings, paragraphs, blockquotes, images, and video all in one place instead of having to add and format them individually. Just double-click and easily create content.
Shopyflow requires a Storefront API access token to securely connect your Shopify Store to your Webflow site. To generate your Store API access token;
1. Head to your Shopify Admin > Settings > Apps and Sales Channels section and click Develop apps link.
The rich text element allows you to create and format headings, paragraphs, blockquotes, images, and video all in one place instead of having to add and format them individually. Just double-click and easily create content.
A rich text element can be used with static or dynamic content. For static content, just drop it into any page and begin editing. For dynamic content, add a rich text field to any collection and then connect a rich text element to that field in the settings panel. Voila!
A rich text element can be used with static or dynamic content. For static content, just drop it into any page and begin editing. For dynamic content, add a rich text field to any collection and then connect a rich text element to that field in the settings panel. Voila!
Headings, paragraphs, blockquotes, figures, images, and figure captions can all be styled after a class is added to the rich text element using the "When inside of" nested selector system.
Shopify Storefront data and cart logic is bound to your Webflow elements through Shopyflow attributes. Connecting your Webflow site to Shopify is done by adding custom attributes to your Webflow elements.
Yet, you are not required to type or edit attributes manually. Shopyflow provides you with the pre-configured components needed to create your store, as copyable Webflow elements right in Webflow designer.
All the copyable Shopyflow Components are native editable Webflow elements. There is no layout or styling limitation on any element.
In the below image hover your mouse on the hotspots to see all the required Shopyflow attributes to build a product page like this in Webflow
When your users request a password reset email, the link sent in the email points to your Shopify theme by default. We have to change that link so your users land on your new password reset form in your Webflow site.
1. Head back to your Shopify Admin > Settings > Notifications > Customer and click Customer account password reset.
2. Copy the code snippet below, paste it in the email template as shown in the video below
3. Replace the indicated fields in the code with your own information
{% assign webflowUrl = "https://[YOUR WEBFLOW OR CUSTOM DOMAIN]" %}
{% assign passwordChangePage = "/[PAGE SLUG or PATH]" %}
{% # ↑↑↑↑↑↑ CHANGE ↑↑↑↑↑↑↑ # %}
{% # ↓↓↓↓↓↓ DONT CHANGE ↓↓↓↓↓↓ # %}
{% assign resetUrl = webflowUrl | append: passwordChangePage
| append: '?token=' | append: customer.reset_password_url %}
4. Next, find the customer.reset_password_url towards the bottom of the same email template. You can use cmd/ctrl + F to find it. Replace the variable (including the customer) with resetUrl variable as shown in the video below.
5. After you save the template, click Preview on the top corner and send a test email to make sure the password change URL is working correctly.
Next, we need to overwrite the account activation URL in the email template that Shopify uses. This email is sent when a user creates an account in your store with an email address which is attached to a past order. In other words it's sent when a customer who has completed a purchase before decides to create an account later on. The customer will receive an email with an activation link.
1. Head back to your Shopify Admin > Settings > Notifications > Customer and click Customer account invite.
2. Copy the code snippet below, paste it in the email template. Refer to the previous video if needed.
3. Replace the indicated fields in the code with your own information
{% assign webflowUrl = "https://[YOUR WEBFLOW OR CUSTOM DOMAIN]" %}
{% assign webflowAccountActivationPage = "/[PAGE SLUG or PATH]" %}
{% # ↑↑↑↑↑↑ CHANGE ↑↑↑↑↑↑↑ # %}
{% # ↓↓↓↓↓↓ DONT CHANGE ↓↓↓↓↓↓ # %}
{% assign activationUrl = webflowUrl | append: webflowAccountActivationPage
| append: '?token=' | append: customer.account_activation_url %}
4. Next, find the customer.account_activation_url towards the bottom of the same email template. You can use cmd/ctrl + F to find it. Replace the variable (including the customer) with activationUrl. Refer to the previous video if needed.
5. After you save the template, click Preview on the top corner and send a test email to make sure the activation URL is working correctly.
Lastly, we will hide the navbar and the footer in your Shopify theme's account and subscription pages. This will ensure a seamless user experience for your customers in case they land there (e.g. on the subscription login page). Copy the code snippet below and paste it in the theme.liquid file in Shopify after the as shown in the video below.
{% if request.path contains 'account'
or request.path contains 'recurring'
or request.path contains 'subscriptions'
%}
<style>
sticky-header, footer {
opacity: 0!important;
pointer-events: none!important;
}
</style>
{% endif %}
How to find your theme.liquid file in Shopify
You’re all set. Now head to your Webflow project and follow the next step to finish up your customer pages setup.
Next make sure your Shopyflow installation is version 1.x.x and above and the snippet includes following attributes:
1. customer-accounts="true" - Enables the customer accounts functionality.
2. login-page="[LOGIN PAGE SLUG]" - Sets the Login Page slug
3. account-activation-page="[ACCOUNT ACTIVATION PAGE SLUG]"
4. account-page="[ACCOUNT PAGE SLUG]" - Sets the Account Page Template slug
5. password-reset-page="[PASSWORD RESET PAGE SLUG]" - Sets the Password Reset Page slug
Don't forget to replace the indicated fields with your own information.
Do NOT add a second Shopyflow code snippet to your Webflow site or use an example code snippet (like the one above) directly. Update your existing Shopyflow code snippet instead.
Lastly, follow this guide to create the required account pages.