• Resolved v0van

    (@v0van)


    I am using the “WooCommerce-Breadcrumbs” plugin and accordingly the woocommerce_breadcrumb() function to create breadcrumbs.

    How to Remove WooCommerce Main Shop Page from breadcrumbs?

    Home / Shop / Category / Product

    Home – /
    Shop – /shop/ – the main page of the WooCommerce store.

    The WooCommerce plugin does not allow you to designate the main page of the site at the same time as the main page of the store. I tried.

    WooCommerce — Settings

    /wp-admin/admin.php?page=wc-settings

    Store Page – “Shop”

    If the store is used as an addition to the blog, then the “Shop” page is needed. This is logical. “Home”=”Blog”.
    If the store is used as the main site engine, then the “Shop” page is NOT needed. Not logical.

    In the “WooCommerce-Breadcrumbs” plugin, you can change the settings

    Settings — WC Breadcrumbs

    /wp-admin/options-general.php?page=woocommerce-breadcrumbs
    You can set “Home text” and “Home URL” for the main page of the site. But there is no option for the store front page.

    * * *

    RU:

    Я использую плагин “WooCommerce-Breadcrumbs” и соответственно функцию woocommerce_breadcrumb() для создания хлебных крошек.

    Как удалить из крошек страницу “Магазин” WooCommerce

    Home / Магазин / Категория / Товар

    Home – /
    Магазин – /shop/ – главная страница магазина WooCommerce.

    плагин WooCommerce не позволяет назначить главную страницу сайта одновременно и главной страницей магазина. Я пробовал.

    WooCommerce — Настройки

    /wp-admin/admin.php?page=wc-settings

    Страница Магазина – “Магазин”

    Если магазин используется как дополнение к блогу, то страница “Магазин” нужна. Это логично. “Home”=”Blog”
    Если магазин используется как освновной движок сайта – то страница “Магазин” НЕ нужна. Не логично.

    В плагине “WooCommerce-Breadcrumbs” можно менять настройки

    Настройки — WC Breadcrumbs

    /wp-admin/options-general.php?page=woocommerce-breadcrumbs
    Можно задать “Home text” и “Home URL” для главной страницы сайта. Но нет опции для главной страницы магазина.`

    • This topic was modified 2 years, 1 month ago by v0van.
    • This topic was modified 2 years, 1 month ago by v0van.
Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Anthony Hortin

    (@ahortin)

    Hi,

    This plugin wont allow you to alter the contents of the WooCommerce Breadcrumbs. This plugin will only allow you to restyle the WooCommerce breadcrumbs by allowing you to change the HTML surrounding your breadcrumbs. It also allows you to turn the breadcrumbs On or Off, completely. This plugin isn’t designed to allow you to change what ‘crumbs’ (i.e. links) are included in the actual breadcrumbs.

    Thread Starter v0van

    (@v0van)

    Thanks for answering

    this is xxxxx

    Thread Starter v0van

    (@v0van)

    I figured out this issue. It turns out that WP makes crumbs not only on the basis of “Category-Subcategory-Product” but also on the main page urls.
    for example, if the “main page of the store” is /shop/ and the additional slug of the product is also /shop/ (the product slug is /shop/samsung-ue22h5600/ ) then the “main page of the store” becomes breadcrumbs between “Main” and “Category”.
    It is necessary to make for the “main page of the store” just another slug and it will disappear from the breadcrumbs.

    RU:

    Я разобрался с этим вопросом. Оказывается WP делает крошки не только на основе “Категория-Подкатегория-Товар” но и также на основе урлов страниц.
    например если “главная страница магазина” /shop/ а дополнительный слуг товара тоже /shop/ (товар – /shop/televizor-samsung-ue22h5600/ ) то “главная страница магазина” становится в хлебные крошки между “Главная” и “Категория”.
    Надо сделать для “главная страница магазина” просто другой слуг и она исчезнет из хлебных крошек.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘How to Remove WooCommerce Main Shop Page from breadcrumbs?’ is closed to new replies.