Ning Ma blog

my technology tips

September, 2013

Magento how to include a custom phtml

folder/template../sample.phtml

create a folder “sample” create a include phtml file shipping.phtml folder/template../sample/shipping.phtml

Magento get shopping cart products

Magento add a new product from costom module

Hers is sample code: