Yes, you can design a custom cart page in Webflow and connect it to Shopify’s checkout, similar to the setup on the Alyx website, but there are limitations and setup requirements.
- Shopify’s Buy Button allows you to embed individual products or collections into Webflow pages.
- It includes cart functionality and can redirect users to the Shopify-hosted checkout.
- You must be on Shopify’s Basic plan or higher to access this feature.
2. Design Fully Custom Cart in Webflow
- You can build a custom cart UI in Webflow, but it won’t natively sync with Shopify’s backend.
- To build a fully custom cart that hands off to Shopify at checkout, you’ll need to:
- Use the Shopify Storefront API (or Buy Button JS SDK) to manage cart state.
- Use custom JavaScript in Webflow to handle cart functions like add, remove, update quantity.
- On checkout, redirect the user to Shopify using a checkout URL generated via API.
3. Key Technical Considerations
- No native Shopify checkout with Webflow Ecommerce – you must entirely bypass Webflow's ecommerce system.
- Since Shopify checkout URL is tied to the cart token, the cart must be built with Shopify’s system (via JS SDK or Buy Button).
- You’ll need developer help if using the Shopify JS Buy SDK for full custom cart logic.
4. Example Approaches
- Basic: Use Shopify Buy Button embed code styled minimally via Webflow (limited design flexibility).
- Advanced: Use Shopify Storefront API with custom JavaScript in Webflow to create the cart and redirect to a working Shopify checkout session (maximum design control, like Alyx).
5. Limitations
- Shopify checkout pages are not customizable beyond branding settings (colors, logo, fonts).
- Cart syncing between Webflow and Shopify is not automatic—you must handle data integration yourself.
- No support for Webflow CMS-driven product inventory if you're using Shopify as the backend.
Summary
You can create a custom cart in Webflow and connect it to a Shopify checkout, typically by using the Shopify Buy Button or Storefront API. For a setup like Alyx, you’ll likely need to build your cart UI in Webflow and use custom code to communicate with Shopify, ensuring that checkout happens securely via Shopify’s platform.