header-logo
Getting started with WixBuild your website and business with Wix. Try using our AI tools to create your website, customize templates, or hire professionals to build or enhance your online presence.
Creating a websiteRead how to use the Wix Editor and manage content on your site. Discover how to protect your visitors' privacy and make your site accessible.
Account & billingReview your account settings, manage your subscriptions and plans and understand your invoices.
Using the Wix mobile appsUse our mobile apps to run your business efficiently on the go and set up a dedicated app for your site members to stay in touch.
Connecting a domainFollow our step-by step guides to learn how to purchase, connect or transfer a domain for your site, and find out how to keep your site’s data secure.
Managing your businessGet tools to grow your business and web presence. Find the right tools for your specific needs, set up online payments and keep track of your site's analytics.
Promoting your siteLearn to make your site more visible promoting it on search engines, sending emails and running paid ads. Improve your online presence with practical tips.
Studio, Partners & EnterpriseGet the most out of your Studio or Enterprise account with advanced features that'll help you work more efficiently.
Need more help?Find solutions for site performance and technical issues, learn about issues we’re working to fix or contact us for help.
placeholder-preview-image
Wix LearnImprove your skills with our courses and tutorials.
Wix BlogGet tips for web design, marketing and more.
SEO Learning HubLearn to increase organic site traffic from search engines.
Website developmentBuild a custom site using our full-stack platform.
Hire a ProfessionalGet matched with a specialist to help you reach your goals.
placeholder-preview-image
In this article
  • Step 1 | Add the 'Add to Cart' button
  • Step 2 | Connect the button to a product
  • Step 3 | Design the button

Wix Stores: Adding and Setting Up an 'Add to Cart' Button

In this article
  • Step 1 | Add the 'Add to Cart' button
  • Step 2 | Connect the button to a product
  • Step 3 | Design the button
You can place a standalone 'Add to Cart' button anywhere on your site. The button is linked to the product you choose. This can come in handy when you're writing about a product somewhere on your site and want to make it easy for a customer to add the product to their cart.

Step 1 | Add the 'Add to Cart' button

Start by navigating to the relevant page and then dragging the Add the Cart button from the Add Panel to the ideal spot. 
GIF showing how to add an Add to Cart button to a site page in a Wix site
  1. Go to your editor.
  2. Click Add Elements  on the left side of the editor.
  3. Click Stores.
  4. Drag the Add to Cart Button to the page.

Step 2 | Connect the button to a product

For the button to work properly, you need to select which product is added to the customer's cart when clicked. 
Screenshot of the settings panel where you select which product is connected to the Add to Cart button

To connect the button to a product:

  1. Click the Add to Cart button in your editor.
  2. Click Settings.
  3. (Optional) Edit the button text.
  4. Connect the button to a product. Select the default product or select a different product.

Step 3 | Design the button

Now you can design the button to fit perfectly on the page. 

To customize the design of the button:

  1. Click the Add to Cart button in your editor.
  2. Click Settings.
  3. Click Design.
  4. Make any of the following customizations: 
    • Select a button style.
    • Select a button color and drag the slider to adjust the opacity.
    • Select a border color and drag the slider to adjust the border width.
    • Drag the slider to make the corners rounder or more square.
    • Select a text color or font. 
Screenshot of the design options available with the Add to Cart button
Note:
When a product is out of stock, the button text changes to "Out of Stock". It is not possible to edit the design of the "Out of Stock" button.

Helpmate

Hello

Need a bit more guidance?
Unlock personalized helpLog in to get the most out of Helpmate.