Related products on product page in Magento

Move related products from default sidebar location into main product page in Magento. 1. Open catalog.xml, found in app/design/frontend/default/YOURTEMPLATEFOLDER/layout/ 2. In catalog.xml find the catalog_product_view section, around line 205. In the section, add the following where applicable: <block type="catalog/product_list_related" name="catalog.product.related" as="related" template="catalog/product/list/related.phtml"/> 3. Now in your catalog/product/view.phtml you can print out the related products using <?php echo $this->getChildHtml('related'); ?> To edit the look of that list, edit catalog/product/list/related.phtml

Magento: Moving Cart From Sidebar to Header

I haven’t long started doing eCommerce sites freelance, having taken a break since my last job, so have struggled to remember some simple things about Magentos CMS, for example where things are located – or how to move the cart from the sidebar to the header. I found this amazing tutorial, which in a few simple steps, guides you in the direction needed. Why not take a look @ SJL Web Design and let me know what you think.

SQL Backup Commands – Magento

These are the most simple ways to backup your database, and to used your backed up database using command line (I tend to use Putty) Simple database backup mysqldump -u {yoursiteusername} –p{password} {yoursitedatabasename} > dbdump.sql Simple database update mysql -u {yoursiteusername} -p{password} {yoursitedatabasename} < dbdump.sql

Featured Products on Magento Homepage

Have you noticed that every Magento eCommerce store looks better when equipped with a “Featured Products” homepage, well here is an extremely useful link from “Magento Commerce” to help you replicate that on your own site. I have used it on several occasions and it works a treat, hope you find it useful. Adding Featured Products to Magento Homepage Alternative Option: I have noticed that some parts of the original link doesn’t work, so I have found an alternative and much simpler way to do this. To Add All Products from one Category Go to “CMS – Manage Pages” and… Read More »Featured Products on Magento Homepage