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)

Create Magento order invoice programmatically

magento create invoice programmaticallycreate invoice magento programmaticallymagento create order programmaticallyHere is a quick and easy way to create order invoice programmatically. Suppose, $_order contains your order. viagra generic now Here goes the code to create invoice:- if($_order->canInvoice()) { /** * Create invoice * The invoice will be in ‘Pending’ state …

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!

Add / Implement Testimonials Module in Magento

Download Testimonial Magenton Extension here. #1 Installation: Extract Magento Extension. Using your FTP client upload app, skin, js folders to your Magento store root. This would not overwrite any files, just add the extension to its folder. That’s all. #2 Extension Configuration General Setting: Title: Extenion title which display as …