add seller data when not own
Some checks failed
Build and Publish / BuildAndDeploy (push) Successful in 3m2s
Build and Publish / BuildAndDeployAmd64 (push) Has been cancelled

This commit is contained in:
matst80
2025-05-13 13:09:32 +02:00
parent 191171e431
commit cf31f17d57

View File

@@ -162,6 +162,11 @@ func getItemData(sku string, qty int) (*messages.AddItem, error) {
category4, _ := item.Fields[13].(string)
category5, _ := item.Fields[14].(string)
// is own
if sellerId == "001071" {
sellerName = ""
}
return &messages.AddItem{
ItemId: int64(item.Id),
Quantity: int32(qty),