Zettle POS Integration for WooCommerce
Search

How can I enable synchronization of product images to Zettle when while running on a local machine?

If you are running your installation on a local instance (the URL in your browser typically starts with “127.0.0.1” or “localhost”), synchronization of product images with Zettle will not work correctly as your local installation is not reachable for Zettle’s systems.

For testing, you can enable sending placeholder images to Zettle by adding the following lines to your wp-config.php:

putenv('ZETTLE_PLACEHOLDER_IMAGES_ENABLED=1');

$_ENV['ZETTLE_PLACEHOLDER_IMAGES_ENABLED'] = 1;

$_SERVER['ZETTLE_PLACEHOLDER_IMAGES_ENABLED'] = 1;