• Priority: 0
  • Status: Closed
  • Theme: Venedor
  • Assigned To: Marek
  • Private: No
  • Open Date: 01.04.19, 11:37
  • Opened by: Javier Bueno
  • Closed by: Marek
  • Closed on: 11.06.19, 09:54
  • Reason: Closed
  • Comment: Glad to help!

Ticket #14126 - Problems with Blocklayered

Hello, I have a problem with the topic specifically with the module Blocklayered because when it is filtered and passed to the next or previous page, this loses the variables of the URL and is reset, I’ve been looking at paging. TPL, product. TPL, Blocklayered. TPL and. JS and not I give with the mistake. If you can tell me how to repair it I would appreciate it.

Thank you Very Much and greetings.

Comments

Marek 01 Apr 2019, 11:49

Hi, Javier.
Please give me a link to see the issue

Javier Bueno 02 Apr 2019, 11:00

Hello Marek, I leave here the link of the page (https://almabebe.com/tienda-bebe-online/84-paseo) so that you can take a look, to the left you have the filters and to the right the paging, when you select a filter or several and you give to the paging may that the first time works but then the variables is reset It’s and it shows everything again.

Marek 02 Apr 2019, 12:26

Hi, Javier Bueno.
Please fill out all necessary fields in your profile https://support.promokit.eu/index.php?do=myprofile to access to your server through FTP I need to check out theme’s files

Javier Bueno 02 Apr 2019, 13:04

Hi Marek, I have already registered FTP access, if you need anything else do not hesitate to ask.

Marek 02 Apr 2019, 14:01

Please disable js compression in your back office

Javier Bueno 02 Apr 2019, 14:52

We’ve Already disabled it.

Marek 03 Apr 2019, 11:49

I have restored original prestashop files of the filter but it doesn’t help. I suppose something wrong with configuration.
Please make a test to make sure it still doesn’t work https://almabebe.com/tienda-bebe-online/84-paseo

let me know and I’ll restore Venedor files

Javier Bueno 03 Apr 2019, 14:05

Hi Marek, I tried paging with filters and does not work very well or even performs the request for the AJAX call to filter those products.

Marek 03 Apr 2019, 14:16

I have restored Vendor files, please check it out

Javier Bueno 03 Apr 2019, 15:42

I’ve proved that the styles and the Ajax Is working again. I’Ve been doing tests and I have the following problem:

For example if you select inside the filter category “Ride Accessories (70)” We see that paging is set to 2 as it is divided into 45 products per page. Because If we give the number 2 of the page we see that this goes to page 2 and if I give to page 1 returns without any problem. Now if we press again on the 2, this reset the filters and redisplays all the products.

This happens with any filter that has more than 45 products per page.

I have Also tried on other web pages and it does the same operation.

Marek 04 Apr 2019, 11:37

Yes, I see that. Product Filter is a native prestashop module, and we didn’t caching it’s behavior. Do you have possibility to test out your store with Classic theme, to figure out where is the issue?

Javier Bueno 04 Apr 2019, 16:04

Hello Marek, I will try what I say but before I will make you a backup as customers are rising products and I do not want to lose anything. As soon as I make the copy I will write again in this thread and inform you of any novelty.

Marek 05 Apr 2019, 09:48

Ok, waiting for you

Javier Bueno 12 Apr 2019, 09:31

Hi Marek, I tried to change the theme by the default Prestashop and I tested the filters to see different results and indeed this works well with paging. Then I suspect it has to be some JavaScript file with Ajax, which is not working well.

We Are in Contact, greetings and thank you very much.

Javier Bueno 12 Apr 2019, 09:33

Also Before I forget, we have changed the store site and is no longer the URL to indicate, but this https://almabebe.com/

Marek 13 Apr 2019, 16:25

Ok, I see. Please fill out all necessary fields in your profile https://support.promokit.eu/index.php?do=myprofile to access to your back office

Javier Bueno 22 Apr 2019, 09:49

Hi Marek, sorry not to have responded before but I have been on vacation, I have filled the accesses you’ve asked, I’m waiting for you. Greetings and thank you very much.

Marek 24 Apr 2019, 17:12

There is no access to files in your server for me http://take.ms/i8W6T

Javier Bueno 25 Apr 2019, 09:30

Hi Marek, if I just fix that does not change the route in the FTP, sorry. You have corrected and you can access. Another thing, the client has asked me to disable the right mouse button, I tell you if you need access to inspect the browser. It can be accessed by keyboard shortcuts. A greeting

Marek 26 Apr 2019, 16:45

Sorry for the delay.
Please test it now, it should work correctly

Javier Bueno 29 Apr 2019, 09:34

Good Marek, I tried again the filters but still not working, when changing the page with a selected filter, these are still reset and show me all the products of that category.

Marek 29 Apr 2019, 13:17

Maybe it’s a cache of your browser. When I select category in the Filter “Complementos de paseo” then click to page 2 I have following URL https://almabebe.com/84-paseo#/categorias-complementos_de_paseo/page-2

Then if I click to page 1 I have following URL https://almabebe.com/84-paseo#/categorias-complementos_de_paseo