How To Make VelvetSky Combo Slider Default Change

This post will show you how to change default "new products" at velvetsky prestashop template combo slider to "featured products". I think everybody knows about velvetsky prestashop template from dapurpixel. Its very glamour and beautiful prestashop template and its FREE.

By default, the combo slider module show new products, so how to change it to featured products as a default tab ? Here is how.

in Modules > comboslider.tpl Change lines 24 - 29 from (basically switch the $defaulttab numbers):

 {if $displayfeatured}
         <li><a href="#new" {if $defaulttab=="1"} class="selected"{/if}>{l s='New products' mod='comboslider'}</a></li>
        {/if}
        {if $displaynew}
         <li><a href="#featured" {if $defaulttab=="0"} class="selected"{/if}>{l s='Featured products' mod='comboslider'}</a></li>
        {/if}
Change the code above to


{if $displayfeatured}
         <li><a href="#new" {if $defaulttab=="0"} class="selected"{/if}>{l s='New products' mod='comboslider'}</a></li>
        {/if}
        {if $displaynew}
         <li><a href="#featured" {if $defaulttab=="1"} class="selected"{/if}>{l s='Featured products' mod='comboslider'}</a></li>
        {/if}

 That should do the trick. If you dont see any change, clear your smarty cookies.