Created
December 11, 2018 09:11
-
-
Save artmouse/d0a19c3d78ec593bb98ddac7280ef267 to your computer and use it in GitHub Desktop.
Convert core config data value select magento to array php
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| public function getCountriesRequired(){ | |
| $countiesReqConfig = Mage::getStoreConfig('devopentaxvatnumber/general/required_country'); | |
| $countriesRequired = explode(",", $countiesReqConfig); | |
| return $countriesRequired; | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment