aThemes Documentation

Guides, resources, and answers for your aThemes products.

Setting Up Animated Add to Cart in Merchant

View Markdown

Would you like your add-to-cart buttons to catch the shopper’s eye? The Animated Add to Cart module in Merchant enhances your buttons with subtle motion effects, drawing attention to the most important action on a product page and nudging customers toward a purchase.

In this guide, we’ll walk you through how to set up the Animated Add to Cart module in Merchant.


Before you get started, make sure you’ve installed and activated the Merchant plugin on your WordPress site. If you’re using premium modules, ensure you have Merchant Pro installed and active.

Here’s what an add-to-cart button animated with the swing effect looks like on the catalog page of a WooCommerce store:

An add-to-cart button animated with the swing effect on a WooCommerce catalog page

1. Open the Animated Add to Cart module

In your WordPress admin area, go to Merchant » Modules. In the Improve Experience section, click the Animated Add to Cart module to open its settings page.

Improve Experience group on the Merchant Modules page with the Animated Add to Cart module

2. Configure your animation

Use the options in the Animation section to set up your animation. First, choose where it plays with the Archive / Shop Pages and Single Product Page toggles.

Then, under Activate this animation, choose On mouse hover, On page load, or On scroll into view. Use Animation speed (duration multiplier) to make the animation faster or slower.

Animated Add to Cart page toggles, trigger options, and animation speed

Next, pick one of 11 animation styles: flash, bounce, zoom in, shake, pulse, jello shake, wobble, vibrate, swing, tada, or glow. Move your mouse over a style to see it in the Preview. If you pick glow, set the Glow color (start) and Glow color (end).

Animation style grid with 11 styles including Glow, Swing selected

To play a short effect after a product is added to the cart, turn on Play animation after adding to cart in the Success Animation section. Choose Flash or Bounce in Success animation style, then set Success animation speed (duration multiplier). For Flash, also pick the Flash color. The success animation plays on every add to cart, whatever you chose in the page toggles above.

Success Animation settings with Flash style and a green flash color

Once the settings are configured, click the Save button in the top-right corner of the page.

3. Enable the Animated Add to Cart module

When everything looks right, click the Enable button to activate the module on your store.

Animated Add to Cart module page with the Enable button

That’s it! You’ve successfully set up the Animated Add to Cart module in Merchant to add eye-catching motion to your add-to-cart buttons.

Next, would you like to fine-tune the buttons themselves? Check out our guide on customizing your add to cart text to learn more.

Still stuck? How can we help?