ナレッジベース
公開されました Jun. 30, 2025

商品の数量に関係なく注文している。

written-by

Pooja Bhambani

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.

問題

  • 再現するための手順
    1. minium site templateを使用してサイトを作成します。
    2. 商品管理」の「商品」に移動します。
    3. シンプルな製品を作成します。
    4. SKUタブに移動し、詳細を入力します。 > 保存します。
    5. 在庫」を選択し、1つの倉庫で「10数量」のみを提供します。
    6. 次に、カタログページに移動し、作成した製品を製品に追加します。
    7. 数量を11と与えます。
    予想される結果 商品はカートに追加されません。
    実際の結果:
    ユーザーは注文することができます。

Environment

  • Liferay DXP 7.3
  • Liferay DXP 7.4
  • コマース3.0
  • コマース4.0

解決策

  • これは Liferay Commerce の意図した動作です。
  • 商品設定に「バックオーダーを許可する」という機能があるんです。 バックオーダーを許可する]が有効な場合、基本価格が設定されたすべての公開SKUは、商品詳細ウィジェットで顧客がすぐに購入できるようになります。
  • また、Allow Back Ordersが無効の場合、ユーザーはまずSKUに在庫を追加して購入できるようにする必要があります。

追加情報

did-this-article-resolve-your-issue

ナレッジベース