Add to cart element

Learn how to place a buy button for one webshop product anywhere on a WEMASY page with the Add to Cart element.

The Add to Cart element is a buy button for one product. Place it anywhere: on a landing page, next to a product description or in a blog post. Visitors click it and the product goes straight into their shopping cart, without visiting the product page first.

Before you start

Website Builder: Add to cart

This is a webshop element, shown in the Elements panel when the webshop is on. The product must exist in your webshop. See Adding products.

Add the button

  1. Click Elements in the left sidebar.
  2. Drag Add to Cart into a section or column.
  3. Open the element settings.
  4. Choose the product under Product.

If you see Product ID is incorrect or does not exist, the product was deleted or is not in this project. Choose another one.

Good places for an Add to Cart button

  • A landing page for one product, under the description and photos.
  • A blog post that recommends a product.
  • A comparison section with a button under each option.

Check the checkout

  1. Publish your website.
  2. Click the button on the live page.
  3. Open the cart and go through the checkout to check the price and payment.

Payments and shipping are set up in the webshop. See Webshop settings and payments.

Not for bookable services

Services you sell as bookings, such as appointments or classes, use the Book a service element instead, so visitors pick a time.

Tip: add a Cart element to your header, so visitors see the item count change after they click.

Frequently asked questions

Can I set a quantity on the button?

The button adds the chosen product to the cart. Visitors change the quantity in the cart before they check out.

Put it to work
on your own website.

Start free with WEMASY and build your site in a few minutes.