Page 1 of 1

problem displaying related products

Posted: 04 May 2020, 19:42
by supportotecinf
Hi, I have a problem when I view the product detail that contains related products, it displays an error and the products are misaligned. How can I solve?

Image

Re: problem displaying related products

Posted: 04 May 2020, 23:44
by Jan
Hi, testing now, get no such problem:
Image

which version of Phoca Cart do you use?

Jan

Re: problem displaying related products

Posted: 05 May 2020, 00:01
by Jan
EDIT, now i see, it can be related to labels, try to change this file:
components/com_phocacart/views/item/tmpl/default.php ... line cca 800

FROM:

Code: Select all

$d['class'] = PhocacartRenderFront::completeClass(array($this->s['c']['img-responsive'], $label['cssthumbnail2'], 'ph-image-full', 'phImageFull', 'phjProductImage' . $idName));
TO:

Code: Select all

$d['class'] = PhocacartRenderFront::completeClass(array($this->s['c']['img-responsive'], 'img-thumbnail', 'ph-image-full', 'phImageFull', 'phjProductImage' . $idName));
Jan

Re: problem displaying related products

Posted: 05 May 2020, 23:30
by supportotecinf
Hey, i am using phocacart 3.5.0, solved thanks

Re: problem displaying related products

Posted: 08 May 2020, 21:13
by Jan
Ok, will be set in 3.5.1

Thank you for the info.

Jan

Re: problem displaying related products

Posted: 19 May 2020, 15:09
by Jan