export database table by php

export database table php Sometime there is need to export database table by php code. There is a very simple approach to do this.    

 

Php backtrace with proper information

Php backtrace with proper information.   Php backtrace with proper information. we can use debug_backtrace. But debug_backtrace provide a lots of data which might be not use full for one. So for fetching more accurate information we can use the below code.

 

update product quantity on check out page magento

update product quantity on check out page magento you can do it by editing item.phtml (template/checkout/onepage/review/item.phtml) and these lines after line no #47

and put Jquery code at the end

now override cartcontroller.php and place all the functions of the original cartcontroller.php and rename function updatePostAction by function updatePostsAction. and change the redirect

Read More