you256 Posted February 21, 2014 Share Posted February 21, 2014 (edited) Hello, Does anyone know how to create a direct Add to cart button for Prestashop! By a JavaScript command on button? If a client click on an Add to cart image button --> the product is sent to cart or a window pop up appear like ajax window with the product description (Like default window used by prestashop) For example the Add to cart who is used in this page but without quantity: http://livedemo00.template-help.com/prestashop_41333/index.php?id_product=1&controller=product&id_lang=1 Second example, the green add to cart: http://addons.prestashop.com/en/checkout-modules/2412-cross-selling-on-cart-increase-your-cart-average.html Thank you, Edited February 21, 2014 by you256 (see edit history) Link to comment Share on other sites More sharing options...
vekia Posted February 21, 2014 Share Posted February 21, 2014 i have no idea what you exactly expect these buttons works exactly the same as default button works so.. can you shed some more light on it, please? Link to comment Share on other sites More sharing options...
you256 Posted February 21, 2014 Author Share Posted February 21, 2014 Thank you so much for your reply, I just want to know how to program a button image (Add to Cart) that pop up the window of description? And not the default disposition offered by Prestashop. Exactly like the grey Add to cart (Ajouter au panier) button here: http://livedemo00.template-help.com/prestashop_41333/index.php?id_category=3&controller=category&id_lang=5 Thank you, Link to comment Share on other sites More sharing options...
vekia Posted February 21, 2014 Share Posted February 21, 2014 i see this button, i click on it, mouse over etc. and i don't see any popup Link to comment Share on other sites More sharing options...
you256 Posted February 21, 2014 Author Share Posted February 21, 2014 Thank you again for your interest, But the pop up is not in the website that I give you but in the default one in prestashop Me I want the same that you see here: http://livedemo00.template-help.com/prestashop_41333/index.php?id_category=3&controller=category&id_lang=5 Thank you, Link to comment Share on other sites More sharing options...
vekia Posted February 21, 2014 Share Posted February 21, 2014 this is why i said that this add to cart button is a default prestashop feature. take a look: http://demo-store.prestashop.com/en/5-beauty-personal-care Link to comment Share on other sites More sharing options...
you256 Posted February 21, 2014 Author Share Posted February 21, 2014 Thank you for the answer, Exactly its the same Add to cart button. But can you just tell me please how to configure an image button to do the same work of this yellow default prestashop Add to cart! Thank you, Link to comment Share on other sites More sharing options...
Recommended Posts