Jump to content

Scenes Configuration


Recommended Posts

Go to Catalog > Image mapping to assign scenes to categories. On the product listings, Prestashop checks whether a scene exists for that category. If it does, it displays the scene, otherwise it will display the category image assigned on the Catalog > Category > Edit page.

Link to comment
Share on other sites

  • 1 year later...

i should have mentioned i want to keep the image for categories so it shows the subcategories and their images on category page but doesn't show the scene with image on the product page. it doesn't appear that that option is available in bk office, or is it? i can modify tpl files if necessary, but i wasn't sure where to start with this one. thanks in advance

Link to comment
Share on other sites

You will need to {* comment out *} lines 44-54 of category.tpl (in PrestaShop v1.4.1):

{if $scenes}
   <!-- Scenes -->
   {include file="$tpl_dir./scenes.tpl" scenes=$scenes}
{else}
   <!-- Category image -->
   {if $category->id_image}

       <img src="{$link->getCatImageLink($category->link_rewrite, $category->id_image, 'category')}" alt="{$category->name|escape:'htmlall':'UTF-8'}" title="{$category->name|escape:'htmlall':'UTF-8'}" id="categoryImage" width="{$categorySize.width}" height="{$categorySize.height}" />

   {/if}
{/if}

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...