{* * @Module Name: Leo Next Previous * @Website: leotheme.com.com - prestashop template provider * @copyright Leotheme * @description: Leo Next Previous for prestashop 1.7: Displays links to the previous and next product on the product pages *} {if $position != 3 || (isset($buttons) && $buttons)}
{/if} {if $prev}

{l s='previous product' mod='leonextprevious'}

{if $display_image}{/if} {if $display_names || $display_price}

{if $display_names}{$prev.name}
{/if}{if $display_price}{$prev.price_static}
{/if}

{/if}
{elseif !$prev && isset($buttons) && $buttons}
{/if} {if $next}

{l s='next product' mod='leonextprevious'}

{if $display_image}{/if} {if $display_names || $display_price}

{if $display_names}{$next.name}
{/if}{if $display_price}{$next.price_static}
{/if}

{/if}
{elseif !$next && isset($buttons) && $buttons}
{/if} {if $position != 3 || (isset($buttons) && $buttons)}
{/if} {if $position > 0 && $position < 3} {/if}