Magento Tips

Archive for the ‘Magento Tips’ Category

Get Your Attribute Options (Dropdown / Multi-select)

Posted on: 11th May 2012 By: Robert Kent No Comments
Get Your Attribute Options (Dropdown / Multi-select)

If you want to get your attribute options – whether it be from a  drop-down or multi-select attribute you can do so easily using the following code: The above will give you back an array of Labels and the attribute option ID. It’s really just a little snippet but is really useful, I’ve recently used it to [...]

Read More…

Magento Product Collection Overview

Posted on: 9th May 2012 By: Adam Moss No Comments
Magento Product Collection Overview

For any Magento developer or module maker you will find yourself consistently needing to load product collections for a variety of reasons. Whether you’re creating an AJAX search form, creating a back-end inventory module or simply showing a list of products on your homepage you will need to show and filter your products. Magento’s Mage_Catalog_Model_Resource_Product_Collection class [...]

Read More…

Echo Custom Variables Per Store View

Posted on: 1st May 2012 By: Adam Moss No Comments
Echo Custom Variables Per Store View

I posted a few months back about echoing custom variables on a phtml page. This works fine if you’re working only with the one store/website. However in the instance that you are working with multiple stores in potentially differing languages, it’s important to know how to echo the correct custom variable data for your store [...]

Read More…

Sitemap XML generation issues on Magento Cron

Posted on: 27th Apr 2012 By: Robert Kent No Comments
Sitemap XML generation issues on Magento Cron

If you are experiencing problems when generating xml sitemaps through Magento a quick trick to fix it is to perform the following: Delete your xml sitemap Create a new xml sitemap and upload Make sure permissions on your xml sitemap is set to 777 Schedule your xml sitemap generation (or click generate again) The reasons [...]

Read More…

Use Custom Attributes for Promotion Conditions

Posted on: 19th Apr 2012 By: Adam Moss No Comments
Use Custom Attributes for Promotion Conditions

Sometimes, blog posts covering ‘the basics’ are more useful than my essay-length tutorials. This is something that I have been asked about a lot by Magento newcomers, so here it is in black and white for those getting to grips with Magento’s features. You can use custom product attributes to create more detailed and specific [...]

Read More…

Search Blog

Archives

For the record...

Views & opinions in this blog are those of the individual and do not necessarily reflect those of E-commerce Web Design or the Creare Group.