Jump to content

Edit History

RMK_Code

RMK_Code

Hello,
I need your help! Im on Prestashop 8.1.2
On the page with all the products I'm trying to change the number of product colums and I can't 😃 My brain bugs
I removed the left block with the categories and filters and I want to adjust the number of product colums.

Here's the produclist.tpl file that goes to ( templates/catalog/_partials )

I've tried a lot of modifications and I don't understand why it doesn't change. 

 

{capture assign="productClasses"}{if !empty($productClass)}{$productClass}{else}col-xs-6 col-xl-4{/if}{/capture}

<div class="products{if !empty($cssClass)} {$cssClass}{/if}" itemscope itemtype="http://schema.org/ItemList">
    {foreach from=$products item="product" key="position"}
        {include file="catalog/_partials/miniatures/product.tpl" product=$product position=$position productClasses=$productClasses}
    {/foreach}
</div>

 

productlist.tpl

RMK_Code

RMK_Code

Hello,
I need your help! Im on Prestashop 8.1.2
On the page with all the products I'm trying to change the number of product colums and I can't 😃 My brain bugs
I removed the left block with the categories and filters and I want to adjust the number of product colums.

Here's the produclist.tpl file that goes to ( templates/catalog/_partials )

I've tried a lot of modifications and I don't understand why it doesn't change. 

 

{capture assign="productClasses"}{if !empty($productClass)}{$productClass}{else}col-xs-6 col-xl-4{/if}{/capture}

<div class="products{if !empty($cssClass)} {$cssClass}{/if}" itemscope itemtype="http://schema.org/ItemList">
    {foreach from=$products item="product" key="position"}
        {include file="catalog/_partials/miniatures/product.tpl" product=$product position=$position productClasses=$productClasses}
    {/foreach}
</div>

 

productlist.tpl

×
×
  • Create New...