• Priority: 0
  • Status: Closed
  • Theme: Alysum
  • Assigned To: Fred
  • Private: No
  • Open Date: 13.02.20, 12:02
  • Opened by: Thomas Bessat
  • Closed by: Fred
  • Closed on: 01.04.20, 13:08
  • Reason: Closed
  • Comment: Glad to help!

Ticket #16792 - AMP - Brand Page Image

Hi Promokit team,

I set up my AMP configuration, everything works fine for now but I have a weird problem that I can’t fix (don’t find where to go to fix it).

For example, on the Chanel page (katheleys.com/en/mobile/brand/7-chanel), I have “No Image Available”. I don’t want an image or this message to appear. What do I have to do?
On the AMP configuration, in Category Page, I set “Display Category Image” to “No”, but for brand it look like it doesn’t affect any pages.

Thank you :)

Also, I have some problems with AMP and the display look on mobile (lookbook not responsive, slider not in full-screen while setting to this mode into slider options, and latest blog article not visible on the homepage)
Is it better for you if I open one ticket for each of these problems?

Comments

Fred 13 Feb 2020, 14:28

I have disable it for you https://katheleys.com/en/mobile/brand/7-chanel Other issues are in progress…

Thomas Bessat 13 Feb 2020, 14:32

As always, thank you for your time and efficiency :)

Fred 13 Feb 2020, 22:05

1. Lookbook is fixed, as I wrote in another your ticket
2. Fillwidth slider is fixed.
3. I see you are issues php 7.3.x. For now prestashop doesn’t support 7.3.x version, and we recommend to downgrade it to 7.2.x. And second thing is an Opcache what we also recommend to disable while you are in development stage. I have updated blog widget but there is no changes in the frond page because of Opcache

Thomas Bessat 13 Feb 2020, 23:24

Hi Fred,

So I downgraded to 7.2 and disabled Opcache for now, but even before this, I had a 500 error.

With this message, so is it link with the modification you made?

“Compile Error: Cannot declare class PsWidgetAmpBlogposts, because the name is already in use in ampblogposts.php line 271”

Fred 14 Feb 2020, 10:57

The issue with blog has been fixed. Please test to confirm the change

Thomas Bessat 18 Feb 2020, 12:27

Hello,

Yes, the issue with the blog has been fixed, thank you for this. For the brand image, it worked on the page Chanel but not on other. But I have found a way to hide it :)

For others that have the same issue about the preview image on brand’s page: not sure if it is the best solution but with the following CSS (in AMP), it works fine :

/*Hide Preview Brand Image*/
.brand-preview {
    display: none;
}
Fred 18 Feb 2020, 17:58

Thank you for sharing the solution