Currently browsing

Magento Model Code Generation

This is a quick one for advanced users, is a recent problem, I answered StackOverflow inspired.

Magento as well as about an abstract system as one of the advantages is the opportunity it presents metaprogramming. Drops action in a controller (which is the following code, you can define an internal function in PHP)

Enable Magento Exception Error reporting

magento enable error reportingmagento enable error printingmagento turn on error reportingmagento error reportingenable error reporting magentoenable magento error reportingSometime, your Magento store have an exception and you get error saying “Exception printing is disabled by default for security reasons” with error log record number. So this is quite impossible to …

How to link to RSS feed in Magento

magento rss feedmagento rss feed urlFeeHD inmagento rss feed linkmagento rssmagento rss url1. Rss feed need  to be activated under System -> Configuration -> Rss feed. 2. After activating, all RSS you have enabled will be shown on this page http://yourdomain/rss 3. Get the link you needed and put it somewhere …

Magento – How to Add JQuery/Ajax Add-To-Cart

So, the thing Ajax and all being, I was hunting for a way to an item to add the car with a Ajax call in Magento. Recently, I noticed there was a module that apparently either did not I, but had not seen it or did not exist when I wrote this, so I hacked my way through it.

PHP is not my primary language – I'm from the ASP, ASP.Net, C # world, but Magento was convincing enough that I took the plunge. I'm sure there are many things I do better / differently than here, so if you could get some suggestions, I'm all ears!