how to create add a product to the cart from a pagebuilder page

Options

We have 9 new products in our store that don't require any sort of configuration. They are featured on a pagebuilder page with big red "add to cart" buttons underneath them. I'd like to configure the add to cart buttons so that when someone clicks on a button, the item is added to the cart and the user is shown the cart page (without having to first go through the product page). The WYSIWYG offers ability to link to a product or link to a store, but not to add a product to the cart. Is there a link that I can use to perform this function?

Thanks!

Tagged:

Comments

  • Yes. I don't have time just now to test it, but it should be something like this:

    where store_id and product_id are the same as what you would use to view the product.

    The Ecommerce URL structure is actually pretty simple and is intended to support deep linking almost anywhere into the flow. I'll try to get someone to write up some documentation because it's pretty useful information.

    Dave

Categories