Jump to content

Related products module


StrefaBiznesu

Recommended Posts

You can check, in classic theme the code, which responds for output of related products, is here:

themes\classic\templates\catalog\product.tpl

And it begins from 228 line:

{block name='product_accessories'}
      {if $accessories}
        <section class="product-accessories clearfix">
          <p class="h5 text-uppercase">{l s='You might also like' d='Shop.Theme.Catalog'}</p>
          <div class="products row">
            {foreach from=$accessories item="product_accessory" key="position"}
              {block name='product_miniature'}
                {include file='catalog/_partials/miniatures/product.tpl' product=$product_accessory position=$position productClasses="col-xs-6 col-lg-4 col-xl-3"}
              {/block}
            {/foreach}
          </div>
        </section>
      {/if}
    {/block}

 

  • Like 1
Link to comment
Share on other sites

2 hours ago, ComGrafPL said:

Try also search in theme modules, that are related to product customization settings. Maybe some additional code is add to it. Themes something has something like that. 

Found it. Well. Theme developer found is. It was hidden in general theme settings.

Thanks.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...