Inhalte aufrufen

Profilbild

WebApi: Best practise Product attributes

textfelder

  • Bitte melden Sie sich an, um eine Antwort zu verfassen.
21 Antworten zu diesem Thema

#21 TripleNico

TripleNico

    Advanced Member

  • Members
  • 115 Beiträge

Geschrieben: 09 April 2020 - 14:34

Already tried that and that part works. Still the OData document is in conflict with your example because you are sending a string instead of decimal.
 
But the real issue lies in the retrieval of the value via OData under Product -->> ProductAttributes -->> ProductVariantAttributeValue then .PriceAdjustment = "133100,0000" what I would expect is "13,3100" If I look into the SQL Database at ProductVariantAttributeValue then I see the value I expect: 13,3100

#22 Marcus Gesing

Marcus Gesing

    SmartStore AG

  • Administrators
  • 3541 Beiträge

Geschrieben: 09 April 2020 - 15:48

I cannot reproduce it. Works as expected. Looks like a formatting or parsing issue to me.

 

 

Angehängte Bilder

  • Angehängte Datei  api2.png   70.16K   0 Anzahl Downloads

Schöne Grüße aus Düsseldorf,
Marcus Gesing