Wijn & Olijfolie Posted October 27, 2010 Share Posted October 27, 2010 Hello,I've a problem with my prestashop. I have many categories and subcategories within these categories. The problem is that if i did not add an image to an subcategorie (a car) you'll always see the "No image available". But I dont want this, I want the subcategories (cars) to view under eachother.What i mean is this:This is te situatian at the moment:And I want this: Link to comment Share on other sites More sharing options...
pasko Posted October 27, 2010 Share Posted October 27, 2010 Hello,Or you have to touch the code, or you can upload a image of 1px size.Regards. Link to comment Share on other sites More sharing options...
Wijn & Olijfolie Posted October 27, 2010 Author Share Posted October 27, 2010 {if isset($subcategories)} <!-- Subcategories --> {l s='Subcategories'} {foreach from=$subcategories item=subcategory} getCategoryLink($subcategory.id_category, $subcategory.link_rewrite)|escape:'htmlall':'UTF-8'}" title="{$subcategory.name|escape:'htmlall':'UTF-8'}"> {if $subcategory.id_image} getCatImageLink($subcategory.link_rewrite, $subcategory.id_image, 'medium')}" alt="" /> {else} {/if} getCategoryLink($subcategory.id_category, $subcategory.link_rewrite)|escape:'htmlall':'UTF-8'}">{$subcategory.name|escape:'htmlall':'UTF-8'} {/foreach} {/if} 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