Jump to content

Edit History

superskyman100

superskyman100

7 hours ago, tomerg3 said:

Here we are !! One thread adressing my problem !! Thank u very much tomerg3 !! ☺️

I don't want to abuse, but I don't know if u can help with the code cause i'm really short on developer skills (if non-existent), and my theme is a bit different code than the classical one for the example u've shown, i'm a bit struggling to understand the structure...

Here is my theme product-cover-thumbnails.tpl :

<div class="images-container images-container-{if $iqitTheme.pp_thumbs == "left" || $iqitTheme.pp_thumbs == "leftd"}left images-container-d-{$iqitTheme.pp_thumbs} {else}bottom{/if}">
    {if $iqitTheme.pp_thumbs == "left" || $iqitTheme.pp_thumbs == "leftd"}
        <div class="row no-gutters">
            {if $product.images|@count gt 1}<div class="col-2 col-left-product-thumbs">{include file='catalog/_partials/_product_partials/product-thumbnails.tpl'}</div>{/if}
            <div class="{if $product.images|@count gt 1}col-10{else}col-12{/if} col-left-product-cover">{include file='catalog/_partials/_product_partials/product-cover.tpl'}</div>
        </div>
     {else}
        {include file='catalog/_partials/_product_partials/product-cover.tpl'}
        {include file='catalog/_partials/_product_partials/product-thumbnails.tpl'}
     {/if}
</div>


 

I don't really know where to put the 'conditions' the guys are talking about on the thread u've shown me, if u have an idea than could be super handy... 

Anyway thanks a lot for your help

 

 

 

superskyman100

superskyman100

5 hours ago, tomerg3 said:

Here we are !! One thread adressing my problem !! Thank u very much tomerg3 !! ☺️

I don't want to abuse, but I don't know if u can help with the code cause i'm really short on developer skills (if non-existent), and my theme is a bit different code than the classical one for the example u've shown, i'm a bit struggling to understand the structure...

Here is my theme product-cover-thumbnails.tpl :

<div class="images-container images-container-{if $iqitTheme.pp_thumbs == "left" || $iqitTheme.pp_thumbs == "leftd"}left images-container-d-{$iqitTheme.pp_thumbs} {else}bottom{/if}">
    {if $iqitTheme.pp_thumbs == "left" || $iqitTheme.pp_thumbs == "leftd"}
        <div class="row no-gutters">
            {if $product.images|@count gt 1}<div class="col-2 col-left-product-thumbs">{include file='catalog/_partials/_product_partials/product-thumbnails.tpl'}</div>{/if}
            <div class="{if $product.images|@count gt 1}col-10{else}col-12{/if} col-left-product-cover">{include file='catalog/_partials/_product_partials/product-cover.tpl'}</div>
        </div>
     {else}
        {include file='catalog/_partials/_product_partials/product-cover.tpl'}
        {include file='catalog/_partials/_product_partials/product-thumbnails.tpl'}
     {/if}
</div>
 

I don't really know where to put the 'conditions' the guys are talking about on the thread u've shown me, if u have an idea than could be super handy... 

Anyway thanks a lot for your help

 

 

 

×
×
  • Create New...