External source of image in WooCommerce: change at source code

With the version 1.9.6 of the AT plugin, you can also embed external product images in WooCommerce. The images will no longer be imported into your media library.

In order for WooCommerce not to display an error message, you must make an adjustment to the source code of WooCommerce. When you click on the image, the error message “Image can not be loaded. Make sure the path is correct and image exists. ”

Open the file “wp-content / plugins / woocommerce / includes / wc-product-functions.php” and go to line 685. There you insert the highlighted code with the function:


Attention: This change is to be made with every update of WooCommerce and is unsupported!


Do you still have questions? No problem :-)
We are happy to answer your questions in our forum.