• Priority: High
  • Status: Closed
  • Theme: Alysum
  • Assigned To: Fred
  • Private: No
  • Open Date: 25.02.21, 09:41
  • Opened by: jean Marie SAMEC
  • Closed by: Anonymous Submitter
  • Closed on:
  • Reason: Not a bug

Ticket #20874 - Amp Home Page Builder

Hello Fred,

I’m using selected products widget AMP home page.

https://www.awesomescreenshot.com/image/6297591?key=217d54838be6019d30305ffae6817262

One of my product not listed at home page product url is:

https://www.annedelona.com/fr/boutique/85-grainolate-stop-sucre-pour-arreter-lhabitude-et-l-envie-du-sucre-barre-nutrition-aux-graines-et-baies-de-goji-4-barres.html

Why your theme not getting this product. Product id is 85.

Please fix this issue.

Comments

antonio nocera 25 Feb 2021, 18:21

I solved by cleaning the prestashop cache and on the server hosting us I don't know why it was redirecting to the AMP version.
Now when I click on some products it sends me back to the AMP version I hope you can solve this problem for me

thank you

Fred 25 Feb 2021, 19:45

Hi, jean Marie SAMEC.
I just added product ID 85 and you can see it at the home page https://take.ms/I2RuH

jean Marie SAMEC 26 Feb 2021, 07:13

Hello Fred,

When i'm adding these products id:11,85,57,68,36,37,77. Total product id is 7. but i can see only 6 product smartphone home page. Product is 85 is not display at AMP Home page. How many product ids set.

Fred 26 Feb 2021, 12:30

I have fixed the file /home/annedelona/prestashop-prod/modules/pspagebuilder/classes/widget/productrecommended.php but nothing is changed.
Do you have some cache enabled in your prestashop or Opcache in your server?

jean Marie SAMEC 26 Feb 2021, 14:04

After clear all cache I will try but this widget only display 6 products.

Fred 26 Feb 2021, 18:22

as I can see here https://www.annedelona.com/phpinfo.php you have enabled Opcache. please disable it for a while

jean Marie SAMEC 01 Mar 2021, 06:52

Please check now Opcache is disabled.

Fred 01 Mar 2021, 10:00

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

jean Marie SAMEC 01 Mar 2021, 11:42

Thanks, Working fine. Now I'm enable Opcache.

Fred 01 Mar 2021, 12:32

Yes, now you can enable it back