• Priority: 0
  • Status: Waiting on customer
  • Theme: Alysum
  • Assigned To: Fred
  • Private: No
  • Open Date: 29.02.24, 12:08
  • Opened by: Cedric Casoni

Ticket #25350 - Issue with Price Display in Recommended Product Carousels on AMP Product Pages

Hi Fred,

I am reaching out regarding a specific issue we’re experiencing on the AMP version of our PrestaShop site with the price display in the recommended product carousels on product pages.

After conducting several checks and troubleshooting attempts, we’ve observed that in two different carousels on AMP product pages, one correctly displays the recommended products’ prices, while the other does not. This occurs even with the same product featured in both carousels, which should ideally ensure consistency in display.

We’ve reviewed the ps_crossselling.php file and the associated ps_crossselling.tpl template for the cross-selling module to ensure that the configuration to display prices was enabled and correctly passed to the template. Despite this, one of the carousels fails to display prices as expected on AMP product pages.

I am attaching a screenshot to illustrate the issue. The goal is to ensure that product prices are displayed in all the recommended product carousels on AMP product pages across the site.

Could you assist us in identifying and resolving this AMP-specific issue? I am available for any further information or to conduct additional tests if necessary.

Thank you
Cédric

Attachments:

Comments

Fred 01 Mar 2024, 16:32

Hi, Cedric.
Can you please give me a link to a page where I can see the issue?

Cedric Casoni 01 Mar 2024, 17:17

Hi Fred, you can visit this : https://www.alarmemaison.com/surveillance/product/21-alarme-sans-fil-ajax-starter-01-securite-fiable-pour-appartement-ou-commerce There is 2 Carousels, one with price and the other have no price.

Thks
Cédric

Fred 02 Mar 2024, 21:50

I have no permissions to edit files

/themes/alysum/templates/mobile/catalog/_partials/miniatures/product.tpl: open for write: permission denied
Cedric Casoni 05 Mar 2024, 09:18

Hi Fred,
Now it's ok.
Thks
Cédric

Fred 05 Mar 2024, 11:47

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

Cedric Casoni 05 Mar 2024, 14:38

Yes i think it's ok, but i saw another problem.
When i write "kit" in search and i click on product, i get 404 ERROR PAGE. The product link did not change. How can I solve this?
Main URL Slug
Before : mobile
Now : surveillance

Cédric

Fred 06 Mar 2024, 10:50

How to reproduce the issue? It works for me https://take.ms/vFBLO

Cedric Casoni 06 Mar 2024, 10:58

Hi Fred, the problem is on AMP dislplay.

As I changed the main url slug, this product wants go on the previous link. You understand ?
Cédric

Fred 06 Mar 2024, 11:05

maybe that's a cache in your browser, because it works fine for me https://take.ms/CNQ0Y

Cedric Casoni 06 Mar 2024, 11:31

Oh maybe you re right.

Thank you
Cedric

Fred 07 Mar 2024, 10:32

You are welcome!