adamsilva01 Posted December 2, 2016 Share Posted December 2, 2016 Hey guys, I want to create my own button to add a product to the cart according to certain circumstances. Do you know how can I do that? Link to comment Share on other sites More sharing options...
adamsilva01 Posted December 2, 2016 Author Share Posted December 2, 2016 Hey, I'm seeing the code right now, but I don't understand very well where I have to use it. My idea is to create a simple page, with a couple of products. When the clients click on a product, it is added to a temporary array. Then, for example, if there are are 6 products in that array and the client clicks on checkout, I want to add one product to the cart and that is the only item to be processed. Did you understand what I'm getting at here? Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now