Viewing 15 replies - 1 through 15 (of 21 total)
  • Thread Starter Ben

    (@ben69007)

    Hi,

    I’ve found the way to have the good display while navigation in the shop :
    MYSITE > SHOP > MYPRODUCT1
    MYSITE > SHOP > MYPRODUCT2
    MYSITE > SHOP > MYPRODUCT3
    but the problem persists if we go to the root of the shop.. It is displaying :
    MYSITE > Products
    and not
    MYSITE > SHOP
    Why ?

    Product Root Page is set to : SHOP
    Product Archive Display is unchecked.
    Product Hierarchy Display is checked by Category (it’s ok for me).

    Thank you for your help.

    Plugin Author John Havlik

    (@mtekk)

    Looking at this on my testbed (with latest WooCommerce and Breadcrumb NavXT) I get:

    For a product:
    HOME > SHOP > PRODUCT

    When I click on SHOP:
    Home > SHOP > Products

    This result is slightly unexpected to me, though possibly/technically correct. I’m going to look into it.

    Thread Starter Ben

    (@ben69007)

    Hello John,
    Thank you very much for taking the time to respond and look into it.
    My site is under maintenance mode but feel free to tell me if you need to have a look in it, I will unlock it.
    Best regards

    Plugin Author John Havlik

    (@mtekk)

    Ok, I know why this is occurring. Now I need to decide/determine if it is an oversight on my part when I initially wrote the offending chunk of code, or if there was some other reason that it is the way it is.

    Plugin Author John Havlik

    (@mtekk)

    The more I look at this, I’m beginning to think it may actually be something Woocommerce is causing. When I wrote the code, I think I had assumed the root page would not show up as a archive (is_archive() would not return true). However, that isn’t the case here. Now, realistically, what Woocommerce is doing is more correct (much closer to the page for posts that WordPress does for the post post type) than what I had initially assumed others would be doing.

    Plugin Author John Havlik

    (@mtekk)

    FYI, I’m tracking this in the following GitHub issue: https://github.com/mtekk/Breadcrumb-NavXT/issues/116

    Thread Starter Ben

    (@ben69007)

    Hello John,
    Thanx a lot for your feedback.
    When I have read your 1rst response, I was talking to me “so this is probably coming from Woocommerce”. I couldn’t tell, I do not have the suffisant skill.
    I bookmark your link on GitHub, thank you to have opened it!

    Plugin Author John Havlik

    (@mtekk)

    If you want, you can try the 5.3.0 development build aka gymnast ( https://github.com/mtekk/Breadcrumb-NavXT/tree/gymnast ). It should have a preliminary fix to this. However, note that the behavior of “Archive Display” and “Root Page” will change slightly before 5.3.0 is released.

    Thread Starter Ben

    (@ben69007)

    Hello John,
    Thank you for the info.
    I have downloaded and installed the gymnast build (previously desactivated the 5.2.2 version). For the moment I do not notice any modification, the breadcrumb shows “Products” instead the “Name of the shop page defined in Woocommerce”. But It still work when navigate the shop. On a product page or a category page, the breadcrumb appears with the good “Name of the shop”. Strangely, the problem persist only in the root page of the shop.
    If you need, let me know a way to contact you and give you access to the site if you need to have a look.
    Thank you.

    Plugin Author John Havlik

    (@mtekk)

    Did you change your “Products Root” page in the Breadcrumb NavXT settings to “Shop” (or whatever that page is), and unchecked the Display Product Archive setting? Those two changes should activate the new code path (was working on my testbed).

    Thread Starter Ben

    (@ben69007)

    Hello John,

    Yes those 2 options are set as you told.
    The name of my products page in Woocommerce is PRODUCTIONS, embeded in a page named “PRODUCTIONS” of course.

    Here is a link of the Post Types tab in Breadcrumb NavXT dashboard.

    What is unbelievable is that the Breadcrumb is correct when I navigate the shop. HOME > PRODUCTIONS > Product1

    Do have I to uninstall 5.2.2 version ? I only desactivated it and install the gymnast version.

    Plugin Author John Havlik

    (@mtekk)

    No, you should not have to uninstall 5.2.2, just deactivate it. Can you try doing a settings reset:

    1. In the Breadcrumb NavXT settings page, click the “Help” button in the upper right hand corner of the screen.
    2. In the dropdown, click on the “Import/Export/Reset” entry in the navigation pane to the left hand side of the dropdown.
    3. In the Import/Export/Reset form, press the “Reset” button.

    By the way, what version of WooCommerce are you using?

    Thread Starter Ben

    (@ben69007)

    Hello John,
    Thank you for your response.
    I have followed your steps. After reset settings I select again “PRODUCTIONS” in the Product Root Page option and uncheck Product Archive Display. Visibly nothing change in my side. I also cleared the cache (I use WP Super Cache). Concerning WooCommerce, I use v.2.3.13, the last one.

    Thread Starter Ben

    (@ben69007)

    If you need access to have a look, could you give me a mail address or a form url where I can send you the URL of my site + password.
    Thanx again for your help.

    Plugin Author John Havlik

    (@mtekk)

    Use the email address listed on mtekk.us/contact

Viewing 15 replies - 1 through 15 (of 21 total)
  • The topic ‘Change "MYSITE > Products" by "MYSITE > SHOP" (Woocommerce)’ is closed to new replies.