Please add the offer system
I maintainer di solito rispondono entro 1 giorno
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 5/5
- Tempo stimato
- Più di una settimana
- Idoneità per principianti
- 25/100
Direzione di ricerca
Read the catalog model around Product fields VendorId, Sku, StockQuantity and Price, then trace how IPricingService uses Product. Compare ProductAttributeCombination, OrderItem, Vendor, InventoryJournal and ShoppingCartItem to understand the proposed design. This issue asks whether shared-catalog offers are in scope and explicitly does not commit to implementation; done means maintainers decide whether one-product-one-vendor is a deliberate boundary.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Shared catalog: can multiple vendors sell the same product?
I evaluated GrandNode2 for a marketplace project and read through the catalog domain model. One question I couldn't settle from the code, so I'd rather ask than assume.
Observation
Product carries the seller, price and stock on a single document — VendorId (line 82), Sku (147), StockQuantity (335), Price (431) — and IPricingService takes Product as the price-bearing entity throughout. One catalog record therefore belongs to one vendor.
That supports a marketplace where each vendor owns their own listings. It doesn't support a shared catalog, where several vendors compete on the same record and the storefront selects a winning offer — Amazon's buy box, Google Shopping. Under the current model, two vendors selling the same title produce two products, two URLs and two sets of reviews.
What already exists
Several pieces are in place. ProductAttributeCombination already models SKU, price and stock as a unit hanging off a product; it simply doesn't carry a VendorId. OrderItem already has VendorId and Commission. Vendor already has the rating aggregates a ranking would need. InventoryJournal is already polymorphic over ObjectType.
The gap appears to be one entity — an Offer holding vendor, product, price, stock and status — plus a selection service, and an OfferId on ShoppingCartItem so the cart remembers which vendor the customer chose.
On compatibility
This could be additive. If an offer service synthesises an implicit offer from the product when no explicit ones exist, an installation with zero offer rows behaves exactly as it does today: no migration, no setting change, no rewrite.
Question
Is a shared-catalog marketplace in scope for GrandNode2, or is one-product-one-vendor a deliberate boundary? Either answer is useful — if it's out of scope, I'll close this.
Happy to expand on any of the above. I can't commit to implementing it, so please treat this as a design question rather than a proposal of work.
- Lingua principale
- C#
- Stelle
- 1.3k
- Fork
- 549
- Merge medio
- 8h 14m
- PR unite (30g)
- 53
Preparare l'ambiente
Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di grandnode/grandnode2
-
bug
Difficoltà 3/5 1-2 giorni Idoneità per principianti 65/100
grandnode/grandnode2#881 ·
I maintainer di solito rispondono entro 1 giorno
-
enhancement
Difficoltà 5/5 Più di una settimana Idoneità per principianti 35/100
grandnode/grandnode2#880 ·
I maintainer di solito rispondono entro 1 giorno
-
grandnode/grandnode2#499 ·
I maintainer di solito rispondono entro 1 giorno
-
grandnode/grandnode2#410 ·
I maintainer di solito rispondono entro 1 giorno
-
grandnode/grandnode2#396 ·
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di grandnode/grandnode2
Issue simili
-
[Tool] DirectBenchApertahas-image has-readme needs-attention new-tool repo-verified
Difficoltà 1/5 1-3 ore Idoneità per principianti 62/100
shanselman/TinyToolTown#844 · 2 commenti ·
I maintainer di solito rispondono entro 3 giorni
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 62/100
I maintainer di solito rispondono entro 2 giorni
-
[i18n] 安装实例完成后的成功提示未正确本地化Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 62/100
PCL-Community/PCL-CE#3658 ·
I maintainer di solito rispondono entro 1 giorno
-
Deploy & Patch-issues opprettes ikke: create-pnd-issues.yml har feilet hver uke siden 2025-09-08Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 62/100
Altinn/altinn-auth#4359 ·
I maintainer di solito rispondono entro 1 giorno
-
アプリ: チャット 優先: 中 提案
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100
yksr-melt/Meltype#243 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno