• kunzi

    (@kunzi)


    Hi,

    We have this in our breadcrumbs: Home > Woocommerce Products > Category Name

    How to change that “Woocommerce Products” to something else? Where does that title come from? This just appeared and before it was just Products. The page name is Products.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author John Havlik

    (@mtekk)

    This could be one of two things, either it’s a root page for the product post type, or it is a link to the archive for the product post type. The root page is controlled by the “Root Page” setting for the product post type. For the latter, the ‘Archive Display’ setting controls its inclusion.

    Thread Starter kunzi

    (@kunzi)

    Thanks. It was the root page for product post type. However as we have WPML in use and other language with it, it seems that it shows “Product” for the other language too even when the page set as WooCommerce’s Shop Page has a name in other language. Any ideas on that and why it does not show the real translated page’s name in the breadcrumbs?

    Plugin Author John Havlik

    (@mtekk)

    Since root pages are not truly a part of WordPress core, translating them requires additional code which is not present in WPML nor Breadcrumb NavXT. You can do this by using the bcn_before_fill action to modify the root page settings just before the breadcrumb trail is generated. This said, there is a extension for Breadcrumb NavXT that adds WPML string translation support for root page translation (in addition to the rest of the Breadcrumb NavXT settings).

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Change “Woocommerce Products”’ is closed to new replies.