Answer the question
In order to leave comments, you need to log in
Site integration and 1C. What to modify, website or 1C?
Hello!
I turn to the community for advice
We have: a site on Wordpress + WooCommerce, 1C: Integrated automation 2 current version and configured data exchange through a third-party plugin for Wordpress from itgalaxy
The 1C accounting base is used as a data source for the online store (uploading the catalog, balances and prices + receiving orders from the site). Also, in the 1C database, accounting is kept for wholesale sales to counterparties without the participation of an online store. In general, the exchange works, but there is a problem. In 1C, the characteristics of the nomenclature are used and some nomenclature has characteristics. Part of the nomenclature has no characteristics (such a product on the site is a "simple" product"). Another part of the nomenclature has the characteristics of the nomenclature. From this part of the nomenclature with characteristics there is an nomenclature that: "A" - is uploaded to the site with all the characteristics that it knows about 1C, on the site the product is variable and each variation of the product on the site corresponds to a certain characteristic of the nomenclature in 1C; "B"
By changing the exchange module with the site in 1C, the desired result was achieved. For the characteristics of the nomenclature in 1C, the requisite of the "do not upload to the site" format was added. Thus, only the characteristic of the nomenclature that interests us (product variation on the site) is uploaded to the site, but the product is listed as variable on the site and this is a problem. The problem is that "simple" products on the site can be put into the basket from the catalog without opening the product page. And to add variable products to the cart (which in fact are really variable or are only nominally variable), you need to open the product page and click the add to cart button. The solution is to make variable products, which have only one variation (item characteristic), simple products on the site.
Question: what is more competent to modify to solve the problem? Website or 1C? The site has the necessary array of data in the database, loaded from 1C, and on the one hand, the task of displaying this data is the function of the site. In the site database, they can be in any form, but how the user should see them is determined by the template. On the other hand, it is possible to put certain crutches on the 1C side and make sure that in XML the nomenclature with one characteristic available for uploading to the site is uploaded in the format of a "simple" product. This entails breaking the connection of the item with the characteristic of the item when loading an order from the site. That is, when loading an order from the site, the product will be listed as a simple product (in the 1C language, it does not have characteristics) and when loaded into 1C, the system will not understand
What would you do in this situation?
Answer the question
In order to leave comments, you need to log in
when loading an order from the site, the product will be considered a simple product (in the 1C language, it does not have a characteristic) and when loaded into 1C, the system will not understand which characteristic of the nomenclature should be substituted in the tabular part of the customer’s order (since the GUID of the product variation / characteristics of the nomenclature from the site will not be received)
finalize, website or 1C
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question