{if $obj->mLinkToContinueShopping} Continue Shopping {/if} 4. Add the highlighted code to the init() method of the Product class from presentation/product.php: if ($this->mProduct['image_2']) $this->mProduct['image_2'] = Link::Build('product_images/' . $this->mProduct['image_2']); $this->mProduct['attributes'] = Catalog::GetProductAttributes($this->mProduct['product_id']); $this->mLocations = Catalog::GetProductLocations($this->_mProductId); CHAPTER 6 ?– PRODUCT ATTRIBUTES 184 5. Add the following style to styles/tshirtshop.css: .attributes { clear: both; display: block; padding-top: 5px; } 6. Load http://localhost/tshirtshop/, and admire your new product attributes in action. Figure 6-3 displays the product attributes in the product details page. Figure 6-1 shows product attributes in a product listing.