/** * Provide data to product from new attribute * * @param ProductAttribute $attribute * @return void */ public function provideNewAttributeData(ProductAttribute $attribute) { $options = $attribute->getOptionLabels(); $placeholders['new_attribute_label'] = $attribute->getAttributeLabel(); $placeholders['new_attribute_option_1_label'] = $options[0]; $placeholders['new_attribute_option_2_label'] = $options[1]; $this->_applyPlaceholders($this->_data, $placeholders); }