310
Views
3
Comments
How to create a button to add an item to the shopping cart

Hi !

I am creating a jewelry store website, and I would like to have a button that when clicked adds the selected product to the shopping cart. 

But i don´t know how can i do that and I would be extremely grateful if anyone could help me



DiamondStyle.oml
2021-03-05 13-56-11
Ricardo Pereira
 
MVP

Hi,

First of all, I believe that the best for you is not jump steps in your learning curve. It's seems that what you're trying to achieve is a simple functionality.

I add a file where I place, in your OML, something like you need. I don't know if the attributes are that ones, but I tried to discover. In any case, You may have to adjust something.


Hope this can help you.


Best regards,

Ricardo Pereira

DiamondStyle_WithAddToCart.oml
2022-03-17 19-52-29
Ana Andrade

Hi 

Thank you so much, i just saw it and it works, but can you tell me how I can connect this action to the shopping that I already have? 

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.