Legacy Knowledge Base
公開されました 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.

Legacy Article

You are viewing an article from our legacy "FastTrack" publication program, made available for informational purposes. Articles in this program were published without a requirement for independent editing or verification and are provided"as is" without guarantee.

Before using any information from this article, independently verify its suitability for your situation and project.

問題

  • 再現するための手順
    1. Liferay DXP 7.4
    を起動します 2. から「ドキュメントとメディア」に移動します。
    3. 画像をアップロードします。
    4. 画像の fileEntryId を取得します。
    5. システム設定 > カタログ(最初のブロックCommerce内)に移動します。
    7. > Default Catalog Imageを選択します。
    8. ステップ3のfileEntryIdを入力し、保存します。
    9. commerce > Productsに移動し、新しい製品を作成し、保存します。
    実際の結果です: イメージアイコンにデフォルトのLiferayロゴを使用した製品が作成されました。
    期待される結果 製品はアップロードされた画像をデフォルトの画像として使用する必要があります。

Environment

  • Liferay DXP 7.4
  • コマース4.0

解決策

  • 本製品のデフォルト画像を設定するためには、以下の手順が必要です。
    1.
    アプリケーションメニュー」をクリックします。
    2. Commerce」タブの「Catalogs」オプションをクリックします。
    3. デフォルトの商品画像を設定するカタログを選択します。
    4. カタログのデフォルト画像」で、画像を選択し、「保存」を押します。
    結果が表示されます: 画像なしで商品を作成した場合、指定したカタログで自動的に定義された画像がピックアップされます。
Did this article resolve your issue ?

Legacy Knowledge Base