akeneo / magento2-connector-community

Akeneo Connector for Magento 2
Open Software License 3.0
85 stars 89 forks source link

Default measurement values get converted in a weird value #612

Open firstaidmarketing opened 2 years ago

firstaidmarketing commented 2 years ago

Akeneo: Growth edition Connector version: 102.3 Magento 2.4.3

I added our attribute weight_product to the Metric Attributes section of the connector and selected that the unit value should be added. A product that i have synched has a weight of 52 kg. I entered 52 Kilogram in PIM

Expected result; When synching you would expect to see 52 kg to appear.

Result; Instead it will give 2610 as a value without placing kg behind it.

The funny thing is when i enter in the product tab that it's 52000 grams, it will appear as expected 52000 g Therefore I assume there is a bug with the measurement defaults. As weight default unit is Kilogram, it therefore doesn't convert well for some reason.

Anybody with the same problem?

oefterdal commented 2 years ago

Have the same issue.

oefterdal commented 2 years ago

Did you find a solution @firstaidmarketing ?

oefterdal commented 2 years ago

@firstaidmarketing I managed to fix it, the channel was configured to convert to grams.

firstaidmarketing commented 2 years ago

@oefterdal Oh that's great. Where exactly in PIM did you change it? When I click on channels and i go to measurements than all the attributes are selected to not convert.

firstaidmarketing commented 1 year ago

@oefterdal do you know? I still experience the same issue, i even added a new measurement and different conversionv calculation but it didnt help