legacy-knowledge-base
公開されました Jul. 2, 2025

カートはストアごとに個別にアイテムを保管できますか?

written-by

Sergio Alonso

How To articles are not official guidelines or officially supported documentation. They are community-contributed content and may not always reflect the latest updates to Liferay DXP. We welcome your feedback to improve How To articles!

While we make every effort to ensure this Knowledge Base is accurate, it may not always reflect the most recent updates or official guidelines.We appreciate your understanding and encourage you to reach out with any feedback or concerns.

legacy-article

learn-legacy-article-disclaimer-text

問題

  • ユース ケースは市場 (B2B2C) シナリオです。
    そのマーケットプレイスには複数の EC サイトが傘下にある。 店舗 Aで買い物を開始し、 店舗 A 商品をカートに入れ、 店舗 Bで買い物をし、 店舗 B 商品をカートに入れる場合があります。
    この場合、カートはストアごとにアイテムを個別に保管できますか? (たとえば、 ストア A に移動して購入しようとすると、カートに未購入の ストア B アイテムがある場合でも、カートには ストア A のアイテムしか表示されません)。

Environment

  • Liferay Commerce すぐに使える.

解決策

  • カートは注文として、サイトではなくチャネルにリンクされています。 したがって、チャネルが同じである限り、カートはどの製品でも受け入れることができます。
  • ただし、通常、チャネルはサイトにリンクされているため、構成は次のようになります。
    ストア A -> チャネル A - サイト A
    ストア B -> チャネル B - サイト B
    この場合、カートは共有されません: サイトを変更するたびに (チャネル範囲を変更すると)、関連するカートが選択されます。
    商品が隠されているだけでなく、サイトごとに異なるカートが表示されています。

did-this-article-resolve-your-issue

legacy-knowledge-base