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
| $attribute_code = ''; | |
| $value = ''; | |
| $attribute = Mage::getSingleton('eav/config')->getAttribute(Mage_Catalog_Model_Product::ENTITY, $attribute_code); | |
| if (in_array($attribute->getFrontendInput(), array('select')) && strlen($value) > 0) { | |
| $values = Mage::getResourceModel('eav/entity_attribute_option_collection')->setAttributeFilter( | |
| $attribute->getId()) | |
| ->setStoreFilter() | |
| ->addFieldToFilter('tdv.value', array('in' => $value)) | |
| ->load(); |
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
| $parent->getProduct()->setIsSuperMode(true); |
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
| jq '(.blocks[] | select(.t == "Table") .c[2]) |= [0,0,0]' |
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
| # System Integrity Protection 解除 | |
| 事前にリカバリモードでSystem Integrity Protectionを解除 | |
| ``` | |
| csrutil disable | |
| ``` | |
| 作業がおわったら | |
| ``` | |
| csrutil enable | |
| ``` |
OlderNewer