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 » 04 May 2020, 19:42

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: 42885
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: problem displaying related products

Post by Jan » 04 May 2020, 23:44

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: 42885
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: problem displaying related products

Post by Jan » 05 May 2020, 00:01

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 » 05 May 2020, 23:30

Hey, i am using phocacart 3.5.0, solved thanks

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

Re: problem displaying related products

Post by Jan » 08 May 2020, 21:13

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: 42885
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: problem displaying related products

Post by Jan » 19 May 2020, 15:09

If you find Phoca extensions useful, please support the project

Post Reply