|

Free Addon: Info Popup for customers
Posted 04 June 2013 - 05:27 PM #41
i have made a form for subscription to newsletter.Works perfect!
The only problem is that when someone enter his email and press the 'go' button of the form the cookie is not saved and the popup still appears.
Is there a way to save the cookie when someone enter his email and press go to subscribe to newsletters?
Posted 04 June 2013 - 06:44 PM #42
You can add to form tag
<form onsubmit="$.cookie.set('popup_info', 1, '', '/');" >
I hope that helps,
---
Valentin
CS-Cart Development Services, Custom Design & Authorized Reseller
GET A FREE QUOTE
Posted 04 June 2013 - 07:50 PM #43
this is the form code. I took it as it was from the bottom menu of my site.
<form name="subscribe_form" method="post" action=""> <input type="hidden" value="index.php" name="redirect_url"> <div class="newsletter"> <p style="margin-bottom:5px"> {$lang.text_signup_for_subscriptions}! </p> <input type="hidden" value="2" name="newsletter_format" id="newsletter_format139"> <input type="hidden" value="1" name="mailing_lists[1]" id="mailing_list_1391"> <input type="text" class="input-text cm-hint" style="width:175px;" value="{$lang.enter_email}" id="subscr_email139" name="hint_subscribe_email"> <p class="submit" style="margin-top:5px"> <input type="submit" name="submit" value="{$lang.go}" class="button" /></p> <input type="hidden" value="newsletters.add_subscriber" name="dispatch"></div>
Posted 05 June 2013 - 12:07 AM #44
<form name="subscribe_form" method="post" action="" onsubmit="$.cookie.set('popup_info', 1, '', '/');"> <input type="hidden" value="index.php" name="redirect_url"> <div class="newsletter"> <p style="margin-bottom:5px"> {$lang.text_signup_for_subscriptions}! </p> <input type="hidden" value="2" name="newsletter_format" id="newsletter_format139"> <input type="hidden" value="1" name="mailing_lists[1]" id="mailing_list_1391"> <input type="text" class="input-text cm-hint" style="width:175px;" value="{$lang.enter_email}" id="subscr_email139" name="hint_subscribe_email"> <p class="submit" style="margin-top:5px"> <input type="submit" name="submit" value="{$lang.go}" class="button" /></p> <input type="hidden" value="newsletters.add_subscriber" name="dispatch"></div>
CS-Cart Development Services, Custom Design & Authorized Reseller
GET A FREE QUOTE
Posted 07 June 2013 - 11:26 AM #46
CS-Cart Development Services, Custom Design & Authorized Reseller
GET A FREE QUOTE
Posted 16 June 2013 - 06:46 PM #47
thanks a lot for sharing this addon. It is very nice!
I would like to use phplist to generate a newsleter form, is it possible?
I think it is, but how could use your "OK" botton to submit the form, appear confirmation message in this popup window, stay for a while and then close?
Thanks a lot for your answer
Posted 18 June 2013 - 12:58 PM #48

CS-Cart Development Services, Custom Design & Authorized Reseller
GET A FREE QUOTE
Posted 28 June 2013 - 05:23 PM #49
nice addon.
"adminpanel.php?dispatch=banners.update&banner_id=20"
I put this code in the checkout.tpl because I want that the people see a message showing a offers.
It show the pop-up but not show the message of the text banner.
{* $Id$ *}
{script src="js/exceptions.js"}
{script src="js/cc_validator.js"}
{literal}
<script>
$(function() {
if($.cookie.get('popup_info') == 1)
{
$( "#dialog-message" ).dialog({ modal: true, buttons: { Ok: function() { $( this ).dialog( "close" ); $.cookie.set('popup_info', 1); }}});
}
});
</script>
{/literal}
{strip}{assign var="banner" value=$addons.popup_info.banner_id|fn_get_banner_data}{/strip}
<div id="dialog-message" class="hidden" title="{$banner.banner}"><div style=" padding:10px">{$banner.description}</div></div>
Posted 01 July 2013 - 06:54 AM #50
You can also add direct the banner_id
replace:
{assign var="banner" value=$addons.popup_info.banner_id|fn_get_banner_data}
with:
{assign var="banner" value=20|fn_get_banner_data}
I hope that helps,
---
Valentin
CS-Cart Development Services, Custom Design & Authorized Reseller
GET A FREE QUOTE
Posted 04 July 2013 - 07:18 AM #51
Warm greetings.
I installed the popup_info add on to my site
But i did not like the way it appeared on my site so i uninstalled it and deleted the files from my server.
But my store front is still showing the popup info whenever my site loads. I have attached the a print screen of the error image showing on my site.
www.christembassydigitalmedia.com/naira/
Kindly help resolve this.
Thank you
Amos
Attached Files
Posted 04 July 2013 - 07:35 AM #52
Please clear cache ?cc
Please delete folder popup_info manual addon files from skins/basic/customer/addons/
because your site is in developer mode and on uninstall addons he doesn't delete addon folder from skin

Please check also analytic addon the code is on top of head and in the bottom is missing code, maybe you did the same with analytics

---
Valentin
CS-Cart Development Services, Custom Design & Authorized Reseller
GET A FREE QUOTE
Posted 11 July 2013 - 08:51 PM #54
I was just wondering if it possible to get the popup to appear on a specific page like for example the cart-page or the checkout-page, instead of popping up on the first page that the customer visits?
Stop smoking start vaping: Dampskyen.no
Posted 12 July 2013 - 06:17 AM #55
CS-Cart Development Services, Custom Design & Authorized Reseller
GET A FREE QUOTE
Posted 18 July 2013 - 02:21 PM #56
1. Remove the OK button OR remove the X at the top-right corner - no need for both.
2. Remove the drag-out corner at the bottom-right corner - already have a size variable.
Thanks!
Posted 19 July 2013 - 07:40 AM #58
CS-Cart Development Services, Custom Design & Authorized Reseller
GET A FREE QUOTE
Posted 14 August 2013 - 08:00 AM #59
CS-Cart Development Services, Custom Design & Authorized Reseller
GET A FREE QUOTE
Posted 14 August 2013 - 05:55 PM #60
http://forum.cs-cart...post__p__165522
Thanks!