AcidLava Posted November 6, 2023 Share Posted November 6, 2023 (edited) Bonjour, Sur PS 8.1.2 thème warehouse mes miniatures de catégories ne s'affichent pas. J'ai seulement les images de remplacement qui s'affichent fr-default-small_default.jpg. J'ai essayé de régénérer les miniatures, vider les caches sans succès. Ci-joint le fichier category-subcategories.tpl du thème. Quelqu'un a une piste ? {block name='product_list_subcategories'} {if isset($subcategories) && $subcategories} <!-- Subcategories --> <div class="product-list-subcategories {if $iqitTheme.cat_hide_mobile} hidden-sm-down{/if}"> <div class="row"> {foreach from=$subcategories item=subcategory} <div class="col-{$iqitTheme.cat_sub_thumbs_p} col-md-{$iqitTheme.cat_sub_thumbs_t} col-lg-{$iqitTheme.cat_sub_thumbs_d}"> <div class="subcategory-image"> <a href="{$subcategory.url}"> {if $subcategory.image} <picture> {if !empty($subcategory.image.bySize.small_default.sources.avif)}<source srcset="{$subcategory.image.bySize.small_default.sources.avif}" type="image/avif">{/if} {if !empty($subcategory.image.bySize.small_default.sources.webp)}<source srcset="{$subcategory.image.bySize.small_default.sources.webp}" type="image/webp">{/if} <img src="{$subcategory.image.bySize.small_default.url}" alt="{$subcategory.name}" width="{$subcategory.image.bySize.small_default.width}" height="{$subcategory.image.bySize.small_default.height}" class="img-fluid" loading="lazy" /> </picture> {else} <picture> {if !empty($urls.no_picture_image.bySize.small_default.sources.avif)}<source srcset="{$urls.no_picture_image.bySize.small_default.sources.avif}" type="image/avif">{/if} {if !empty($urls.no_picture_image.bySize.small_default.sources.webp)}<source srcset="{$urls.no_picture_image.bySize.small_default.sources.webp}" type="image/webp">{/if} <img src="{$urls.no_picture_image.bySize.small_default.url}" alt="{$subcategory.name}" width="{$urls.no_picture_image.bySize.small_default.width}" height="{$urls.no_picture_image.bySize.small_default.height}" class="img-fluid" loading="lazy" /> </picture> {/if} </a> </div> <a class="subcategory-name" href="{$subcategory.url}">{$subcategory.name}</a> </div> {/foreach} </div> </div> {/if} {/block} Edited November 6, 2023 by AcidLava (see edit history) Link to comment Share on other sites More sharing options...
Mediacom87 Posted November 6, 2023 Share Posted November 6, 2023 Bonjour, Contactez le créateur de ce thème qui sera le plus à même de répondre à votre problématique. 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