Two pictures in product view

Phoca Cart - complex e-commerce extension
Geyperman
Phoca Newbie
Phoca Newbie
Posts: 9
Joined: 07 Jul 2023, 09:04

Two pictures in product view

Post by Geyperman »

I only use two photos per product, very rarely three.
So, is it possible to change product view to use two photos?
TA
User avatar
Nidzo
Phoca Professional
Phoca Professional
Posts: 387
Joined: 07 Nov 2018, 14:55

Re: Two pictures in product view

Post by Nidzo »

I don't understand. Do you have some example so we can see it.
Geyperman
Phoca Newbie
Phoca Newbie
Posts: 9
Joined: 07 Jul 2023, 09:04

Re: Two pictures in product view

Post by Geyperman »

I want to place two photos , not thumbnails , because my photos are higher than wider. One aside the other. www.ma20.club
User avatar
Benno
Phoca Hero
Phoca Hero
Posts: 9435
Joined: 04 Dec 2008, 11:58
Location: Germany
Contact:

Re: Two pictures in product view

Post by Benno »

Hi,
This is your large thumbnail:
Image
and this is your medium thumbnail. It's cropped.
Image

Goto & set: backend --> Components --> Phoca Cart --> Control Panel --> Options --> Main --> Crop Thumbnails=None
Recreate thumbnails. Now the medium thumbs shouldn't be cropped.
Image

Kind regards,
Benno
Geyperman
Phoca Newbie
Phoca Newbie
Posts: 9
Joined: 07 Jul 2023, 09:04

Re: Two pictures in product view

Post by Geyperman »

nice idea, but i want two images side by side in the product details
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48402
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Two pictures in product view

Post by Jan »

Hi, then you need to customize the output per e.g. template override, this file:
components/com_phocacart/views/item/tmpl/default.php

Jan
If you find Phoca extensions useful, please support the project
FlorianWachter
Phoca Member
Phoca Member
Posts: 15
Joined: 12 May 2023, 12:10

Re: Two pictures in product view

Post by FlorianWachter »

Bennos steps seem to be the right ones for me. But... where can i recreate the thumbnails?
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48402
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Two pictures in product view

Post by Jan »

Hi, in administration, in product list - if you select some product, in Action button (above) you can click on recreate thumbnails

BTW thumbnails can be recreated e.g. in console:
https://www.phoca.cz/phocacart-extensio ... ole-plugin

Jan
If you find Phoca extensions useful, please support the project
FlorianWachter
Phoca Member
Phoca Member
Posts: 15
Joined: 12 May 2023, 12:10

Re: Two pictures in product view

Post by FlorianWachter »

Perfect- thanks JAN!
Post Reply