
If you’re using Wix Stores and wondering why your product pages look good but don’t convert as well as they should, you’re not alone.
Here’s the truth:Most Add to Cart buttons on Wix stores completely blend in — and that’s costing you clicks, engagement, and sales.
At Wix Ideas, we’re obsessed with small tweaks that create big conversion wins. And in this tutorial, we’re breaking down one of the most overlooked tactics almost nobody using Wix is doing…
👉 Adding a subtle attention animation to your Add to Cart button on a Wix Stores product page.
This tiny animation can make your button feel 10x more clickable, especially on mobile — without redesigning your store or annoying your users.
Why Most Wix Add to Cart Buttons Fail
By default, the Wix Stores native Add to Cart button looks clean and professional.But it has one major problem:
❌ It doesn’t stand out
❌ It doesn’t guide the user’s attention
❌ It relies entirely on color and placement
And on modern product pages — especially on mobile — attention is everything.
At Wix Ideas, we’ve seen firsthand that micro-animations outperform static buttons because they:
Naturally guide the eye
Create a sense of interaction
Increase perceived clickability
Improve mobile usability
The best part?You can add this using Wix (Classic Editor) with just a bit of custom CSS — no apps, no JavaScript, no redesign.
The Platform Used: Wix (Classic Editor)
This tutorial is built specifically for:
✅ Wix Classic Editor✅ Wix Stores native product pages✅ Premium Wix plans (required for Custom Code)
⚠️ Important: Custom code only works on paid Wix plans. If your site is still on a free plan, this feature won’t be available.
If you want to see this exact animation recreated in Wix Studio, make sure to comment Studio on the video — that’s how we decide what to publish next on Wix Ideas.
Why Attention Animations Work (Without Being Annoying)
This isn’t about flashy effects.
At Wix Ideas, we focus on subtle movement — the kind that:
Feels intentional
Respects the user experience
Works beautifully on mobile
Doesn’t distract from the product
A small shake, swing, or pulse every few seconds is enough to say:
👉 “This is the action you want to take.”
Same product.Same design.Same page.
The only difference? Attention.
How to Add an Attention Animation to Your Wix Add to Cart Button
Step 1: Open Custom Code in Wix
Go to your Wix Dashboard
Navigate to Settings
Scroll down to Custom Code
Click Add Custom Code
This is where we’ll inject the animation globally on your product pages.
Step 2: Use a CSS Animation (No JavaScript Required)
At Wix Ideas, we intentionally use CSS animations because they are:
Lightweight
Fast
SEO-friendly
Mobile-safe
The animation is applied using a data-hook selector, not a class or ID.
Why?
Because Wix uses data attributes as stable hooks that won’t break when the platform updates.
Example concept (simplified):
button[data-hook="add-to-cart"] {
animation: attentionShake 3s ease-in-out infinite;
}
This safely targets the Wix Stores Add to Cart button across product pages.
Step 3: Control the Animation Behavior
Inside the animation settings, you can customize:
Distance – how far the button moves
Duration – how fast or slow it animates
Delay – when it starts after page load
Time Between Animations – how long it rests
Iteration Count – infinite or limited
Timing Function – ease-out works best
💡 Wix Ideas Pro Tip:A duration of ~1 second with a 2–3 second pause feels the most natural and converts best.
Works on Mobile (Where It Matters Most)
One of the biggest reasons we teach this at Wix Ideas is because:
📱 Mobile users benefit the most from motion cues
On small screens, subtle animations help guide the thumb without overwhelming the experience.
This technique works seamlessly on:
iOS
Android
All modern browsers
Swap Animations Anytime (Shake, Swing, Pulse & More)
Once the system is set up, you can easily swap animations:
Shake
Swing
Subtle rotation
Pulse
Bounce
No need to rebuild anything — just update the CSS in Custom Code.
At Wix Ideas, we recommend testing one animation at a time and watching your conversion data.
This Is a “Small Win” That Adds Up
This is exactly the type of tactic we teach at Wix Ideas:
✔ No redesign
✔ No paid apps
✔ No complex code
✔ Real conversion impact
These small Wix tweaks compound over time — and they separate average stores from high-converting ones.
Learn More Wix Conversion Tricks with Wix Ideas
If you want more Wix and Wix Studio tutorials like this, we’ve got you covered:
👉 Explore all tutorials:https://www.wixideas.com/tutorials
👉 Shop premium Wix & Wix Studio templates:https://www.wixideas.com/shop
👉 Get a quote for a new or existing website:https://www.wixideas.com/quote
At Wix Ideas, we don’t just build websites — we build conversion-focused Wix experiences.
Final Thoughts
This tiny animation might seem small — but it’s exactly the kind of detail that:
Increases clicks
Improves user flow
Makes your store feel more premium
And almost nobody using Wix is doing it.
If this guide helped you, make sure to subscribe to the Wix Ideas YouTube channel for more practical Wix and Wix Studio tutorials that actually move the needle.
Because at Wix Ideas, small details create big results 🚀
Code
Leave a comment (0)
Thanks for leaving a comment🎉

Tusar
May 1, 2025
Wix page printing
You suggestion on printing wix page helped to create print icon but print was not initiated. please help in this regard.
Reply
January 20, 2000

ahmed
May 19, 2024
wix form data
Hi i need your help also in wix form submission
the problem is that some fields are generated when $w.onReady(function () { like day & date and when i choose the student name i get the phone number from database .
and the form save only the field u fill it by ur self like input or dropdown
Reply
Walter Odibi
January 20, 2000

bromar
Sep 29, 2023
Love the tutorial!!!
You are truly great at creating these instructional videos!! Thank you! I am having trouble figuring out . . 'the triggered email' . . it is not being sent to the user submitting the form, the form and the email to the admin works great. . Could you point me to where this might have already been addressed? or any other help? On a second note. .the submit button success/failure message will go back to the default message once it's connected to the data set(I couldn't figure that out either. )
Reply
Walter Odibi
January 20, 2000

kaan
Jun 4, 2023
wishlist and rating system
hello sir I try today 2 hours but not working if you want I pay money can you do this 2 ( wishlist and rating star) system please I send to you invaid
Reply
Walter Odibi
January 20, 2000
Hi there, you can contact me here using the in-app chatbox

Waqas
Apr 16, 2023
Triggered Email Backend
Hi mate please can you send email by backend
Reply
Walter Odibi
January 20, 2000
Hi Waqas, there isn't a backend code for this tutorial. The emails will be sent from the client-side.

Ghan
Dec 29, 2022
Great Tutorial
Hi !
First of all, I want to thank you for your great tutorials, they helped us a lot with the coding.
But I still need your help, if you don't mind. I have based on Save Calculated Field using Wix Data Hooks Codes, to code my form . but the problem is I don't know why the code only reads the computation for "week2" computation and not the "weeks"
here is the code
I also did a separate column in the dataset where the chosen datas for both fields will be placed.
$w.onReady (() => {
$w("#Person").onChange(() => {
$w("#weeks").onChange(() => {
$w("#week2").onChange(() => {
let person = Number($w("#Person").value);
let weeks = Number($w("#weeks").value);
let week2 = Number($w("#week2").value);
$w("#totalLabel").show();
$w("#totalLabel").text = `"${String(weeks * Number(person))}페소"`; //DESIGN YOUR MESSAGE
$w("#totalLabel").text = `"${String(week2 * Number(person))}페소"`; //DESIGN YOUR MESSAGE
});
});
});
});
Reply
Walter Odibi
January 20, 2000
Hi there, thanks for your comment. I see why this is a problem. The onChange() function seems wrong in combination.
To combine onChangeFunctions use this method
$w("#Person, #weeks, #weeks2").onChange(() => {
//code here
});

Walter
Aug 8, 2022
More Details? Watch video
Hi, you can click here to watch the video https://www.youtube.com/watch?v=9bx7-nBeZ5c
Reply
Walter Odibi
January 20, 2000

Walter
Jul 11, 2022
For you
📺 WATCH THE VIDEO https://www.youtube.com/watch?v=AgPJEU8wpp0
Reply
Walter Odibi
January 20, 2000

Walter Odibi
Apr 18, 2022
Awesome Feature
This tutorial shows you how to display views on your Wix repeater.
📺WATCH VIDEO HERE https://www.youtube.com/watch?v=Iz7SdaCSdXg
Reply
Walter Odibi
January 20, 2000

Walter Odibi
Apr 18, 2022
Amazing tutorial
This amazing tutorial will show you how to a comment section to your WIX dynamic page.
📺WATCH VIDEO HERE https://www.youtube.com/watch?v=f8-vJQFNZ_c
Reply
Walter Odibi
January 20, 2000

Walter Odibi
Apr 10, 2022
Great Feature🎉
This amazing tutorial will show you how to add a visitor view counter to your WIX dynamic page.
🚩MORE TUTORIALS https://www.wixgenius.com/wix-tutorials
Reply
Walter Odibi
January 20, 2000

