Streaming live at 10am (PST)

Code to add item to cart

Hey,

I would like to have a buy now button on the homepage, but Webflow doesn’t seem to allow it outside of product pages.

Is there a code snippet I can use to add an item to cart outside of the product’s page?


Here is my site Read-Only: https://preview.webflow.com/preview/reconvene?utm_medium=preview_link&utm_source=designer&utm_content=reconvene&preview=7eb8f4a37295c403b824f2e08cdc001d&mode=preview
(how to share your site Read-Only link)

You ever find a way? If not then I assume there is not one because I have been looking for the same issue without any solution.

Yes—I ended up using a one-click add to cart and checkout button, which is already built into Webflow. I still had to have the button, but I didn’t have to have two clicks.

@hugosmith and @tag915 we have Buy Now buttons available natively within Webflow without any custom code.

Please let me know if this is helpful or if you’re having any trouble with adding these to product lists on your website. Thank you so much!