TFVSC Posted October 24, 2010 Share Posted October 24, 2010 I'm new in prestashop. I've started my first project using this great tool.Happens that I'm not being able to create an add to cart button capable of dealing with product combinations.I am using a module to personalize a product (selecting diferent attributes for the product) in the end the client should press the add to cart button and the product should appear n the cart.I've explored cart.php searching for a solution and tried to find the code using firebug but no luck...Help is very much appreciated.Thank you in advance Link to comment Share on other sites More sharing options...
tomerg3 Posted October 25, 2010 Share Posted October 25, 2010 I'm not exactly sure what you are trying to do, can you add a screenshot or try to explain the problem better. Link to comment Share on other sites More sharing options...
TFVSC Posted October 25, 2010 Author Share Posted October 25, 2010 First of all thank you for your interest in my problem.I've been trying to understand the way the prestashop cart works and from what I understood (please correct me if I'm wrong)1 - the client chooses a product it's attributes and presses the 'add to cart' button2 - prestashop uses the ID of the choosen product and it's atributes ids to find a product combination 3 - prestashop adds that combination to the cartIf this is right I should be able to create a code to use in my 'add to cart' button to accomplish this.To be honest what is really missing is knowledge of the tool but I'm hoping to learn it fast to be able to develop some new modules for the comunity.If you could give me a better insight about the prestashop cart it would be very much appreciated. Link to comment Share on other sites More sharing options...
tomerg3 Posted October 25, 2010 Share Posted October 25, 2010 I still don't understand what you mean by your own add to cart button.Do you want to add another add to cart button on the product page? Link to comment Share on other sites More sharing options...
TFVSC Posted October 26, 2010 Author Share Posted October 26, 2010 Yes, I want to create my own add to cart button. Link to comment Share on other sites More sharing options...
tomerg3 Posted October 26, 2010 Share Posted October 26, 2010 With the attributes, or without? 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