Senior33 Posted January 21, 2022 Share Posted January 21, 2022 Hello again, I want to add a new 'button' to my single product page, for example above the ADD CART button. When 'Button' is selected, the modal popup will appear and I will show the user a text or table containing the information I want. eq: Shipping Details Button and an information table or text about shipping and fees when opened. Thank you Regards Link to comment Share on other sites More sharing options...
endriu107 Posted January 21, 2022 Share Posted January 21, 2022 We are in Developers forum section so I think you are developer and have some coding skills. Most of PrestaShop themes are based on bootstrap so you can use bootstrap modal: https://getbootstrap.com/docs/4.0/components/modal/#live-demo and add it to your template or create own module for that. Link to comment Share on other sites More sharing options...
Senior33 Posted January 21, 2022 Author Share Posted January 21, 2022 54 minutes ago, endriu107 said: We are in Developers forum section so I think you are developer and have some coding skills. Most of PrestaShop themes are based on bootstrap so you can use bootstrap modal: https://getbootstrap.com/docs/4.0/components/modal/#live-demo and add it to your template or create own module for that. Welcome , Actually, I need to explain in more detail. It is really easy to design modals thanks to ready-made codes. What I was wondering is to run the Modal on presta and place it with the add to cart button (below or above). Here is where I don't fully understand. Regard Link to comment Share on other sites More sharing options...
endriu107 Posted January 21, 2022 Share Posted January 21, 2022 You can put this code anywhere you want in your theme file, there is nothing to explain. Not all theme have same file structure, as I can see you don't use classic theme so you have to find correct file. 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