News:

AbanteCart v1.4.2 is released.

Main Menu
support

How to Add Jquery Screen Popup

Started by Kat8990, August 25, 2016, 01:34:23 PM

Previous topic - Next topic

Kat8990

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.


abolabo

"No one is useless in this world who lightens the burdens of another."
― Charles Dickens

Kat8990

Abolabo


Bootstrap modals is fine. How do I incorporate the code and which file?

abolabo

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.
"No one is useless in this world who lightens the burdens of another."
― Charles Dickens

Forum Rules Code of conduct
AbanteCart.com 2010 -