problem displaying related products

Phoca Cart - complex e-commerce extension
supportotecinf
Phoca Member
Phoca Member
Posts: 19
Joined: 31 Jul 2019, 20:28

problem displaying related products

Post 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

Tags:
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48403
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: problem displaying related products

Post by Jan »

Hi, testing now, get no such problem:
Image

which version of Phoca Cart do you use?

Jan
If you find Phoca extensions useful, please support the project
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48403
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: problem displaying related products

Post 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
If you find Phoca extensions useful, please support the project
supportotecinf
Phoca Member
Phoca Member
Posts: 19
Joined: 31 Jul 2019, 20:28

Re: problem displaying related products

Post by supportotecinf »

Hey, i am using phocacart 3.5.0, solved thanks
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48403
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: problem displaying related products

Post by Jan »

Ok, will be set in 3.5.1

Thank you for the info.

Jan
If you find Phoca extensions useful, please support the project
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48403
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: problem displaying related products

Post by Jan »

If you find Phoca extensions useful, please support the project
Post Reply