Prestashop: Impossible to change position of products

Created on 23 May 2019  路  13Comments  路  Source: PrestaShop/PrestaShop

Describe the bug

Describe the bug
If you dont enable show products from subcategory products in main category is not show. IF you enable the show products from subcategory is not possible to rearrange products in main category. It take the first products from each subcategory and the secound from each subcategory and so on

Ska虉rmavbild 2019-05-23 kl  19 36 56
Ska虉rmavbild 2019-05-23 kl  19 36 38
Ska虉rmavbild 2019-05-23 kl  19 34 11
Ska虉rmavbild 2019-05-23 kl  19 33 09

Additionnal information
Prestashop version 1.7.4.2
PHP version: 7.2
Faceted version 3.X

To Reproduce
Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Screenshots
If applicable, add screenshots or screenrecords to help explain your problem.

Additionnal information
PrestaShop version: N/A
PHP version: N/A

1.7.5.2 1.7.6.0 BO Bug Can't Reproduce Faceted search Minor Products

All 13 comments

Hi @tjorgensborg,

  1. If Show products from subcategories is disabled
    => in the FO => products are only shown in the main category
    https://drive.google.com/file/d/1QulARfVXfdgLyQV4fbebTa-9lvTcEOiC/view

  2. If Show products from subcategories is enabled

Reorder product doesn't work.
Yes, I manage to reproduce the issue with PS1.7.6.0beta1 & ps_facetedsearch v3.0.2
Same issue with PS1.7.5.2 & ps_factredseach v3.0.1.
https://drive.google.com/file/d/1ehFUUmCgDPmDODKSi76NDeBa6VmL-ma0/view
I鈥檒l add this to the debug roadmap so that it鈥檚 fixed. If you have already fixed it on your end or if you think you can do it, please do send us a pull request!

@marionf, @PierreRambaud this issue https://github.com/PrestaShop/PrestaShop/issues/11152 is not fixed.
Thanks!

@khouloudbelguith

I can't reproduce the issue, product are correctly reordered even if faceted search & Show products from subcategories are enabled

https://drive.google.com/open?id=1TWribqWgCQPixUdt7aEFWJQoGttaZth-

I don't understand what facetedsearch do here? :thinking:

@marionf what is the exact browser did you use? PHP v?
I tried with PS1.7.6.0beta1 & the same issue.
https://drive.google.com/file/d/1X3-o4pUquS5Mod6WCfjYfOrOkkW9bWEK/view
Thanks!

same issue here... follow

@khouloudbelguith on google chrome, latest version, php php 7.2 & 7.3, could not reproduce, with or without facetedsearch.

I have the latest version of chrome, prestashop 1.7.5.0 - php 7.2 - facetedsearch 3.0.2
the issues has come after upgrade facetedsearch.

Hello,
So there is no confusion about the bug.

  1. If you disable the Show products from subcategories you will have "there is no products" even if the are products in the category. This apply on main category and main categories with sub categories. This is even on categories where faceted search is not applied.
    Ska虉rmavbild 2019-05-26 kl  10 24 08
    Ska虉rmavbild 2019-05-26 kl  10 21 02
  1. If you enabled the Show products from subcategories you can see products in categories. You can reorder products in a main category without any problem if you dont have any subcategories. So this works.

  2. If you enabled the Show products from subcategories you can see products in categories. If you have a main and subcategories you see the products and its showing all the products, main+sub. If you try to rearrange the products it take position 1 products from main or subcat then postion 1 from main or sub and then pos 1 from main or sub. Then pos2 from main or sub, post 2 main or sub etc etc.
    There is maybe no other way to do this if you want to show all products from subcategories?.

The biggest problem is #1

I have tried faceted search 3.01 and 3.02 and same result. I am using PS 1.7.4.2 and 1.7.5.1 and same result. We are using php 7.2

I tried Show products from subcategories on version 2.2.1 of faceted search and it seems to work there in the right way. If its disabled I can still see products.

@tjorgensborg If you disable Show products from subcategories you must be on the subcategory to see your products:
image

Or set the main category:
image

image

This is how the button works :thinking:

Hi @tjorgensborg,

After a discussion with our developer, the sort of the products has no effect with the ps_factedsearch module.
In fact, if we uninstall the ps_factedsearch module, we are always able to change the order of positions of the products successfully.

So, we can confirm, that there is no relation between re-order products & the ps_factedseach module.

Thanks for your understanding!

Hi, @khouloudbelguith and @PierreRambaud

I think I understand but as It tried to explain in the post above. When I disable the "*show products from subcategories"* No products are shown,

When I tried now on a new installation with english and default theme it seems to work as it should.

T

Hi @tjorgensborg,

Thanks for your feedback.
Despite our several trials, we could not reproduce your issue with the provided information.
It seems that your issue is not a PrestaShop's core bug but most likely a server configuration or customization problem.
I close the issue, feel free to open a new one when needed.

Thanks!

Was this page helpful?
0 / 5 - 0 ratings