• Im using woocommecer and have product linked to 2 or more categorises, but dose not select the correct path the users use to get to that product.

    Plus when i got to the product i get product link added to the tail

    Ie;

    Home / Sea Fishing

    but when i click on the product to view it it changes to

    Home / Product / Sea Fishing / “Current product im viewing”

    also

    if i have a product that is linked to two categories say for instance
    a Tackle box in Sea fishing category and the same product link to Lure fishing category.

    and i view the from sea fishing, Ie

    Home / Sea Fishing

    when i sect the product to view it change to

    Home / product / Lure Fishing / “the product i select to view”

    site is still under construction but heres the link cetusfishing.co.uk

    https://www.ads-software.com/plugins/wordpress-seo/

Viewing 1 replies (of 1 total)
  • Thread Starter Alan Lang

    (@viktoryn)

    looking at the code in class-breadcrumbs.php

    /* As we could still have two subcategories, from different parent categories,
    let’s pick the one with the lowest ordered ancestor. */

    i don’t want yoast to pick which one i just want it to display the one the user got to the product by

Viewing 1 replies (of 1 total)
  • The topic ‘Breadcrumb category problem’ is closed to new replies.