Ku4rtz Posted June 26, 2019 Share Posted June 26, 2019 Hello, I would like to change this part of code : I would like in fact to put a static image here not dependant of what category is watched. I tried to change the file /shopV2/themes/fashion3/templates/catalog/listing/category.tpl. And I finally found the part of code that I needed : {block name='product_list_header'} {* {if isset($category) && $category.image.large.url} <div class="bn-top "> <div class="container_img_bread has-img "> {include file='_partials/breadcrumb.tpl'} <div class="category-cover"> <img src="{$category.image.large.url}" alt="{$category.image.legend}"> </div> {else} <div class="container_img_bread no-img "> {hook h="blockPosition8"} {include file='_partials/breadcrumb.tpl'} </div> </div> </div> {/if}*} {if $category.description} <h1 class="category_h1">{$category.name}</h1> <div id="category-description" class="text-muted">{$category.description nofilter}</div> {/if} {/block} The problem is that if I change something in this code, nothing happen on the website. Even if I delete the if condition, no change. So I tried to cause a bug with deleting a bracket. And the page couldn't respond so I was on the right file? Thanks for your help. Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now