Jump to content

 

makmerghen

Member Since 09 Sep 2012
Offline Last Active Aug 16 2014 11:44 AM
-----

Posts I've Made

In Topic: Free Addon: Info Popup for customers

20 March 2014 - 12:11 PM

Dear Vali
thanks for the correction
I did the next into file
skins/basic/customer/addons/hw_popup_info/hooks/index/footer.post.tpl

{if $controller == 'products' && $view== 'view' && $smarty.request.product_id==18}
{if $addons.hw_popup_info.testmode==Y || $smarty.cookies.hw_popup_info!=1}
<script language="javascript" type="text/javascript">
$(function() {$ldelim}
$( "#info_popup_modal" ).dialog({$ldelim}
width: {$addons.hw_popup_info.width},
modal: true,
buttons: {$ldelim}
Ok: function() {$ldelim} $( this ).dialog( "close" ); {$rdelim}
{$rdelim},
close: function( event, ui ) {$ldelim} $.cookie.set('hw_popup_info', 1, '', '/'); {$rdelim}
{$rdelim});
{$rdelim});
</script>
{strip}{assign var="banner" value=$addons.hw_popup_info.banner_id|fn_get_banner_data}{/strip}
<div id="info_popup_modal" class="hidden" title="{$banner.banner}"><div style="padding:10px">{$banner.description}</div></div>
{/if}
{/if}


and I cleared cach and cleared cookies
but unforunatily not working
would you please see if i did any thing wrong
thank you

In Topic: Free Addon: Info Popup for customers

20 March 2014 - 02:01 AM

Dear Vali
thank you for your reply
I did the next
I added the next code as you said in /skins/basic/customer/views/checkout/cart.tpl
to be like the next :

{script src="js/exceptions.js"}

{if !$cart|fn_cart_is_empty}
{include file="views/checkout/components/cart_content.tpl"}
{else}
<p class="no-items">{$lang.text_cart_empty}</p>

<div class="buttons-container wrap">
{include file="buttons/continue_shopping.tpl" but_href=$continue_url|default:$index_script but_role="submit"}
</div>
{/if}
{if $controller == 'checkout' && $mode == 'view'}
{if $addons.hw_popup_info.testmode==Y || $smarty.cookies.hw_popup_info!=1}
<script language="javascript" type="text/javascript">
$(function() {$ldelim}
$( "#info_popup_modal" ).dialog({$ldelim}
width: {$addons.hw_popup_info.width},
modal: true,
buttons: {$ldelim}
Ok: function() {$ldelim} $( this ).dialog( "close" ); {$rdelim}
{$rdelim},
close: function( event, ui ) {$ldelim} $.cookie.set('hw_popup_info', 1, '', '/'); {$rdelim}
{$rdelim});
{$rdelim});
</script>
{strip}{assign var="banner" value=$addons.hw_popup_info.banner_id|fn_get_banner_data}{/strip}
<div id="info_popup_modal" class="hidden" title="{$banner.banner}"><div style=" padding:10px">{$banner.description nofilter}</div></div>
{/if}
{/if}

but unfrotunatily it wasn't work
please advice
thank you

In Topic: Free Addon: Info Popup for customers

17 March 2014 - 03:11 PM

Dear Vali
I have multi vendor version 3.0.3
is there are any way to make this addons appear in specific page not only on the home page
as example to show some message on checkout page and someother message in product page ...etc
thank you

In Topic: Free Addon: Terms and Conditions Popup Window

24 February 2014 - 03:36 AM

thanks it is very nice
may some one help please to do the next
I want to make this pop up of terms and conditions open automatically once the page of payment is load
thanks

In Topic: Speed Up and Optimise CS-Cart Version 3

10 September 2013 - 02:00 AM

need advice
before doing the changes I got the next result
Page Speed Grade:(40%) YSlow Grade: (65%) Page load time: 1.08s
after install smart optimizer
Page Speed Grade:(67%) YSlow Grade: (90%) Page load time: 11.78s

as you see there are a big differance between the page load time
so I want to know which case of these 2 cases is better for me