Shad86 Posted March 3, 2017 Share Posted March 3, 2017 (edited) Hey guys, I want to add a button for not buyable products. I have the button itself and its opening a popup with a new contact form: http://jsfiddle.net/Bzn99/51/ Working so far. I´ve done a small change at the product-add-to-cart.tpl to show the button if you choose it to be not buyable: {if !$product.add_to_cart_url} <a class="btn btn-primary add-to-cart enlace fancybox fancybox.iframe" href="http://testshop.displayandpack.com/de/forms/1/kontakt?content_only=1"> <i class="material-icons shopping-cart"></i> Produkt anfragen </a> {/if} What should I do to use the prestashop included jquery? And where do I have to place the javascript from the jsfiddle link? Edited March 3, 2017 by Shad86 (see edit history) Link to comment Share on other sites More sharing options...
bellini13 Posted March 3, 2017 Share Posted March 3, 2017 Hello, in case you are interested in a completed solution, these might interest you https://www.prestashop.com/forums/topic/156146-module-best-quote/ https://www.prestashop.com/forums/topic/285855-module-price-order-column-quote-form/ Link to comment Share on other sites More sharing options...
Shad86 Posted March 3, 2017 Author Share Posted March 3, 2017 Thank you, sounds good to keep it in the backhead. It´s a little different or overpowered, but if it´s not possible for me to activate mine, it´s better than nothing. 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