magento2 icon indicating copy to clipboard operation
magento2 copied to clipboard

Single Store Mode- Incorrect scope values using at Storefront for Catalog Section

Open sandip5678 opened this issue 6 years ago • 39 comments

Preconditions (*)

  1. Magento 2.3.3 CE & 2.4-develop with sample data
  2. Magento Instance should have one Website, Store and Store View only.

Steps to reproduce (*)

  1. Under Default Config, Navigate to Stores > Settings > Configuration > Catalog > Catalog
  2. 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)
  3. Change the values of field Products per Page on Grid Default Value from 9 to 10 (Uncheck Use System value checkbox if ticked- optional)
  4. Click on Save Config
  5. Clear the cache if prompted to refresh the cache
  6. Switch the scope from Default Config to Default Store View Scope from the drop-down showing on upper-left corner
  7. Navigate to Stores > Settings > Configuration > Catalog > Catalog
  8. 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
  1. Change the values of field Products per Page on Grid Allowed Values to 30,60,90
  2. Change the values of field Products per Page on Grid Default Value to 30
  3. Click on Save Config
  4. Switch the scope to Default Config from Default Store View Scope
  5. From Default Config Scope, Set Enable Single-Store Mode to Yes
  6. Click Save Config
  7. Clear all the cache
  8. Now, Navigate to Stores > Settings > Configuration > Catalog > Catalog
  9. 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
  1. Save Config and Clear all the cache
  2. Open any category page to see the Show per page values.

Expected result (*)

  1. On category page, it should show 20,40,60 in the Show per page drop-down.

Actual result (*)

  1. On category page, it shows values as 30,60,90 in the Show per page drop-down.

Additional Info

  1. The issue may be reproduced for all other fields which are available on showInStore=1

sandip5678 avatar Dec 06 '19 10:12 sandip5678

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

m2-assistant[bot] avatar Dec 06 '19 10:12 m2-assistant[bot]

@magento give me 2.4-develop instance

sandip5678 avatar Dec 06 '19 10:12 sandip5678

Hi @sandip5678. Thank you for your request. I'm working on Magento 2.4-develop instance for you

magento-engcom-team avatar Dec 06 '19 10:12 magento-engcom-team

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.

magento-engcom-team avatar Dec 06 '19 10:12 magento-engcom-team

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).

    DetailsIf the issue has a valid description, the label Issue: Format is valid will be added to the issue automatically. Please, edit issue description if needed, until label Issue: Format is valid appears.

  • [ ] 2. Verify that issue has a meaningful description and provides enough information to reproduce the issue. If the report is valid, add Issue: Clear Description label to the issue by yourself.

  • [ ] 3. Add Component: XXXXX label(s) to the ticket, indicating the components it may be related to.

  • [ ] 4. Verify that the issue is reproducible on 2.4-develop branch

    Details- Add the comment @magento give me 2.4-develop instance to deploy test instance on Magento infrastructure.
    - If the issue is reproducible on 2.4-develop branch, please, add the label Reproduced 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: Confirmed once verification is complete.

  • [ ] 6. Make sure that automatic system confirms that report has been added to the backlog.

m2-assistant[bot] avatar Dec 06 '19 10:12 m2-assistant[bot]

Can you please do needful to run indexing for this instance. I have uploaded few products to show different products at front end.

sandip5678 avatar Dec 06 '19 10:12 sandip5678

: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 avatar Dec 09 '19 10:12 magento-engcom-team

@magento-engcom-team I am working on this issue. Please assign this to me

muthu-ziffity avatar Dec 16 '19 13:12 muthu-ziffity

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: XXXXX label(s) to the ticket, indicating the components it may be related to.

  • [ ] 2. Verify that the issue is reproducible on 2.4-develop branch

    Details- Add the comment @magento give me 2.4-develop instance to deploy test instance on Magento infrastructure.
    - If the issue is reproducible on 2.4-develop branch, please, add the label Reproduced 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.


m2-assistant[bot] avatar Dec 16 '19 13:12 m2-assistant[bot]

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)?

rogyar avatar Jan 24 '20 06:01 rogyar

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

sandip5678 avatar Jan 24 '20 06:01 sandip5678

@magento give me 2.4-develop instance

siju-corra avatar Jul 13 '20 04:07 siju-corra

Hi @siju-corra. Thank you for your request. I'm working on Magento 2.4-develop instance for you

magento-engcom-team avatar Jul 13 '20 04:07 magento-engcom-team

@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

muthu-ziffity avatar Jul 14 '20 07:07 muthu-ziffity

@magento I am working on this

legoWeb avatar Oct 02 '20 12:10 legoWeb

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.

m2-assistant[bot] avatar Oct 02 '20 12:10 m2-assistant[bot]

@magento add to contributors team

legoWeb avatar Oct 02 '20 12:10 legoWeb

Hi @legoWeb! :wave: Thank you for joining. Please accept team invitation :point_right: here :point_left: and add your comment one more time.

m2-assistant[bot] avatar Oct 02 '20 12:10 m2-assistant[bot]

@magento I am working on this

sanjay-magecomp avatar Oct 10 '20 04:10 sanjay-magecomp

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.

m2-assistant[bot] avatar Oct 10 '20 04:10 m2-assistant[bot]

@magento add to contributors team

sanjay-magecomp avatar Oct 10 '20 04:10 sanjay-magecomp

Hi @sanjay-magecomp! :wave: Thank you for joining. Please accept team invitation :point_right: here :point_left: and add your comment one more time.

m2-assistant[bot] avatar Oct 10 '20 04:10 m2-assistant[bot]

@magento #dmcdindia2020

sanjay-magecomp avatar Oct 10 '20 04:10 sanjay-magecomp

@sanjay-magecomp thank you for joining. Please accept team invitation here and self-assign the issue.

magento-engcom-team avatar Oct 10 '20 04:10 magento-engcom-team

@magento I am working on this

sanjay-magecomp avatar Oct 10 '20 04:10 sanjay-magecomp

@magento add to contributors team

jozwiakmichal avatar May 27 '21 11:05 jozwiakmichal

Hi @jozwiakmichal! :wave: Thank you for joining. Please accept team invitation :point_right: here :point_left: and add your comment one more time.

m2-assistant[bot] avatar May 27 '21 11:05 m2-assistant[bot]

@magento I am working on this

gaganmagento avatar Apr 01 '22 10:04 gaganmagento

@magento give me 2.4-develop instance

gaganmagento avatar Apr 01 '22 10:04 gaganmagento

Hi @gaganmagento. Thank you for your request. I'm working on Magento instance for you.