Jump to content

Recommended Posts

Maybe it could help someone with block layered:

I need to replace "#" in url with "?selected_filter=", so I changed in blocklayered.php (presta 1.6.1.20)

in line 2877

    $type_filter['values'][$key]['link'] = $categorie_link.'#'.ltrim($parameters, '/');

to

    $type_filter['values'][$key]['link'] = $categorie_link.'?selected_filters='.ltrim($parameters, '/');

in line 3185:

            'current_friendly_url' => ((int)$n == (int)$nb_products) ? '#/show-all': '#'.$filter_block['current_friendly_url'],

to

           'current_friendly_url' => ((int)$n == (int)$nb_products) ? '/show-all': '?selected_filters='.$filter_block['current_friendly_url'],

Infinite scroll in works fine for me now.

Share this post


Link to post
Share on other sites

Hi All,

first, I want to give a huge THANK YOU to Mr. ibndawood. His module did not work for me (skolato.cz, PS 1.6.1.4, block layered OFF) first but since I have changed the values in module settings to the ones bellow, it works like a charm.

Content Selector> #center_column

Navigation Selector> .bottom-pagination-content, .top-pagination-content

Next Selector> .pagination_next > a

Item Selector> .product_list

 

 

Share this post


Link to post
Share on other sites
On 11/18/2018 at 9:58 PM, sanoryn said:

Hi All,

first, I want to give a huge THANK YOU to Mr. ibndawood. His module did not work for me (skolato.cz, PS 1.6.1.4, block layered OFF) first but since I have changed the values in module settings to the ones bellow, it works like a charm.

Content Selector> #center_column

Navigation Selector> .bottom-pagination-content, .top-pagination-content

Next Selector> .pagination_next > a

Item Selector> .product_list

 

 

dude, thank you so much :D

Share this post


Link to post
Share on other sites

 

Sir, I got an error that the module is not compliant with your ps version. I am version 1.7.2

Thanks

Screenshot from 2019-05-13 15-53-45.png

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More