| Kombinacja | SKU | Stan magazynowy | Cena netto | Zam. przy braku | Opcje |
|---|---|---|---|---|---|
| $attributes = explode( '|', $product['permutation_hash'] ); foreach ( $attributes as $attribute ): $attribute_tmp = explode( '-', $attribute ); $attrRepo = new \Domain\Attribute\AttributeRepository( $GLOBALS['mdb'] ); echo $attrRepo->getAttributeNameById( (int)$attribute_tmp[0], $this -> default_language ) . ' - ' . $attrRepo->getAttributeValueById( (int)$attribute_tmp[1], $this -> default_language ) . ''; if ( $attribute != end( $attributes ) ) echo ', '; endforeach; ?> | > |