Ecwid Buy Button lets you generate an embeddable product card and checkout that can be placed on any type of website. You can add the Buy Button to a webpage (side panels, footer, within your content, etc.), error pages, or blog post where you want the button to appear. Customers will be able to purchase without ever leaving your site.
You can customize a Buy Button’s appearance and layout style. The Buy Button may display information like product images, description, price, quantity, etc. Any updates made on your Ecwid store products will be reflected on the Buy Button end too.
Before adding Buy buttons to your website, you need to set up your Ecwid account with products and payment/shipping options that you want to offer to your customers. If you haven’t set up your Ecwid account yet, follow the steps from the Initial Ecwid store setup articles.
To create a Buy Button:
- From your Ecwid admin, go to the Overview page.
- Scroll down to the Buy buttons card, then click Get Started and follow the wizard.
- Use the search bar to pick a product you’d like to embed.
- Customize the Buy Now button:
- pick a button layout — Compact, Button only, or Full size.
- set up the button appearance — pick what product details you want to show (product name, price, options, etc.) and how.
As you customize the button, you can preview your changes.
- Click Generate code.
- Click Copy code.
- Now log into your website backend and open the page where you want to display the Buy button.
- Paste the integration code to a page. Depending on your website, that may be an HTML or source tab or a separate button to add codes. If you are not sure how to add custom codes to your website, please contact your website developer for more detailed instructions.
- Save the changes.
That’s it! Open your website and click the added Buy button to see how it’ll work for your customers.
You can track orders from the My Sales → Orders page in your Ecwid admin.
When creating the Buy Button, you can easily customize its style to fit your needs and company’s brand.
You can choose the layout of the Buy Button.
|Compact, 1 column||
|Full-size, 2 columns||
|Full-size, 3 columns||
You can change the Buy Button’s color and font, and its text to match your website’s theme. You can do it with the help of CSS codes.
To change Buy Button’s color or font:
- From your Ecwid admin, go to Design.
- Scroll down to the Themes and in-depth customization section.
- Click Create Theme, then Add new CSS theme.
- From the CSS Cookbook article copy the necessary code.
- Make changes: Add the necessary color code or font name.
- Paste your CSS code to the field:
- Click Activate on the right to apply this theme to your storefront.
- Click Save.