My Blog

January 16, 2015

Add Trailing slash at end of URLs

RewriteEngine On # Assuming you’re running at domain root. Change to working directory if needed. RewriteBase / # www check # If you’re running in a […]
October 6, 2014

How to add Custom Image Field in Category Magento

$setup = new Mage_Eav_Model_Entity_Setup(‘core_setup’); $entityTypeId = $setup->getEntityTypeId(‘catalog_category’); $attributeSetId = $setup->getDefaultAttributeSetId($entityTypeId); $attributeGroupId = $setup->getDefaultAttributeGroupId($entityTypeId, $attributeSetId); $setup->addAttribute(‘catalog_category’, ‘image1’, array( ‘type’ => ‘varchar’, ‘input’ => ‘image’, ‘backend’ => ‘catalog/category_attribute_backend_image’, […]
September 22, 2014

Paypal Adaptive Payment

ini_set(“track_errors”, true); //set PayPal Endpoint to sandbox $sandbox=””; $API_AppID = XXXXXXXXXXXXXXXXXXX;//your adaptive payment app Id //value for check sandbox enable or disable $sandboxstatus=1; if($sandboxstatus==1){ $sandbox=”sandbox.”; $API_AppID=”APP-80W284485P519543T”; […]
September 18, 2014

Paypal Adaptive Payment Integration

Nice post for Adeptive Paypal Reference
August 13, 2014

BUGFIXES: PRODUCT IMAGES NOT SHOWING IN MAGENTO

  Fix was to modify function _isMemoryLimitReached() in /lib/Varien/Image/Adapter/Gd2.php (line 68) as follows: protected function _isMemoryLimitReached() { if (ini_get(‘memory_limit’) == -1) { return false; } … […]
March 22, 2014

Remove Duplicate Rows From Sql Table

Remove Duplicate Rows From Sql Table DELETE amazon_order_detailsnirav FROM amazon_order_detailsnirav LEFT OUTER JOIN ( SELECT MAX(id) as id, `sku`, `ASIN`, `amazon_order_id`, `purchase_date` FROM amazon_order_detailsnirav GROUP BY […]
November 12, 2013

Magento Recoverable Error Argument 1 passed to Mage_Core_Model_Store::setWebsite() must be an instance of Mage_Core_Model_Website

Magento Recoverable Error: Argument 1 passed to Mage_Core_Model_Store::setWebsite() must be an instance of Mage_Core_Model_Website, null given, called in /var/www/xxx/app/code/core/Mage/Core/Model/App.php on line 634 and defined in /var/www/xxx/app/code/core/Mage/Core/Model/Store.php […]
September 24, 2013

Add custom attribute to Sales Order in Magento

1> Step 1 require_once(‘app/Mage.php’); Mage::app()->setCurrentStore(Mage::getModel(‘core/store’)->load(Mage_Core_Model_App::ADMIN_STORE_ID)); $installer = new Mage_Sales_Model_Mysql4_Setup; $attribute = array( ‘type’ => ‘text’, ‘backend_type’ => ‘text’, ‘frontend_input’ => ‘text’, ‘is_user_defined’ => true, ‘label’ => […]
September 3, 2013

How to add group in register form magento

Make a copy of config.xml from app > code > core > Mage > Customer > etc > config.xml and add the following line of code into the customer […]
0
Contact us

We are glad that you preferred to contact us. Please fill our short form and one of our friendly team members will contact you back.


    X
    Request a Quote