How to call a iframe or pupup on shoppica on homepage. popup or iframe would have element of opencart free newsletter module.
also any help to make it self close after submit and not showing the subit url.
below url needs to be in popup at home and self close after submit enabling user to stay on home page.
<h3>Subscribe to our<br />newsletter</h3>
<form name=”ajaxForm” action=”index.php?route=module/newslettersubscribe/subscribe” method=”post”>
<label for=”email”>Email</label>
<input type=”text” name=”subscribe_email” id=”subscribe_email” />
<input type=”submit” value=”Submit” />
</form>
I just need a kick to do it myselfÂ
thanks in advance.
|
|
Hi mate,
You can put the form in a static html page and load it with the iframe.
Here is the documentation of the PrettyPhoto plugin: http://www.no-margin-for-errors.com/projects/prettyphoto-jquery-lightbox-clone/. You will find there, how you can popup an iframe.
Unfortunately, we’re not sure it will be possible to close the popup on form submit.
Best,
ThemeBurn team
|
|