6 min read • Updated 20 days ago
Manage products with Framer CMS
Use Framer CMS to manage your product data and pages.
Overview
This article provides information on how to manage Foxy products with Framer CMS and dynamically populate add to cart form data with Framer CMS data (ie: product name, price, image, etc.).
Want to integrate Foxy without using Framer CMS? No problem. You can manually link a Framer button to a Foxy purchase link. Links can be created manually or via our Link & Form Builder (available in the Foxy admin).
Demo
Live demo: https://foxy-commerce.framer.website/
Project link: https://framer.com/projects/Foxy-Commerce--zFGUinN6jk8hQow5Qphs-idFSx
Remix link: https://framer.com/remix/ckrX1pb7bbmSgyVM7ZzR
Create Products CMS Collection
Add Code Snippets
Create Add To Cart Form
Add Product Data & Fields
At minimum, Foxy just needs a product name and price. This can be dynamic data from Framer CMS, static, or a mix of both dynamic and static. In addition, you can pass any other hidden, visible, or configurable data.
Name (required)
Price (required)
Image (optional)
By default, the first image found within the form element will be shown in the Foxy cart. If you would like to use a different image, please follow the stops below:
Quantity (optional)
By default, a quantity of 1 will be added to cart. Once a product is in the cart, customers can easily change the quantity. If you'd like to allow customers to specify a quantity before adding a product to cart, please follow the steps below:
Custom Data & Fields (optional)
A complete list of Foxy standard product parameters can be found here. You can pass these parameters as hidden or visible/configurable fields. In addition, you can pass any custom parameters to the cart (ie: Color, Size, Format, etc.). You can use any type of field: input, select, radio, checkbox, etc. Values can be CMS driven, static, or set by the customer.
Add View Cart Link (optional)
Add a view cart link to your Framer website, navigation, etc to make it easy for customers to get back to their cart:
Display Cart Quantity
Display Dynamic Price (optional)
By default, the text in the price element is static. If you would like the price to be updated based on a chosen product option, please follow the stops below:
Testing
To test your add to cart forms, simply publish your Framer site and navigate to one of your product pages. Click to add product to cart. You should see product information and image (when applicable) in cart.
Limitations
Currently, this approach does not support CMS driven product variants. That said, you can have static/preset product variants (ie: a select field with size options). We're still working on this, but if you have a need for dynamic variant support, please let us know.