• Resolved Blue2 GmbH

    (@blue2shop)


    Hello,
    we have installed and configured the plugin.
    Now we see that there is no possibility to change the table headlines.
    Actually we have not found better solution than creating a css snipet. But after using it the style of the table changed (got higher).
    Is there any possibilty to substitute the shown headlines?

    CSS-Snipet:

    /* Span Tag Produkt / .wishlist_table .product-name span{ display: none; } .product-name:after { content: ‘Produkt’; } / Span Tag Preis / .wishlist_table thead .product-price span{ display: none; } .product-price:after { content: ‘Preis’; } / Span Tag */
    .wishlist_table thead .product-stock-status span{
    display: none;
    }
    .product-stock-status:after {
    content: ‘Verfügbarkeit’;
    }

    Many thanks for help!
    Johannes

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support Juan Coronel

    (@juaancmendez)

    Hello Johannes,
    we hope you’re doing well!

    In order to achieve what you need, please add the following code in the functions.php file of your active child theme:

    if ( ! function_exists( 'yith_wcwl_wishlist_view_name_heading_custom' ) ) {
        function yith_wcwl_wishlist_view_name_heading_custom() {
            return 'Produkt';
        }
        add_filter( 'yith_wcwl_wishlist_view_name_heading', 'yith_wcwl_wishlist_view_name_heading_custom', 99 );
    }
    if ( ! function_exists( 'yith_wcwl_wishlist_view_price_heading_custom' ) ) {
        function yith_wcwl_wishlist_view_price_heading_custom() {
            return 'Preis';
        }
        add_filter( 'yith_wcwl_wishlist_view_price_heading', 'yith_wcwl_wishlist_view_price_heading_custom', 99 );
    }
    if ( ! function_exists( 'yith_wcwl_wishlist_view_stock_heading_custom' ) ) {
        function yith_wcwl_wishlist_view_stock_heading_custom() {
            return 'Verfügbarkeit';
        }
        add_filter( 'yith_wcwl_wishlist_view_stock_heading', 'yith_wcwl_wishlist_view_stock_heading_custom', 99 );
    }

    Check it out and tell us if it works well for you, please.

    Best regards.

    Thread Starter Blue2 GmbH

    (@blue2shop)

    Thanks a lot for giving me a helping hand!
    Everything works fine now.

    Kind regards,
    Johannes

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Change language of table text’ is closed to new replies.