Print Product & Cart Page: Magento Extension [FREE]

Print Product & Shopping Cart Page is a FREE Magento Extension that generates neat and clean print page of products and shopping cart, removing unnecessary header, footer & sidebar. This module is compatible with Magento version 1.5 and higher (Magento 1.5, 1.6, 1.7, 1.8, 1.9). A “Print Product” link is added to product page and … Read more

jQuery: Print array and object

This article shows how to print array and object on jQuery. You can do it with jQuery.each() function. jQuery.each() function can be used to iterate over any collection, whether it is a map (JavaScript object) or an array. Here is the javascript code to print array or object: jQuery(document).ready(function(){ var arr = [ "earth", "mars", … Read more

print_r in Javascript

It’s a real headache when you have to work on objects and arrays in Javascript. It would be lot easier to detect elements of the Javascript objects/arrays if we have print_r function in Javascript like we have in PHP. I googled the web and have found a very efficient print_r Javascript function. Here is the … Read more