Category: Magento

Remote deployment script for Magento extensions using modman and rsync

In order to have an efficient way of deploying Magento extensions to (remote) Magento setups I’ve created a simple deployment script based on modman and rsync. How it works This script copies your Magento extension to the .modman directory of your destination Magento project and deploys it there using modman. In addition, it exludes files and […]

Currency conversion for Google Shopping Feed in Magento

When generating Google Shopping Feeds you need to make sure to use the correct currency for the target country. Thus, if you are planning for instance to target Great Britain make sure to use GBP as currency for prices in the Products Feed. This can be easily achieved by using the Magento extension Wyomind Data […]

Disable caching of API callbacks for Viveum Magento extension

Using a caching server like Varnish is mandatory for running Magento (efficiently). When using extensions that make use of callback API calls make sure that you exclude them from your caching rules. As we are using Viveum as payment gateway service for most eCommerce projects we generally deploy the official Viveum Magento extension. When using […]

Mass import products to Magento multi-store setup

So, you are about to import a large amount of products into Magento. Well, there are a couple of different approaches available. First, you could use the ancient Data Flow import based on specific profiles. Then, you could use the improved Data Import version, which still is (very) resource consuming. Lastly, there is magmi – […]

Automatically clean product texts in Magento

So someone copied text from a PDF document and pasted it into the Magento product description (or short description) text field. Unfortunately, the copied text included non-printable control characters in the Unicode range from \x00—\x1F and \x80-\x9f (e.g. DEL, NUL, VT, etc.) thus breaking other extensions from functioning properly, or prohibiting your data export to […]

Fixing Magento error:14077410:SSL routines:SSL23_GET_SERVER_HELLO:sslv3 alert handshake failure

This is just a quick fix post in case you are experiencing the error error:14077410:SSL routines:SSL23_GET_SERVER_HELLO:sslv3 alert handshake failure Check file downloader/lib/Mage/HTTP/Client/Curl.php for a proper secure transportation protocol supported by Magento Connect (SSLv3 vs. TLSv1): Solution In order to overcome this error simply add the cUrl option TLSV1: Background info Magento Connect (finally) canceled support […]

Automatically copy images from parent configurable product to variants in Magento

By default Magento does not copy images from parent configurable products to their child variants, i.e. associated products. So you need to manually set images for child products once they are associated with the parent configurable product, which can be rather time consuming and (let’s face it) annoying if you deal with a broader range […]

Handling cookies in Magento with JavaScript

In order to handle cookies in Magento refer to /js/mage/cookies.js. The functions for getting, settings and clearing cookies are: Mage.Cookies.set Mage.Cookies.get Mage.Cookies.clear Below you find the corresponding JavaScript functions from cookies.js: Generic cookie clear function In case you are searching for a simple, generic function to clear (Magento) session cookies you might want to use […]

Magento M2E Pro Newsletter Subscription Extension released

Note: The terms and conditions for using this extension are currently being reviewed to further conform to eBay’s terms and conditions. Thus, this extension is temporarily disabled on Magento Connect until the approval process is completed. Both Interact today released the M2E Pro Newsletter Subscription extension. This extension takes care of automatically subscribing your eBay […]

Magento produces duplicate customer EAV entries instead of updating existing ones

In a recent Magento 1.8.0.0 project updating customer entities resulted in duplicate EAV entries instead of updating existing ones. Some of the symptoms of this problem were: Customer attributes not being updated, instead new duplicate entries produced Password reset not working, instead duplicate entries produced Login not working In general, anything related to updating customer […]

Can’t upload product image on eBay Error using M2ePro on Magento

After a switch to a https only setup on a Magento 1.8.0 installation using M2ePro 6.1.6 the following error ocurred when trying to list items using images: Can’t upload product image on eBay A quick Google search revealed the following official statement from the company behind M2ePro: This problem does not concern to m2e pro. […]