Blog Left Sidebar

  • Home
  • Blog Left Sidebar
October 25, 2013 0 Comments

There is no project that uses framework as is. Every now and then there is a need to change something, to add something new or to override something already written. Due to many

October 25, 2013 0 Comments

Hi, today I’ll show you how to edit Magento’s core module without messing with core files themselves, or “the right way of doing things”. :D First of all, I chose Magento’s Customer module

October 22, 2013 0 Comments

without mysql password for I in $(mysql -e 'show databases' -s --skip-column-names); do mysqldump $I | gzip > "$I.sql.gz"; done need mysql password for I in $(mysql -uroot -hlocalhost -p -e 'show databases'

October 9, 2013 0 Comments

Step-1 : Generate Token System For All Web-Service: Generating Token : Step-2 : Use it while sending ajax call: var form_data = { data: $("#data").val(), //your data being sent with ajax token:'', //used

September 27, 2013 0 Comments

folder/template../sample.phtml create a folder "sample" create a include phtml file shipping.phtml folder/template../sample/shipping.phtml

September 4, 2013 5 Comments

Mage::getSingleton('checkout/session')->getQuote()->getAllVisibleItems();

September 4, 2013 1 Comment

Hers is sample code: $new_product = Mage::getModel('catalog/product'); $new_product->setWebsiteIds(array(1)); $new_product->setSku('lu-'.$product['sku']); $new_product->setPrice((($product['price'])*$e_rate)); $new_product->setCategoryIds(array(1152)); $new_product->setAttributeSetId(4); $new_product->setVisibility(1); $new_product->setType('Simple Product'); $new_product->setName($product['name']); $new_product->setDescription(''); $new_product->setShortDescription(''); $new_product->setStatus(2); $new_product->setTaxClassId(2); $new_product->setWeight(0); $new_product->setCreatedAt(strtotime('now')); // call save() method to save your product with updated data

August 30, 2013 0 Comments

error_log(print_r($variable, TRUE));

August 26, 2013 0 Comments

Here is good tutorial for js form validation with JQuery http://jqueryvalidation.org/documentation/

August 22, 2013 0 Comments

HTML .... Javascript var url = ajaxUrl; $.post(url, { method: "getAllProducts" }, function(data) { var obj = jQuery.parseJSON(data); var directive = { "li.prod-tramp": { "t