Created
September 2, 2016 09:40
-
-
Save St0iK/e9eb93b1fd5e3a716ec46c68b7606cf7 to your computer and use it in GitHub Desktop.
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
| /** | |
| * Retrieve the ID of the specification attribute group. | |
| * | |
| * @param ProductModel $product | |
| * @return int | |
| */ | |
| protected function _getSpecificationAttributeGroupId(ProductModel $product) | |
| { | |
| $attributeSetId = $product->getAttributeSetId(); | |
| $groupId = $this->catalogConfig->getAttributeGroupId( | |
| $attributeSetId, | |
| self::ATTRIBUTE_GROUP_NAME_SPECIFICATION | |
| ); | |
| return $groupId; | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment