A
A
Anton2022-03-20 22:48:07
1C-Enterprise
Anton, 2022-03-20 22:48:07

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

2 answer(s)
D
Dmitry Kinash, 2022-03-20
@Dementor

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)

It is logical that if you change the upload to the site, then you will need to modify the upload as well - and there are no problems.
From the point of view of beautiful architecture, you need to edit the site. User experience is the front, not the back!
You, as a customer, need to ask a web programmer and a 1C programmer the cost of improvements in two scenarios and make a decision with your wallet.

K
Konstantin, 2022-03-21
@fosihas

finalize, website or 1C

there is no clear answer.
There is a problem that needs to be solved and a specialist or a few who will solve it. But the solutions will depend on the knowledge / experience of these specialists. And decisions may differ, how many people have so many opinions.
ps:
From personal experience, there was an accounting base for 1C. She kept accounting records. It was necessary to make a custom structure for the N number of sites, and upload and download accordingly. In total, an additional configuration was written on 1C, in which managers arranged the structure. Supplemented with information and it scattered around the sites. those. did the transit.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question