Kategorie: Magento

Magento 1.7: VAT ID check failed

Reason: The URL and parameters changed File: /app/code/core/Mage/Customer/Helper/Data.php Remove country code from VatNumber. Line 474: $requestParams[‚vatNumber‘] = str_replace(array($countryCode,‘ ‚, ‚-‚), array(“,“, “), $vatNumber); Change VAT_VALIDATION_WSDL_URL to ‚http://ec.europa.eu/taxation_customs/vies/checkVatService.wsdl‘

Magento: Validation of new gTLDs

At this moment it is not possible to validate the new global domain names (gTLDs) in Magento. Neither it is possible to use the new domain names in frontend nor in backend. Magento uses...

Magento: Performance-Optimierung bei Kategorie-Ansicht

Folgender Code kann die Performance von Kategorie-Ansichten enorm beschleunigen, denn diese kann besonders bei Bundle-Products ziemlich schlecht sein. Steigerungen von 400% konnte ich messen. Mage/Catalog/Block/Product/List.php protected function _construct() { $this->addData(array('cache_lifetime' => false)); } public...

Magento: Get resized catalog thumbnail image

My solution for generating a resized thumbnail image is to overwrite the  model class of catalog. Here my xml file: <?xml version="1.0"?> <config> <global> <models> <catalog> <rewrite> <category>YOURMODULE_SUBMODULE_Model_Catalog_Category</category> </rewrite> </catalog> </models> </global> </config> The...