• Priority: High
  • Status: Closed
  • Theme: Alysum
  • Assigned To: Fred
  • Private: No
  • Open Date: 18.03.20, 08:26
  • Opened by: cristi lavric
  • Closed by: Fred
  • Closed on: 02.05.20, 12:01
  • Reason: Closed
  • Comment: Glad to help!

Ticket #17051 - Cover image isn't showing in category page

Hi, i have a issue with my newly buyed theme, alysum.
I have the products as you see in print-screen, all the products have combinations (color/size).

But in the category page, the selected cover image from admin-panel, isn’t showing, it shows only the default combination. I want to modify that, to show only the cover image that i’ve selected.
Also, on the product page, i want to make my product picture slider to show only the pictures that i have uploaded for product in admin-cp, including the cover image, now, isn’t showing anything, only the arrows that doesn’t work either if i press them.

Also, if i try to make a custom category page, if i add the faceted widget, it isn’t showing right, and isn’t working. now active is default prestashop category page.

Please see the attached screenshots.
My website is http://thefantasmatique.com/

Comments

Fred 18 Mar 2020, 19:47

Hi, cristi lavric.
Please fill out all necessary fields in your profile https://support.promokit.eu/index.php?do=myprofile to access to your back office I need to see a product configuration

cristi lavric 19 Mar 2020, 07:39

Done, i've updated the fields in my profile

cristi lavric 19 Mar 2020, 12:36

Hi, i've managed to edit a core file from prestashop, to show the thumbnails and the cover picture even if the product has combinations.
on src/Adapter/Image/imagerreetriver.php, on line 104-108, i've commented the folowing if

        foreach ($images as $image) {
            //if (in_array($productAttributeId, $image['associatedVariants'])) {
                $filteredImages[] = $image;
            //}
        }

now, it shows the cover image, everything it's ok, but if i select a color in the product page, the thumbnail isn't changing to the specific color selected in the combination page...

Fred 19 Mar 2020, 14:43

Please switch to the Classic theme and test it out there

cristi lavric 19 Mar 2020, 14:52

Yes, on default acts the same, so, it's a prestashop feature/bug.
And with other problem

" Also, if i try to make a custom category page, if i add the faceted widget, it isn’t showing right, and isn’t working. now active is default prestashop category page."

Fred 20 Mar 2020, 13:29

try to add a "sidebar" class for the row where you have added Faceted Search module

cristi lavric 25 Mar 2020, 18:08

what do you mean by "add a sidebar class" ? on the widget "faceted" settings , on line "Addition Class" ?

Fred 25 Mar 2020, 18:31
cristi lavric 26 Mar 2020, 00:09

I've added, doesn't work. Now it's showing nothing, blank.

Fred 26 Mar 2020, 09:51

please make sure you have configured Faceted Search module correctly

cristi lavric 26 Mar 2020, 11:28

I've configured, now it's showing. But the price slider doesn't show, only if i change the page, or use another filter after that,it appears.
https://mab.to/N1XFbRl8J - here you have a video showing the problem.

Fred 26 Mar 2020, 13:28

Please update fields in your profile https://support.promokit.eu/index.php?do=myprofile to access to your server through FTP

cristi lavric 26 Mar 2020, 14:18

I've updated, it;s a ftp so make sure you use :21 port. It's an addon domain "thefasmatique.com' so, in root, select thefantamatique.com folder to get to the store

Fred 26 Mar 2020, 16:32

I have found out the product filter (Faceted Search) is not working properly in "widget" mode with enabled Category Page Builder https://take.ms/ZEDDc

For now there is only one way is to use Default layout. We keep working on a solution.