Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Multistore] Combination product - Availability preferences is not saved correctly on all shops #29506

Open
2 tasks done
Tracked by #19846
sLorenzini opened this issue Sep 1, 2022 · 1 comment
Open
2 tasks done
Tracked by #19846
Labels
1.7.7.8 Affects versions BO Category: Back Office Bug Type: Bug Combinations Product type: issue about products with combinations Minor Severity: minor bug > https://build.prestashop.com/news/severity-classification Multistore Label: Which BO under menu is concerned Needs Specs Status: issue needs to be specified Old Products Page Concerns the old product page Verified The issue has been reproduced

Comments

@sLorenzini
Copy link
Contributor

sLorenzini commented Sep 1, 2022

Prerequisites

Describe the bug and add screenshots

When you're on multistore, with "all shop" tab, if you want to modify the availability preferences with a combination product, it doesn't change anything on the other stores than the main one.
The default behavior is always selected and in FO we don't have the change on all shops. See my screenrecord:

multistore-combinations-availability-preferences.mp4

Looks like this issue with specific delivery time.
Tested on 1.7.8.x & 8.0.x branches. Same error. No regression

Expected behavior

The availability preference with a combination product should be changed with all my shop at the same time

Steps to reproduce

  1. Go to BO > Shop Parameters > General
  2. Scroll down to enable Multistore
  3. Go to Advanced Parameters > Multistore
  4. Click on Add new shop
  5. Set up your new shop
  6. Set up its url
  7. Go to Catalog > Product
  8. Select a product with combinations on it
  9. Go to Combinations tab
  10. Scroll Down, Click on "Allow orders" radio for example
  11. Set up the text of "Label when in stock" and "Label when out of stock (and back order allowed)"
  12. Save the product
  13. Change your store and go to the main one > No error, the choice is good
  14. Change and choose the store you created > See the error, Default availability preferences is still selected
  15. Go to FO of the two stores > Choose the product you have edited > on the main store you have the good selection, on the other nothing change

PrestaShop version(s) where the bug happened

1.7.8.x / 8.0.x / 1.7.7.8

PHP version(s) where the bug happened

7.3

If your bug is related to a module, specify its name and its version

No response

@sLorenzini sLorenzini added Bug Type: Bug 8.0.x Branch Major Severity: major bug > https://build.prestashop.com/news/severity-classification BO Category: Back Office Old Products Page Concerns the old product page Multistore Label: Which BO under menu is concerned Combinations Product type: issue about products with combinations New New issue not yet processed by QA labels Sep 1, 2022
@sLorenzini sLorenzini added this to Not ready in PrestaShop 8.0.0 via automation Sep 1, 2022
@HanaRebaiQA
Copy link

HanaRebaiQA commented Sep 1, 2022

Hello @sLorenzini

Thanks for your report.
I was able to reproduce your issue with 8.0.0 beta with Product V1 and Product V2.

8.0.0 beta with Product V1 : NOK

Product.V1.mp4

8.0.0 beta with Product V2 : NOK

Product.V2.mp4

Also, i checked with PS1778, it's NOK. So, it's not a regression

1778._.NOK.mp4

PS1778 : NOK

1778._.NOK.mp4

Thank You!

@HanaRebaiQA HanaRebaiQA added 1.7.7.8 Affects versions Minor Severity: minor bug > https://build.prestashop.com/news/severity-classification Needs Specs Status: issue needs to be specified Verified The issue has been reproduced and removed 8.0.x Branch Major Severity: major bug > https://build.prestashop.com/news/severity-classification New New issue not yet processed by QA labels Sep 1, 2022
@HanaRebaiQA HanaRebaiQA removed this from Not ready in PrestaShop 8.0.0 Sep 1, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
1.7.7.8 Affects versions BO Category: Back Office Bug Type: Bug Combinations Product type: issue about products with combinations Minor Severity: minor bug > https://build.prestashop.com/news/severity-classification Multistore Label: Which BO under menu is concerned Needs Specs Status: issue needs to be specified Old Products Page Concerns the old product page Verified The issue has been reproduced
Projects
None yet
Development

No branches or pull requests

2 participants