Jump to content

I wnat to change special caousel to home featured


Recommended Posts

Hello
I use special offers carousel module. but i want this module show home featured products. please help me.

tpl file of this module :

<!-- MODULE Block specials -->
{literal}
<style type="text/css">
#special_slider ul, #special_slider li{
   margin:0;
   padding:0;
   list-style:none;
   }
#special_slider, #special_slider li{
   width:174px;
   height:80px;
   overflow:hidden;
   }
</style>
[removed][removed]
{/literal}

{l s='Specials' mod='blockspecialscarousel'}

{if $products|@count > 0}


       {foreach from=$products item=product name=products}


{$product.name|truncate:35|escape:'htmlall':'UTF-8'}
{displayWtPrice p=$product.price_without_reduction}
                   {if $product.reduction_percent}(-{$product.reduction_percent}%){/if}
{displayWtPrice p=$product.price}

       {/foreach}




{l s='All specials' mod='blockspecialscarousel'}

{else}

{l s='No specials at this time' mod='blockspecialscarousel'}
{/if}



{literal}
[removed]
$(document).ready(function(){
   $("#special_slider").olcSlider({
           speed: {/literal}{$timeEffet}{literal},
           duration: {/literal}{$timeTrans}{literal[spam-filter]);
});
[removed]
{/literal}
<!-- /MODULE Block specials -->





Php file of this module is attached.
Thanks Again.

blockspecialscarousel.php

Link to comment
Share on other sites

×
×
  • Create New...