magento2
magento2 copied to clipboard
Single Store Mode- Incorrect scope values using at Storefront for Catalog Section
Preconditions (*)
- Magento 2.3.3 CE & 2.4-develop with sample data
- Magento Instance should have one Website, Store and Store View only.
Steps to reproduce (*)
- Under Default Config, Navigate to Stores > Settings > Configuration > Catalog > Catalog
- Change the values of field Products per Page on Grid Allowed Values from 9,15,30 to 5,10,20,40,80 (Uncheck Use System value checkbox if ticked - optional)
- Change the values of field Products per Page on Grid Default Value from 9 to 10 (Uncheck Use System value checkbox if ticked- optional)
- Click on Save Config
- Clear the cache if prompted to refresh the cache
- Switch the scope from Default Config to Default Store View Scope from the drop-down showing on upper-left corner
- Navigate to Stores > Settings > Configuration > Catalog > Catalog
- From Default Store View Scope, Uncheck Use Website checkbox for following fields
- Products per Page on Grid Allowed Values
- Products per Page on Grid Default Value
- Change the values of field Products per Page on Grid Allowed Values to 30,60,90
- Change the values of field Products per Page on Grid Default Value to 30
- Click on Save Config
- Switch the scope to Default Config from Default Store View Scope
- From Default Config Scope, Set Enable Single-Store Mode to Yes
- Click Save Config
- Clear all the cache
- Now, Navigate to Stores > Settings > Configuration > Catalog > Catalog
- Tries to update the values for following fields.
- Products per Page on Grid Allowed Values 20,40,60
- Products per Page on Grid Default Value 20
- Save Config and Clear all the cache
- Open any category page to see the Show per page values.
Expected result (*)
- On category page, it should show 20,40,60 in the Show per page drop-down.
Actual result (*)
- On category page, it shows values as 30,60,90 in the Show per page drop-down.
Additional Info
- The issue may be reproduced for all other fields which are available on
showInStore=1
Hi @sandip5678. Thank you for your report. To help us process this issue please make sure that you provided the following information:
- [ ] Summary of the issue
- [ ] Information on your environment
- [ ] Steps to reproduce
- [ ] Expected and actual results
Please make sure that the issue is reproducible on the vanilla Magento instance following Steps to reproduce. To deploy vanilla Magento instance on our environment, please, add a comment to the issue:
@magento give me 2.4-develop instance - upcoming 2.4.x release
For more details, please, review the Magento Contributor Assistant documentation.
@sandip5678 do you confirm that you were able to reproduce the issue on vanilla Magento instance following steps to reproduce?
- [ ] yes
- [ ] no
- Join Magento Community Engineering Slack and ask your questions in #github channel.
@magento give me 2.4-develop instance
Hi @sandip5678. Thank you for your request. I'm working on Magento 2.4-develop instance for you
Hi @sandip5678, here is your Magento instance.
Admin access: https://i-25933-2-4-develop.instances.magento-community.engineering/admin
Login: admin Password: 123123q
Instance will be terminated in up to 3 hours.
Hi @engcom-Charlie. Thank you for working on this issue. In order to make sure that issue has enough information and ready for development, please read and check the following instruction: :point_down:
-
[ ] 1. Verify that issue has all the required information. (Preconditions, Steps to reproduce, Expected result, Actual result).
Details
If the issue has a valid description, the labelIssue: Format is validwill be added to the issue automatically. Please, edit issue description if needed, until labelIssue: Format is validappears. -
[ ] 2. Verify that issue has a meaningful description and provides enough information to reproduce the issue. If the report is valid, add
Issue: Clear Descriptionlabel to the issue by yourself. -
[ ] 3. Add
Component: XXXXXlabel(s) to the ticket, indicating the components it may be related to. -
[ ] 4. Verify that the issue is reproducible on
2.4-developbranchDetails
- Add the comment@magento give me 2.4-develop instanceto deploy test instance on Magento infrastructure.
- If the issue is reproducible on2.4-developbranch, please, add the labelReproduced on 2.4.x.
- If the issue is not reproducible, add your comment that issue is not reproducible and close the issue and stop verification process here! -
[ ] 5. Add label
Issue: Confirmedonce verification is complete. -
[ ] 6. Make sure that automatic system confirms that report has been added to the backlog.
Can you please do needful to run indexing for this instance. I have uploaded few products to show different products at front end.
:white_check_mark: Confirmed by @engcom-Charlie
Thank you for verifying the issue. Based on the provided information internal tickets MC-29539 were created
Issue Available: @engcom-Charlie, You will be automatically unassigned. Contributors/Maintainers can claim this issue to continue. To reclaim and continue work, reassign the ticket to yourself.
@magento-engcom-team I am working on this issue. Please assign this to me
Hi @muthu-ziffity. Thank you for working on this issue. Looks like this issue is already verified and confirmed. But if you want to validate it one more time, please, go though the following instruction:
-
[ ] 1. Add/Edit
Component: XXXXXlabel(s) to the ticket, indicating the components it may be related to. -
[ ] 2. Verify that the issue is reproducible on
2.4-developbranchDetails
- Add the comment@magento give me 2.4-develop instanceto deploy test instance on Magento infrastructure.
- If the issue is reproducible on2.4-developbranch, please, add the labelReproduced on 2.4.x.
- If the issue is not reproducible, add your comment that issue is not reproducible and close the issue and stop verification process here! -
[ ] 3. If the issue is not relevant or is not reproducible any more, feel free to close it.
- Join Magento Community Engineering Slack and ask your questions in #github channel.
Hi @sandip5678. Could you provide more information on how you are able to perform the following action:
Switch the scope from Default Config to Default Store View Scope from the drop-down showing on the upper-left corner
In the Single Store mode the scope switcher is disabled in the admin panel (basically, that's the main idea of the Single Store Mode)?
Hi @rogyar The step which (Step 6) you have mentioned is about to set the value when Single Store View mode is off.
See the below step where I'm enabling the Single Store mode. 13. From Default Config Scope, Set Enable Single-Store Mode to Yes
@magento give me 2.4-develop instance
Hi @siju-corra. Thank you for your request. I'm working on Magento 2.4-develop instance for you
@lbajsarowicz Thanks for reviewing my PR( https://github.com/magento/magento2/pull/29091 ). I will update those mentioned changes and let you know to check again
@magento I am working on this
Hi @legoWeb! :wave:
Thank you for collaboration. Only members of Community Contributors Team are allowed to be assigned to the issue. Please use @magento add to contributors team command to join Contributors team.
@magento add to contributors team
Hi @legoWeb! :wave: Thank you for joining. Please accept team invitation :point_right: here :point_left: and add your comment one more time.
@magento I am working on this
Hi @sanjay-magecomp! :wave:
Thank you for collaboration. Only members of Community Contributors Team are allowed to be assigned to the issue. Please use @magento add to contributors team command to join Contributors team.
@magento add to contributors team
Hi @sanjay-magecomp! :wave: Thank you for joining. Please accept team invitation :point_right: here :point_left: and add your comment one more time.
@magento #dmcdindia2020
@sanjay-magecomp thank you for joining. Please accept team invitation here and self-assign the issue.
@magento I am working on this
@magento add to contributors team
Hi @jozwiakmichal! :wave: Thank you for joining. Please accept team invitation :point_right: here :point_left: and add your comment one more time.
@magento I am working on this
@magento give me 2.4-develop instance
Hi @gaganmagento. Thank you for your request. I'm working on Magento instance for you.