Please add the offer system
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 5/5
- 見積もり時間
- 1週間以上
- 初心者へのやさしさ
- 25/100
調査の方向性
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.
索引モデルが issue の本文から書いたものです。
説明
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.
- 主要言語
- C#
- スター
- 1.3k
- フォーク
- 549
- 平均マージ
- 7時間 58分
- マージ済み PR(30日)
- 52
環境構築
このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
grandnode/grandnode2 のほかの issue
-
HTML sitemap lists unpublished pages対応中かも @KrzysztofPajak が 1 日前に担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
grandnode/grandnode2#883 ·
メンテナーはふだん 1 日以内に返信
-
bug
難易度 3/5 1〜2日 初心者へのやさしさ 65/100
grandnode/grandnode2#881 ·
メンテナーはふだん 1 日以内に返信
-
enhancement
難易度 5/5 1週間以上 初心者へのやさしさ 35/100
grandnode/grandnode2#880 ·
メンテナーはふだん 1 日以内に返信
-
grandnode/grandnode2#499 ·
メンテナーはふだん 1 日以内に返信
-
grandnode/grandnode2#410 ·
メンテナーはふだん 1 日以内に返信
grandnode/grandnode2 の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
stryker-mutator/stryker-net#3892 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
MobiFlight/MobiFlight-Connector#3419 ·
メンテナーはふだん 1 日以内に返信
-
documentation
難易度 2/5 1〜3時間 初心者へのやさしさ 84/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
Kryptos-FR/MarkView.Avalonia#105 ·
メンテナーはふだん 1 日以内に返信
-
[辞書]オープン提案 辞書
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
メンテナーはふだん 1 日以内に返信