saleor / apps

A central space for Saleor Apps, integrations, and the App Store 🚀
https://apps.saleor.io
Other
113 stars 311 forks source link

[Bug]: Missing pricing when variant updated via webhook #1108

Open lkostrowski opened 12 months ago

lkostrowski commented 12 months ago

variant.pricing field is filled only if queries with channel set. In subscription its empty.

Initial "bulk sync" sets value properly, but webhooks clear it

Saleor doesn't have these fields, so app must fetch them dynamically

Rel https://github.com/saleor/saleor/issues/14748

freebreix commented 2 months ago

So are we forced to use distinct=true or fetch the prices separately? Because the only way to retrieve the discounted price is through productPricing and not individually through pricing.

Am I missing something?