Category Archives for Snippets

How to add a date/time product attribute to Magento admin

Adding a date attribute to Magento is no problem – but what about date + time? In this article I’ll explain how to add a date/time product attribute to Magento admin programmatically with upgrade script. Basically to make it happen you need to configure the renderer for date field and source model to convert the date and save time as well as date.

Continue Reading →

Change default controller URL in Magento

Sometimes it’s required to have some areas of you site to leave in non-standard urls. For better SEO or just because you want so. In this case Magento has an ability to rewrite default controller url to whatever you want. For example you want to hide your admin panel from unwelcome visitors. This is the simple one – and described in magento wiki with ability to even set this up as separate node.

Continue Reading →

← Older posts

Newer posts →