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

メガメニューからコマースを非表示する方法について

written-by

Jordi Rodó

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

問題

  • メガメニューからコマースセクションを非表示にしたい

環境

  • DXP 7.4 Update 48+

解決

  • Update 47までは以下のプロパティをご利用できますが、Update 48から削除されました。
    enterprise.product.commerce.enabled=false
  • 以下の手順でコマースのセクション丸ごと非表示できます。
    1. 【コントロールパネル>システム設定>モジュール・コンテナー>バンドルブラックリスト】に移動

    2. 以下のモジュールを別々に追加
    com.liferay.commerce.currency.service
    com.liferay.commerce.health.status.web
    com.liferay.commerce.inventory.service
    com.liferay.commerce.order.web
    com.liferay.commerce.pricing.service
    com.liferay.commerce.product.service
    com.liferay.commerce.availability.estimate.web
    com.liferay.commerce.order.web
    com.liferay.commerce.avalara.connector.web
    3. 保存
    4. ログからモジュールが停止されることを確認
    5. ページをリロードして、メガメニューを開く
    →コマースセクションが表示されません

追加情報

 

did-this-article-resolve-your-issue

legacy-knowledge-base