November 14, 2013 0 Comments

This class is very useful for small projects, it easy and fast to connect mysql with php script. Thank you Ciprian Mocanu to provide this document. The Class:

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 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


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 19, 2013 0 Comments

Some people ask about the difference between Mage::getModel() and Mage::getSingleton() in Magento. Here is the difference between these two: Mage::getModel('module/model') will create a new instance of the model object (if such object exists

August 14, 2013 1 Comment

Here is an example: var signupForm = new Validation(\’form-validate\’); var result = signupForm.validate(); if(result == true) { $(\’#form-validate\’).submit(); return true; } else return false; another one var signupForm = new VarienForm('signupForm', true); if