donnytkc Posted April 12, 2013 Share Posted April 12, 2013 Dear experts, am now using ps 1.5.2 and i found that image is not showing in the accessories tab of product page. i have find out the code to display image in product.tpl , just dont know what alternation i should make to get it work <a href="{$accessoryLink|escape:'htmlall':'UTF-8'}" title="{$accessory.legend|escape:'htmlall':'UTF-8'}" class="product_image"> <img src="{$link->getImageLink($accessory.link_rewrite, $accessory.id_image, 'medium_default')}" alt="{$accessory.legend|escape:'htmlall':'UTF-8'}" width="{$mediumSize.width}" height="{$mediumSize.height}" /></a> if not where else show i look at ? thanks everyone in advance ! Link to comment Share on other sites More sharing options...
donnytkc Posted April 15, 2013 Author Share Posted April 15, 2013 Dear experts, am now using ps 1.5.2 and i found that image is not showing in the accessories tab of product page. i have find out the code to display image in product.tpl , just dont know what alternation i should make to get it work <a href="{$accessoryLink|escape:'htmlall':'UTF-8'}" title="{$accessory.legend|escape:'htmlall':'UTF-8'}" class="product_image"> <img src="{$link->getImageLink($accessory.link_rewrite, $accessory.id_image, 'medium_default')}" alt="{$accessory.legend|escape:'htmlall':'UTF-8'}" width="{$mediumSize.width}" height="{$mediumSize.height}" /></a> if not where else show i look at ? thanks everyone in advance ! any people have any ideas please ? Link to comment Share on other sites More sharing options...
fixgear Posted May 16, 2013 Share Posted May 16, 2013 hey donnytkc. is your shop in catalogue mode? for some reason, in catalogue mode the products in the accessories tab do not show. the tab is there but the wrapper is blank this is happening to me and i am trying to figure out why. let me know if you find anything out. jez... 1 Link to comment Share on other sites More sharing options...
fixgear Posted May 16, 2013 Share Posted May 16, 2013 after looking more on the forums, i found the solution to the accessories not appearing when in catalogue mode. see http://www.prestashop.com/forums/topic/222110-product-acessory-in-catalog-mode-does-not-appear/page__p__1095179__hl__accessories%20__fromsearch__1#entry1095179 . jez... 1 Link to comment Share on other sites More sharing options...
gandalf1959 Posted April 24, 2015 Share Posted April 24, 2015 Ok, I found what was going on: All my products and accessories where in the database with quantity 0. I put some quantity both in the product and in the accessories and now I can see the accessories in the product page. Hope this can help. 1 Link to comment Share on other sites More sharing options...
Recommended Posts