AbanteCart Community
Shopping Cart Operations => Support => Topic started by: Kat8990 on August 25, 2016, 01:34:23 PM
-
I want to add a popup to my website to show a special offering. I've found a couple of free open source jquery popups. I have the zipped files containing all the coding files but which file in the Abantecart platform do I put the jquery code and the other code for my popups. The instructions for the popups say to put the codes in the header and footer files.
I've examined the header.php file in /storefront/controller/common/ and do not see a Jquery code. I see that it says to customize the file, go to the abantecart.com site for answers.
Please let me know how to add my Jquery popups.
-
what about bootstrap modals instead?
http://getbootstrap.com/javascript/#modals
-
Abolabo
Bootstrap modals is fine. How do I incorporate the code and which file?
-
Abantecart have html-element which calls by $this->html->buildElement('type'=> 'modal');
Please check file core/engine/html.php for details.
You can also find usage of it inside tpls.