1b.app
Link copied -

Where does the comma come from in product fields?

Product https://cabinet.b2bframes.com/admin/shop/products/16071/edit/
The formula for calculating the additional field is configured
When saving, it considers it normal, but then changes this value to a comma
It is very necessary to fix this problem, because when unloading goods in xml, and from it to the site, the comma is recognized as a thousandth separator.
Original question is available on version: ru

Answers:

Суханіцький Андрій OneBox CORP
OneBox Corp - Інтегратор
Personal license
Need help, can someone tell me where this comma comes from?
15.10.2021, 13:19
Original comment available on version: ru

Is this repeated constantly within 1 product?
Imports prices have not been configured?
18.10.2021, 09:32
Original comment available on version: ru

Суханіцький Андрій OneBox CORP
OneBox Corp - Інтегратор
Personal license
Made a test product https://cabinet.b2bframes.com/admin/shop/products/26127/edit/
Created an additional field https://cabinet.b2bframes.com/admin/shop/productfield/87/
Set automation (first action) https://cabinet.b2bframes.com/admin/products/action/update/edit/ rounded to 2 characters
The test product is fine
And the product from the description still puts a comma
18.10.2021, 13:46
Original comment available on version: ru


And the product from the description still puts a comma

So maybe there's no action at all, huh?
Can import from somewhere else? The change time looks like some kind of hourly cron - recalculation/import?
20.10.2021, 15:36
Original comment available on version: ru

Суханіцький Андрій OneBox CORP
OneBox Corp - Інтегратор
Personal license

Tyndyk Maxim Vadimovich
OneBox production
Administrator wrote:
So maybe there's no action at all, huh?
Can import from somewhere else? The change time looks like some kind of hourly cron - recalculation/import?

maybe of course, I just can't trace where exactly/
At the same time, only the value of the additional field, which is considered an action, changes, the price remains unchanged.
All that is configured for import is price import, but for the supplier, the price is normal and the sale price does not change when recalculated
I don't have any thoughts on this yet...
20.10.2021, 15:49
Original comment available on version: ru


I added logs to the record of additional fields (which are on the screenshots with the problem) for this product.
Repeat to overwrite the field - I'll see where it was written like that.
22.10.2021, 16:26
Original comment available on version: ru

Суханіцький Андрій OneBox CORP
OneBox Corp - Інтегратор
Personal license
now written like this
I'll take a look in about 30 minutes and report back.
22.10.2021, 16:33
Original comment available on version: ru

Суханіцький Андрій OneBox CORP
OneBox Corp - Інтегратор
Personal license
The following action occurred
22.10.2021, 17:44
Original comment available on version: ru

This is how the miscalculation on the server worked on the first action in the automation for editing products as a result of importing the supplier's price list.
I came across this, it probably depends on the locale settings on the server - there a comma is set for float as a separator.
Added when writing an additional field when casting to float, replacing the separator with a comma with a dot.
25.10.2021, 15:13
Original comment available on version: ru

Суханіцький Андрій OneBox CORP
OneBox Corp - Інтегратор
Personal license
where to indicate it?
25.10.2021, 15:23
Original comment available on version: ru


where to indicate it?

I will not say exactly how it is configured on the server
you should be satisfied with my change in action
25.10.2021, 16:15
Original comment available on version: ru

Суханіцький Андрій OneBox CORP
OneBox Corp - Інтегратор
Personal license
okay thanks
25.10.2021, 16:23
Original comment available on version: ru

Please join the conversation. If you have something to say - please write a comment. You will need a mobile phone and an SMS code for identification to enter. Log in and comment