0

I have this:

$data = $this->_config->getValue(self::MY_CONFIG_PATH, ScopeInterface::SCOPE_STORE);

$data will contain the my data whether it's a string or [] for the simplicity lets say it returns a string=Lorem Ipsum . But here is the But, if I have 3 stores/store views etc... How do I know for which store_id this data was returned from?

store=0 //default 
store=1 //en-gb 
OR 
store=2 //en-us

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.