Is it really not possible to use cutsom attributes for dynamic content (cms)? Trying to implement Snipcart

I’m trying to implement snipcart with my cms. I need to use the custom attributes feature.
There is a guy who managed it: SnipCart integration in Webflow (manage product quantity)
But when i try to do the same thing (I mean literally the same way he does it) it doesn’t work. Can someone find the problem? I worked on this project for so long and now it’s not possible to implement it?

I tried using a static element with the snipcart and it worked. In the devtools i see that the static button (which adds the product to bag and works) is converted from a button to an < a > and there is no “snipcart-add-item” class anymore. If i look at the embedded HTML File Button (which has the CMS attributes and doesn’t work sadly), there is still the class and everything stays like it is. My presumption is that the html embed can’t get called from snipcart

I hope this was understandable, pls tell me if it wasn’t


Here is my public share link: LINK

NVM i fixed it heh. Snipcart doesn’t like comma prices. Swaped the commas with dots :slight_smile:

1 Like

Hi, I’m struggling to set up Snipcart on my ecommerce project. Can you help? The embed isn’t responding on-click

I got it to respond using your method. Thank you very much

I still had an issue styling the button though. If I add a div with another class name and change the embed class name, it becomes inactive again

Works fine now. Thank God I came across this solution.

Hi! So, I managed to set up the Snipcart and it’s really smooth. However, as an EU resident I need to make a “custom field” of VAT. They have a guide on how to set it up, but I can’t figure out how to do so in Webflow. Have anyone a solution?

Hey! just came across this issue myself. How did you manage to find a solution to styling this button. Currently it is unresponsive to any styling in webflow and changing the class makes it inactive. Absolute trash…