Create Product Pages Template - Webflow Ecommerce Tutorial

Tutorial
March 20, 2023
3 min
Computer screen with a Webflow e-commerce CMS collection
Key points

In this tutorial, we will explore how to design product pages for your e-commerce site using Webflow. After following these steps, each time you add a new product to your online store, it will appear on a new page similar to your other products.

To get started, head directly to your project Webflow ! In this tutorial, we have already added a few products in Ecommerce - Products.

A quick disclaimer: To simplify understanding and execution of this tutorial, we have not used the Client First methodology by Finsweet. This tutorial is specifically aimed at beginners but can benefit everyone!

1 - Go to the “Products Template” page

From your project developer interface, navigate to the “Page” tab (or press P) and in “Ecommerce Pages,” select “Products Template.” This will take you to the page that will define the design for all your other product pages.

Access the "Products Template" page in Webflow Ecommerce


2 - Set up the basics of your site

In this article, we will not focus on this step, but (if you land on a blank page), start by adding your navbar and your Breadcrumb (very important for e-commerce site SEO). You may also choose to add your footer at this point.

Inserting the navbar and breadcrumb in the "Products Template" page in Webflow Ecommerce


3 - Add a section and set display to “Grid”

Below your Breadcrumb, you can add the “Section” element. Click on “Add Elements” (or press A) and drag it below the Breadcrumb. Then go to Style (S) > Layout > Display > Grid. You can delete one row (Rows) to keep just 1 row and 2 columns. Create a class for this section named, for example, “Product Container.”

Adding a section with display Grid in the "Products Template" page in Webflow Ecommerce


4 - Insert images of your products

To do this, you can drag and drop a “Div Block” into the first column. Create a class for this block that you will call, for example, “Product Image.”

Inserting a div block in the first column of the grid in the "Products Template" page in Webflow Ecommerce

Then, drag and drop an “image” element into the “div block.” Instead of selecting an image from a gallery, click on “Get image from” and in “Select Field,” choose “Main Image” (the purple boxes correspond to adding dynamic elements from either your CMS collections or the “Products” section in Webflow Ecommerce).

Dynamically inserting the product image in the "Products Template" page in Webflow Ecommerce

You now have the image of your products; however, the image size may not be appropriate. Don’t worry, we will fix this. First, we will center the image in the div block. To do this:

  • Select the “Div Block” (In our example, “Product Image”)
  • Go to style
  • In Grid Child, select “Align” and “Center,” then check the “Center” boxes
Centering the product image dynamically in the "Products Template" page in Webflow Ecommerce


Next, we will set a size for the image. To do this:

  • Select the image
  • Create a class (we will call it “Product Image”)
  • Leave Max W at 100%
  • Set a value in REM for Max H (In our example, we want the image to have a Max H of 400 pixels, to convert to REM, we divide by 16, so we enter in Max H: 400/16rem)
Resizing the Max H in REM of the product image in the "Products Template" page in Webflow Ecommerce


You can preview your other products by clicking on the down arrow “Product” in the top horizontal bar and selecting your product (you can also scroll using the keyboard shortcut: Shift + Alt (or option) + Arrow (right or left).

Automatically updating the product image in other product pages dynamically in the "Products Template" page in Webflow Ecommerce


5 - Insert the product name

First, insert a “Div Block” in the left column (we will call it “Content Product”).

To add the name, it’s quite simple:

  • Insert a Div Block in the right column
  • Create a class and give it a name (In this example, we will choose “Product Info”)
  • Insert a Heading in the block
  • Keep the Heading as H1 (this is a good SEO practice for e-commerce)
  • Click on the Heading, check “Get Text From” and select “Name”

Of course, this is just an example; the name of your product should be optimized for SEO (modification in Ecommerce - Products on Webflow). You can also adjust the typography and size of the H1 in the Style Guide or use the “Client First” methodology.

Dynamically inserting the product name with an H1 heading in the "Products Template" page in Webflow Ecommerce


6 - Insert the product price

Again, nothing overwhelming; you just need to:

  • Drag and drop a text block below the product name (H1), still within the “Product Info” div block
  • Select the text, check “Get text from” and choose “Price”
  • Modify the appearance/design as you like
Dynamically inserting the product price with a text block in the "Products Template" page in Webflow Ecommerce

7 - Insert the product description

It is recommended for natural SEO to include a brief product description in H2; however, if you prefer to format it as a paragraph, the method remains the same:

  • Insert a Heading block - H2 (or “Paragraph”)
  • Select “Get text from,” then choose “Description” from “Basic Info”
  • Customize as you wish

You can then add more product information in the same way, but by inserting paragraphs and selecting the appropriate dynamic text (you will need to add custom fields in the product settings beforehand).

Dynamically inserting the product description with an H2 heading in the "Products Template" page in Webflow Ecommerce


8 - Add an Ecommerce “Add to Cart” block

This element will allow your customers to add a product to their cart. To add it, simply drag and drop the “Add to Cart” element below the product description (in the right column). You can change the elements of the block one by one to customize them.

Inserting the "add to cart" block in the "Products Template" page in Webflow Ecommerce


9 - Add the cart to the NavBar

To add the cart to the NavBar, simply drag and drop the “Cart” element into your NavBar.

Adding the Cart element to the navbar in the "Products Template" page in Webflow Ecommerce


10 - The result

Here is our result for designing the “Product Template” page; of course, these steps are just the basics. You can take it much further with Webflow and fully customize these product pages to reflect your unique vision.

Result of the example of a first product page template designed with Webflow Ecommerce
Testing the add to cart feature for a product using the Webflow ecommerce product template
Result of the example of a second product page template designed with Webflow Ecommerce


If you need assistance in building your e-commerce site, Digidop can completely customize your online store to make it unique and ensure it meets the best SEO practices.

Thibaut Legrand
Thibaut Legrand
Technical Solutions Architect & Webflow Expert

Suggested articles

Webflow Localization, Credial's Use Case
Documentation
Webflow

Webflow Localization: Practical Guide & Credial's Use Case

Webflow Localization: Practical Guide & Credial's Use Case
Visuel showcasing digidop.fr switching to digidop.com
News
Digidop

Digidop.fr is now Digidop.com

Digidop.fr is now Digidop.com
Photo of the Digidop team with the Digidop Logo 2024
News
Digidop

A Look Back at an Exceptional 2024 and Vision 2025

A Look Back at an Exceptional 2024 and Vision 2025

Want to turn your website into your most valuable asset?

Contact us today