Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /* Old Code: */
- $att_bullet1 = $this->htmlEscape( $_product->getData('att_bullet1') );
- $att_bullet2 = $this->htmlEscape( $_product->getData('att_bullet2') );
- $att_bullet3 = $this->htmlEscape( $_product->getData('att_bullet3') );
- $att_bullet4 = $this->htmlEscape( $_product->getData('att_bullet4') );
- $att_bullet5 = $this->htmlEscape( $_product->getData('att_bullet5') );
- /* Replace with this: */
- $att_bullet1 = $this->htmlEscape( Mage::getResourceModel('catalog/product')->getAttributeRawValue($_product, 'att_bullet1', $storeId); );
- $att_bullet2 = $this->htmlEscape( Mage::getResourceModel('catalog/product')->getAttributeRawValue($_product, 'att_bullet4', $storeId); );
- $att_bullet3 = $this->htmlEscape( Mage::getResourceModel('catalog/product')->getAttributeRawValue($_product, 'att_bullet3', $storeId); );
- $att_bullet4 = $this->htmlEscape( Mage::getResourceModel('catalog/product')->getAttributeRawValue($_product, 'att_bullet4', $storeId); );
- $att_bullet5 = $this->htmlEscape( Mage::getResourceModel('catalog/product')->getAttributeRawValue($_product, 'att_bullet5', $storeId); );
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement