JTL Connector: How to prevent overwriting during sync!
If you are using Shopware and JTL and have created a free text field in Shopware that you want to configure independently of JTL, it is possible that this attribute will be overwritten by the JTL Connector every time the article is synced and will have the value zero.
On the one hand, this setting makes sense so that data can only be changed and edited in JTL and to have a consistent database. On the other hand, however, it leads to problems if certain fields are to be set directly in Shopware that are not known to JTL. We have a solution for this - do you need more help with Shopware? The EXWE team will be happy to help you - just contact us by e-mail or phone.
The solution
To fix the whole thing or change the behavior, you have to look in the config.json of the JTL Connector plugin. You can find it under
engine/Shopware/Plugins/Community/Frontend/jtlconnector/ config/config.json.
There is a setting "null_undefined_attributes". You must set this to false under product, push to prevent your attributes from being overwritten.
The entry could then look like this, for example:
"product": { "push": { "null_undefined_attributes": false, "article_detail_preselection": false } },
This article was written by our software developer Thomas Walter.
JTL - The free ERP system
The JTL software organizes purchasing, article and offer maintenance, multi-channel sales, order processing, warehouse and shipping organization and sales as well as payments. At the heart of the e-commerce software is the JTL merchandise management system, which is available free of charge. With the JTL Connector, you can connect your Shopware online store to the ERP system and synchronize items, stock and orders. The JTL Connector is also available for Gambio, Shopify, WooCommerce and other providers and can be connected to Ebay or Amazon. With JTL, you can maintain your entire product range, adjust stock levels, enter invoices, reminders and credit notes and process orders.
With JTL POS, you can purchase professional POS software that has been specially developed for stationary retail. The software is also available free of charge and can be used with an Android smartphone or tablet. With JTL POS, you can manage items, use cashier functions, issue receipts, check sales and at the same time guarantee a high level of checkout security through automatic log-out.
Would you like to find out more about JTL? Then take a look at our article "PICKWARE, JTL AND IZETTLE - CONNECTING RETAIL AND ONLINE TRADE". If you have any further questions about your store, we will be happy to assist you and offer you a comprehensive range of online store creation services
What is your project? If you want to tell us about it, we'll call you back!
Hello, my name is Meike. I take care of the EXWE back office and am responsible for our social media channels. All of our articles are meant to make your life easier and help you make decisions. Nevertheless, it can happen that something remains unclear, so: If you have questions about this article you can easily reach me at +49 231 93149827.
Use our Shopware plugin between Shopware and the Hubspot universe now and benefit from simple and bundled data collection!
The Shopware insert for the Japanese states - Use our tips and tricks about Shopware and optimize your online store now!
What is special about Shopware 6? Here you can find out everything from the technology and the differences to Shopware 5 to the development status