Just a quick update here! If you haven’t already seen the gigantic list of additions, improvements, and fixes in Magento 1.7 (Community Edition, EE was also updated), you should! Some of my favorite updates:
– Auto Generation of Coupon Codes
– CAPTCHA support for both admin and customer users
– Different base prices for different customer groups!
More past the break.
The breadcrumbs in Magento’s default layout are fairly well placed, but lets say you want to move them to the header.phtml file? How do you go about moving it, because you cannot simply cut the
<?php echo $this->getChildHtml('breadcrumbsContainer') ?>
out of the page template and move it.
Very simple here, remove that default call (obviously), and place this line of code where you’d like the new breadcrumb navigation to go!
<?php echo $this->getLayout()->getBlock('breadcrumbs')->toHtml(); ?>
In a previous post, I showed how to delete products in the Magento catalog using the SOAP API. In this post, we’ll be using a simple method using our Mage class, and removing products via the Magento Mage calls. Using this will result in removal of every product in your Magento catalog, so be careful! Be sure to modify the store call as well if you have multiple storefronts with different products. Onward!
Read More Post a comment (0)A question was posted in the comments section regarding deleting every product in the Magento Catalog without manually removing them via the Magento admin, so I wrote up a quick script using the Magento SOAP API. It’s not the fastest method, and if you’d like to see a quicker way using the Mage class, see this post here – Magento: Delete Products Programmatically.
Read More Post a comment (0)An extremely useful call in Magento is the ability to link to your base URL, without having to do hard-coded links, such as “/contact-us” or something similar. I’ll display two ways to do this – one way is to link to your store’s base url within static blocks, and one way is to do it within your PHP code (which cannot be used in Static Blocks).
Read More Post a comment (0)If you’ve ever gone in to re-index your Product Flat Data index, and noticed that the orange Processing… status icon won’t go away, you are not alone! It’s quite a common problem, especially for those that have backed-up and restored any piece of the Magento database, especially anything relating to emptying or truncating the product tables to remove all products in Magento and reset product IDs to 0. Luckily, there’s *usually* a simple fix!
Read More Post a comment (11)A very short and simple update today! I get asked alot if there’s an easy way to update Magento’s default 0 Quantity setting on the product pages, and the answer is yes (past 1.4 at least)! To do so, simply log in, head to System -> configuration -> Catalog (Inventory) menu on the left side. On your new page options that load here, look for “Minimum Qty Allowed in Shopping Cart”, click the “Add Minimum Qty” button, select “ALL GROUPS” under Customer group, and place a “1″ in the Minimum Qty field. Save Config, and voila! No more 0 Quantites on *any* product (bundles without selected defaults may still default to 0).
Short and sweet! Image screenshot after the break.
I ran across an incredibly odd error today. Using jQuery UI and the Tabs references, we noticed that the tabs were working in every browser *except* IE8. After many, many hours of digging and redoing the tabs, adding noconflict(), everything…I finally came across this error:
Read More Post a comment (0)An issue that a client asked for was that both the Sign Up and Log In links were directing to the same page. On the page, it has the “Register for an account” button on the left, and the login form on the right. Rather than have 2 links essentially beaming you to the same place, lets change it up and send the users directly to the Customer Account Creation page by changing a simple line in the customer.xml layout file.
Read More Post a comment (0)This one is very simple! Just a simple line of code that I’ve been using pretty extensively the past couple weeks.
<?php echo "<h1>" . $pageTitle = Mage::getSingleton('cms/page')->getTitle() . "</h1>"; ?>
Obviously you can get much more than the Title, such as keywords, any meta content, etc by simply changing the method from ->getTitle() to ->getContent(), ->getSomethingElse();
Have a Merry Christmas everyone!

