legacy-knowledge-base
公開されました Jun. 30, 2025

異なるチャネルで同じフレンドリーURLの商品を追加できない

written-by

Kanchan Bisht

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

問題

  • 同じ友好的なURLを使用しながら、複数のチャネルで重複した商品を使用しようとしている。 現在の機能は、ユーザーが重複した場合、URLに1,2,....5...などがURLに追加されます。

    同じものを見るためのステップ

    1. カタログまたはチャンネルを作成する

    2. 製品を追加する。

    3. カタログを変更して製品を複製する

    4. 同じフレンドリーなURLを指定しようとすると、 "-1"

    予想される行動: ユーザーは、SEOのために同じフレンドリーなURLで異なるチャネルに重複した製品を利用したいですか?

Environment

  • Liferay DXP 7.4
  • Commerce 4.0

解決策

  • 観測された動作は、製品の友好的なURLで期待される動作である。
  • しかし、ユーザーが複数のチャネルで同じ製品を使用したい場合、製品を複製するのではなく、単一の製品(希望するフレンドリーなURL)を作成し、表示させたい特定のチャネルにVisibilityを変更するのが正しい方法です。
  • Applications Menu → Commerce → Products → 商品をクリック → Visibility → Activate Channel Filterで商品を編集する際にVisibilityタブを見つけることができる。

did-this-article-resolve-your-issue

legacy-knowledge-base