Tags

When a tag link is clicked the page that is returned contains products without their image thumbnail, all products have the default “No Image Available”. This is obviously a bug and needs to be rectified as it renders the tag links as pretty much worthless without the product images.



Anybody found a fix?

This does not seem as if it is a huge issue to resolve for someone who is an experienced coder.



The default “no image available” that are displayed on tag link pages have the correct id for each of the products and the wraped around the images also has the correct id for the product image.



So it seems as if it is probably just a bit of faulty code in the file that creates the tag pages.

It really is annoying that CS cart does not have any interaction with customers on their own forums, may of these smaller issues could be resolved quickly by engaging with customers here.

I just activated tags for my products to try it out… everything is working fine. Does the thumbnail display properly for the same product when you access it normally (not through a tag link)?

Thank for the reply.



Yes thumbnails work fine on category pages and anywhere else within the shop but thumbnails are never displayed in tag links.



e.g. the following tag link shown no thumbnail images Tag Link

Yet the same products display thumbnails just fine in category link Category Link



This was reported to CS Cart during my trial of the previous version and I was told all was OK with the new version 2.1.2

[quote name=‘CosmeticTattooist’]Thank for the reply.



Yes thumbnails work fine on category pages and anywhere else within the shop but thumbnails are never displayed in tag links.



e.g. the following tag link shown no thumbnail images Tag Link

Yet the same products display thumbnails just fine in category link Category Link



This was reported to CS Cart during my trial of the previous version and I was told all was OK with the new version 2.1.2[/QUOTE]



Strange indeed considering they use the same product list templates

OK I raised a ticket with support and for the benefit of others here is the reply that I got.



[COLOR=“Blue”]It is a well-known bug of the CS-Cart version. In order to fix it, you should replace the code (line 39):[/COLOR]



[COLOR=“DarkGreen”]if (!empty($products)) {

foreach ($products as $k => $v) {

fn_gather_additional_product_data($products[$k], true, false, true, true, true);

}

}[/COLOR]



[COLOR=“Blue”]with this one:[/COLOR]



[COLOR=“DarkGreen”]if (!empty($products)) {

foreach ($products as $k => $v) {

fn_gather_additional_product_data($products[$k], true, true, true, true, true);

}

}[/COLOR]





[COLOR=“Blue”]in the “tags.php” file in the “addons/tags/controllers/customer” directory of your CS-Cart installation.[/COLOR]



After implementing the above the issue now appears to be resolved :slight_smile: