• Priority: Medium
  • Status: Closed
  • Theme: Alysum
  • Assigned To: Fred
  • Private: No
  • Open Date: 09.05.22, 09:32
  • Opened by: Martina Farela
  • Closed by: Anonymous Submitter
  • Closed on:
  • Reason: Not a bug

Ticket #23327 - Problems in AMP version

Hello, I am writing to you because I have found errors in the product searches amp version:

1.In the “order by” form. The sort by price section (high to low and low to high) does not work. The rest of the sections work correctly but this one does not (img1)
2.When you search for something and use the filter. In the next search, the filters of the previous search are shown (img2 and img3)


img1.PNG (75.7 KiB)
img2.PNG (71.4 KiB)


Martina Farela 09 May 2022, 09:33



img3.PNG (72.4 KiB)
Martina Farela 10 May 2022, 07:54

Do you know why this could be?

Fred 10 May 2022, 10:13

We are trying to figure that out...

Martina Farela 10 May 2022, 10:22

OK, thanks. I have also seen that when I perform a search the result it shows is not correct. I guess it's the same error. Attached images


amp1.PNG (298.4 KiB)
amp2.PNG (179.9 KiB)
Fred 11 May 2022, 11:27

Could you please make your website available online?

Martina Farela 12 May 2022, 15:45

Yes, it is now active again. I'm sorry, I had problems with DNS

Fred 14 May 2022, 10:32

Sorry for the delay. Now I can't login to your back office - https://take.ms/r3Y1P

Martina Farela 16 May 2022, 08:09

Ok, sorry, now you can

Martina Farela 17 May 2022, 09:50

Could you see the error?
It's like saving the data from the previous form.
Could it be a cache error?

Fred 17 May 2022, 11:25

It's in progress...

Fred 17 May 2022, 11:41

Please check it out now, it should be the same - https://take.ms/Nqwqt

Martina Farela 17 May 2022, 11:43

Nothing, I still have the same problem. I attached a video so you can see what happens


Fred 18 May 2022, 10:26

I don't understand the problem now.
By default the ordering is the same in both searches, but of course it will be different if you change the order way

Martina Farela 18 May 2022, 11:04

Yes, but if I search for "Herbora" and perform the query, it does it correctly. The problem is when I search for "Soria natural" (they are different brands) and make the query. The "Herbora" products appear again.

Fred 19 May 2022, 12:01

I see now. Looks like a cache issue.
I just clicked on this button - https://take.ms/CniAC and now whole website is down. Could you please check it out?

Fred 19 May 2022, 12:09

now website works. Keep working on the issue

Martina Farela 19 May 2022, 12:10

The website is down because debug mode is activated.
Could it be a cache error because it's on a local server and it's not optimized for amp?

Fred 19 May 2022, 12:19

Please test out the problem now

Martina Farela 19 May 2022, 12:36

Perfect, thank you very much, now only the error that I told you about above is missing.
On the category page, the "sort by" filter doesn't work when you want to sort by price.
Neither from highest to lowest, nor from lowest to highest

Attached images.


ordenar.PNG (71.6 KiB)
ordenar2.PNG (73.7 KiB)
Martina Farela 20 May 2022, 08:33

This picture is no an error, please disregard it, sorry


search.PNG (17.3 KiB)
Fred 20 May 2022, 11:47

I have enabled Debug mode to be able to see error messages and found out the error caused by "prestatilldrive" module.
Please fix it first to let me continue to work on the main issue

Martina Farela 20 May 2022, 11:53

Ok, can you tell me the error that throws you, to correct it. thanks

Fred 20 May 2022, 11:53

Just disable that module for a while

Martina Farela 23 May 2022, 08:32

Hello, did you change something? It is that now the search in AMP version does not work

Fred 23 May 2022, 11:13

As I can see you have disabled Friendly URL's option. AMP require to keep it enabled

Martina Farela 23 May 2022, 12:00

OK, Thanks.

I have seen that now, the products are sorted by price but they come out duplicates. There is little left to solve the problem

Fred 23 May 2022, 12:13

I can't find where products are duplicated

Martina Farela 23 May 2022, 12:41



duplicated.PNG (57.4 KiB)
Fred 24 May 2022, 11:14

I can't reproduce the issue. Everything works correctly for me - https://take.ms/m7RyO

Martina Farela 24 May 2022, 11:57

It's not on the search page, it's on the category page. Check it on any category page and you will see it.
Thank you

Martina Farela 24 May 2022, 12:07

Ok, I already saw the error of duplicity and it´s fixed.
Now the only thing that doesn't work is on the category page. Sort by price, low to high.
Thank you very much


low.PNG (77.2 KiB)
low.PNG (77.2 KiB)
Martina Farela 24 May 2022, 13:04

Ok, I just saw that the bug only occurs in the "colagenos" category. Do you know why it can happen?

Fred 24 May 2022, 17:13

that's really strange to have the problem in one category only. We are trying to figure out what's wrong