Magento Custom Options on category

<?php Mage::app(‘base’); $product = Mage::getModel(‘catalog/product’)->load($_product->getId()); $options = $product->getOptions(); //calendarstock/calendarstock echo ‘Other parking options’; foreach ($options as $option) { foreach($option->getValues() as $value) { echo ‘<span>’.$value->getTitle().’ </span>’; $fvalue = $value->getPrice(true); echo ‘<span class=”custom-price”>’.number_format($fvalue, 2).'</span> | ‘; } } ?>

Magento Remove Downloadable Products

To remove download products from customer accounts in your layout folder in downloadable.xml comment out the following <!–<customer_account> <reference name=”customer_account_navigation”> <action method=”addLink” translate=”label” module=”downloadable”><name>downloadable_products</name><path>downloadable/customer/products</path><label>My Downloadable Products</label></action> </reference> </customer_account>–>  

Magento Remove My Applications

Comment out the following in oauth.xml in your layout folder <!– My Applications–> <customer_account> <reference name=”customer_account_navigation”> <action method=”addLink” translate=”label” module=”oauth”> <name>OAuth Customer Tokens</name> <path>oauth/customer_token</path> <label>My Applications</label> </action> </reference> </customer_account>

Removing Billing Agreements and Recurring Profiles

To remove Billing Agreements and Recurring Profiles in magento customer account section go to /app/design/frontend/default/yourtheme/layout/sales/ edit billing_agreement.xml and recurring_profile.xml comment out the section enclosed by <customer_account>  and </customer_account>   Refresh the cache check the customer account section both should have been removed

Magento Continue Shopping Button

The following will ensure that when the continue shopping button is pushed whatever page you have currently been on it will just take you back one page <button type=”button” title=”<?php echo $this->__(‘Continue Shopping’) ?>” class=”button btn-continue” onclick=”history.go(-1); return false;”><span><span><?php echo $this->__(‘Continue Shopping’) ?></span></span></button>

Notice: ob_end_flush(): failed to send buffer of zlib output compression (0) in /home/wwwwebam/public_html/blog/wp-includes/functions.php on line 4339