PrestaShop
PrestaShop copied to clipboard
BO - Feature flag is enabled - Add new product from the quick access is NOK
Prerequisites
- [X] I understand and accept the project's code of conduct
- [X] I have already searched in existing issues and found no previous report of this bug.
Describe the bug and add screenshots
Previously reported here: https://github.com/PrestaShop/PrestaShop/pull/28594#pullrequestreview-993977071
The Add new product from the quick access is NOK when feature flag is enabled
Expected behavior
Opens the modal of the product type when the user clicks on 'Add new product'. When the type is selected, the user is redirected to the product page with product type selected.
Steps to reproduce
Second issue
Case1
- Go to BO > Advanced Parameters > New & Experimental Features page
- Enable
New product page - Single storeand save - In the Quick access > click on New product
- See exception

I attached a screen record
https://user-images.githubusercontent.com/16067358/171688808-581155bd-6fe2-4584-a76c-5474ca1094fe.mp4
Case2
- Enable the multistore feature
- Go to BO > Advanced Parameters > New & Experimental Features page
- Enable
New product page - Multi storeand save - In the Quick access > click on New product
- See exception
PrestaShop version(s) where the bug happened
develop
PHP version(s) where the bug happened
7.2, 8.1
If your bug is related to a module, specify its name and its version
No response