In your custom layout file include the below script.
Preferred Location preferredlocation/edit
Preferred Location preferredlocation/edit
You can set your template to 1column like this:page/2columns-right.phtml
or use "<remove name="right"/>"page/1column.phtml
After making changes dont forget to refresh the cache. That's it. You are done.page/2columns-right.phtml
If you want to remove callout from left sidebar just comment those lines. Suppose you want to show that callout in your right sidebar just change reference name="left" to reference name="right". Likewise you can do it for right sidebar callout.images/media/col_left_callout.jpg Our customer service is available 24/7. Call us at (555) 555-0123. checkout/cart
<div class="box base-mini mini-cart">Step 2: Add these lines before the opening div tag
<?php $_cartQty1 = $this->getSummaryCount() ?> <?php if ($_cartQty1 >0): ?>Step 3: Add this line to the bottom of the file
<?php endif ?>Thats it. You are done.
<?php /* * Manufacturers Listing on sidebar * @category design * @package base_default */ ?> <div> <div> <h4><span>Our Brands</span></h4> </div> <div> <?php $product = Mage::getModel('catalog/product'); $attributes = Mage::getResourceModel('eav/entity_attribute_collection') ->setEntityTypeFilter($product->getResource()->getTypeId()) ->addFieldToFilter('attribute_code', 'manufacturer'); $attribute = $attributes->getFirstItem()->setEntity($product->getResource()); $manufacturers = $attribute->getSource()->getAllOptions(false); ?> <ul id="manufacturer_list"> <?php foreach ($manufacturers as $manufacturer): ?> <li><a href="<?php echo Mage::getBaseUrl(); ?>catalogsearch/advanced/result/?manufacturer[]=<?php echo $manufacturer['value'] ?>"><?php echo $manufacturer['label'] ?></a></li> <?php endforeach; ?> </ul> </div> <div></div> </div>Add the below code in your "/app/design/frontend/default/YOURTHEME/layout/catalog.xml" file.
Thats it you are done.
$_product = Mage::getModel('catalog/product')->load($this->getProduct()->getId()); $config = new Mage_Catalog_Helper_Product_Configuration(); if ($_options = $config->getConfigurableOptions($_item)):Thats it. You are done.