Magento Paypall @ Unable to process payment. Please contact the merchant as the shipping address provided by the merchant is invalid, and the merchant has requested that your order must be shipped to that address

We’ve fixed this Magento/PayPal issue for quite a few clients when they were told the same thing by PayPal support. In Magento Community 1.7.0.2 you need to copy the file: /app/code/core/Mage/Paypal/Model/Api/standard.php to: /app/code/local/Mage/Paypal/Model/Api/standard.php and change line 238 from: $request[‘address_override’] = 1; to: $request[‘address_override’] = 0; Once you do the issue goes away and you won’t experience the issue with orders anymore. It would be […]

Read More »

How to get product images on magento product page separately

How to get product images on magento product page separately <?$_images = Mage::getModel(‘catalog/product’)->load($_product->getId())->getMediaGalleryImages();?><?if($_images){?> <?$i=0; foreach($_images as $_image){ $i++;?> <a href=”#”><img src=”<?=$this->helper(‘catalog/image’)->init($_product, ‘thumbnail’, $_image->getFile())->resize(200, 130); ?>” width=”200″ height=”130″ alt=”<?=$this->htmlEscape($_image->getLabel());?>” title=”<?=$this->htmlEscape($_image->getLabel());?>” /></a> <?}?><?}?>

Read More »