-
Notifications
You must be signed in to change notification settings - Fork 9.4k
magento/magento2#25933 : Single Store Mode- Incorrect scope values us… #30394
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
base: 2.4-develop
Are you sure you want to change the base?
magento/magento2#25933 : Single Store Mode- Incorrect scope values us… #30394
Conversation
…orefront for Catalog Section
Hi @sanjay-magecomp. Thank you for your contribution
❗ Automated tests can be triggered manually with an appropriate comment:
You can find more information about the builds here ℹ️ Please run only needed test builds instead of all when developing. Please run all test builds before sending your PR for review. For more details, please, review the Magento Contributor Guide documentation. 🕙 You can find the schedule on the Magento Community Calendar page. 📞 The triage of Pull Requests happens in the queue order. If you want to speed up the delivery of your contribution, please join the Community Contributions Triage session to discuss the appropriate ticket. 🎥 You can find the recording of the previous Community Contributions Triage on the Magento Youtube Channel ✏️ Feel free to post questions/proposals/feedback related to the Community Contributions Triage process to the corresponding Slack Channel |
#dmcdindia2020 |
@magento give me test instance - deploy test instance based on PR changes |
Hi @sanjay-magecomp. Thank you for your request. I'm working on Magento instance for you. |
Hi @sanjay-magecomp, here is your Magento Instance: https://b4c46820c354d4c8d7afc01683ed1c38.instances.magento-community.engineering |
#dmcdindia2020 |
@magento give me test instance |
Hi @pramod-mishra. Thank you for your request. I'm working on Magento instance for you. |
Hi @pramod-mishra, here is your Magento Instance: https://b4c46820c354d4c8d7afc01683ed1c38.instances.magento-community.engineering |
#dmcdindia2020 |
@yogeshkhasturi thank you for joining. Please accept team invitation here and self-assign the issue. |
@magento run all tests |
$scope=ScopeInterface::SCOPE_STORE; | ||
if($this->scopeConfig->getValue('general/single_store_mode/enabled', ScopeConfigInterface::SCOPE_TYPE_DEFAULT)) { | ||
$scope = ScopeConfigInterface::SCOPE_TYPE_DEFAULT; | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
$scope=ScopeInterface::SCOPE_STORE; | |
if($this->scopeConfig->getValue('general/single_store_mode/enabled', ScopeConfigInterface::SCOPE_TYPE_DEFAULT)) { | |
$scope = ScopeConfigInterface::SCOPE_TYPE_DEFAULT; | |
} | |
$scope = $this->scopeConfig->getValue(\Magento\Store\Model\StoreManager::XML_PATH_SINGLE_STORE_MODE_ENABLED) | |
? ScopeConfigInterface::SCOPE_TYPE_DEFAULT | |
: ScopeInterface::SCOPE_STORE; |
@magento run all tests |
The requested builds are added to the queue. You should be able to see them here within a few minutes. Please message the #magento-devops slack channel if they don't show in a reasonable amount of time and a representative will look into any issues. |
we have resolve this issue : #25933
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 (*)
. Products per Page on Grid Allowed Values
. Products per Page on Grid Default Value
Click on Save Config
.Products per Page on Grid Default Value 20
19.Save Config and Clear all the cache
20.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.
Description
showing correct pagination based on system configurations.
Fixed Issues
Contribution checklist (*)