July 25, 20224 yr I noticed the images for related products don't show in a blog post. After perusing the code i found the culprit: in line 175 of bleesblogrelatedproducts.php it states: $product['image'] = $this->context->link->getImageLink($product['id_product'], $product['id_image'], ImageType::getFormatedName('home')); But if 'home' is not in your "image_type" table it won't generate the right url. So I changed it to: $product['image'] = $this->context->link->getImageLink($product['id_product'], $product['id_image'], ImageType::getFormatedName('community-theme-default_medium_default')); and now the images show
Create an account or sign in to comment