Forum Replies Created

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter mattikeuh

    (@mattikeuh)

    I found the Solution.
    I needed to remove this:

                if ( wc_get_page_id( 'shop' ) ) { //Displaying Shop link in woocommerce archive page
                    $_name = wc_get_page_id( 'shop' ) ? get_the_title( wc_get_page_id( 'shop' ) ) : '';
                    $shop_url = wc_get_page_id( 'shop' ) && wc_get_page_id( 'shop' ) > 0  ? get_the_permalink( wc_get_page_id( 'shop' ) ) : home_url( '/shop' );
                    if ( ! $_name ) {
                        $product_post_type = get_post_type_object( 'product' );
                        $_name = $product_post_type->labels->singular_name;
                    }
                    echo ' <span itemprop="itemListElement" itemscope itemtype="https://schema.org/ListItem"><a itemprop="item" href="' . esc_url( $shop_url ) . '"><span itemprop="name">' . esc_html( $_name ) . '</span></a><meta itemprop="position" content="'. absint( $depth ).'" /> <span class="separator">' . $delimiter . '</span></span> ';
                    $depth++;
                }
    
    

    From the /inc/extras.php.

    Greetings,
    Mathieu

    Thread Starter mattikeuh

    (@mattikeuh)

    Thanks for reply. I will check the websites above.

    Thread Starter mattikeuh

    (@mattikeuh)

    Hello,
    I don’t have a url, It’s running on a local computer to test some things.
    https://prnt.sc/26iko9s

    This is a screenshot from the title + breadcrumb.
    If you check it you see=> Home > Shop > T-shirt.
    But i don’t use the Shop Item so my question is how to remove the “shop” ? Because the Shop isn’t a catagory. If i delete the page ‘Shop” Then it change to: Products automatically.

    Greetings.

    Thread Starter mattikeuh

    (@mattikeuh)

    I only need the code for a discount code that the total is less and not the ticket.

Viewing 4 replies - 1 through 4 (of 4 total)