Add to Cart Woocommerce button for Elementor

Add to Cart widget can only be used on WooCommerce simple or variable product pages and allows you to duplicate the add to cart function on the page and customize the text and each button element according to your wishes.

For further work, you need the Elementor to be installed on your site. You can download it from wordpress.org

Open or create a page using Elementor and drag the widget to a page using the Elementor editor to start customizing. In the left pane of the editors, you can customize the widget to the style of your site. Each of the tabs presented a specific group of settings:

Style tab

On the style tab, you can manage the element styles of the Custom Add to Cart widget like colors in different states, size, typography, borders, padding/margin, etc.

Button

  • Margin – the setting allows managing the margin of the current element in different units(px, %, em) for desktops, tablets, or phones.
  • Padding – the setting allows managing the padding of the current element in different units(px, em, %, em) for desktops, tablets, or phones.
  • Button alignment – manage the button alignment (left, center, right, justify).
  • Typography – this group of settings controls everything about typography: font size, font weight, line height, decoration, and other parameters.
NORMAL/HOVER

The button style settings for different states.

  • Text color – specify the button text color and opacity using the color picker.
  • Background Type – the setting changes the background of the current block. You can choose a color, gradient, or background image.
  • Border Type – select one of the available border types (solid, double, dotted, dashed, groove) for the current box and adjust the width, color, and radius according to your needs. Pick “None” to remove the border.
  • Border Radius – specify the radius of the current block items for all devices or separately for desktops, tablets, or mobiles.
  • Box Shadow – the setting creates a shadow from the current block and it can be adjusted according to your needs specifying color, blur, horizontal and vertical shift.

Quantity

  • Margin – the setting allows managing the margin of the current element in different units(px, %, em) for desktops, tablets, or phones.
  • Padding – the setting allows managing the padding of the current element in different units(px, em, %, em) for desktops, tablets, or phones.
  • Typography – this group of settings controls everything about typography: font size, font weight, line height, decoration, and other parameters.
NORMAL/HOVER/focus

The quantity option styles settings for different states.

  • Color– specify the font color and opacity for the text of the current block using the color picker.
  • Background Type – the setting changes the background of the current block. You can choose a color, gradient, or background image.
  • Hover transition duration – specify the speed of animation transition in seconds using the slider. The option is available for the hover state.
  • Border Type – select one of the available border types (solid, double, dotted, dashed, groove) for the current box and adjust the width, color, and radius according to your needs. Pick “None” to remove the border.
  • Border Radius – specify the radius of the current block items for all devices or separately for desktops, tablets, or mobiles.
  • Box Shadow – the setting creates a shadow from the current block and it can be adjusted according to your needs specifying color, blur, horizontal and vertical shift.

Variations

A set of settings for a selection field in variable products

  • Margin – the setting allows managing the margin of the current element in different units(px, %, em) for desktops, tablets, or phones.
  • Padding – the setting allows managing the padding of the current element in different units(px, em, %, em) for desktops, tablets, or phones.
  • Width – specify the width of the selection field using the slider.
  • Typography – this group of settings controls everything about typography: font size, font weight, line height, decoration, and other parameters.
NORMAL/HOVER

The field style settings for different states.

  • Color – specify the text color and opacity using the color picker.
  • Select color – specify the select text color and opacity using the color picker.
  • Background Type – the setting changes the background of the current block. You can choose a color, gradient, or background image.
  • Border Type – select one of the available border types (solid, double, dotted, dashed, groove) for the current box and adjust the width, color, and radius according to your needs. Pick “None” to remove the border.
  • Border Radius – specify the radius of the current block items for all devices or separately for desktops, tablets, or mobiles.
  • Box Shadow – the setting creates a shadow from the current block and it can be adjusted according to your needs specifying color, blur, horizontal and vertical shift.

Advanced Tab

The advanced tab allows you to flexibly configure everything that relates to the design of the plug-in wrapper. The settings on this tab are entirely similar to the native Elementor widgets and will be convenient for experienced users of the Elementor. Learn more about Advanced Tab settings from Elmentor’s official documentation.

Save changes

Do not forget to save changes after completing the widget setup. To do this, click on the Update button at the bottom of the page.

Update page in the Elementor
Update page in the Elementor

Was this article helpful to you?