How do I display the path from the main page to the product in breadcrumbs in Magento 2?

Dieses Thema im Forum "On The Road" wurde erstellt von Fertaras, 29. September 2024.

  1. Fertaras

    Fertaras Co-Pilot

    Beiträge:
    48
    Likes:
    0
    In order for magento 2 to add breadcrumbs to custom page, you will need to edit the page template that you want to add breadcrumbs to. Open the corresponding phtml file of your custom module and add the code to display the breadcrumbs. Make sure that you are calling the correct categories and subcategories. You may also need to add the appropriate CSS to make the breadcrumbs look harmonious with the rest of the page design. After that, test to make sure that the bread crumbs are displayed correctly.
     

Diese Seite empfehlen