• Within wishlist-view.php show both the first name and the last name of the author of the product under the product that comes in the td of product-name

    • This topic was modified 2 months, 3 weeks ago by Jaydip Dabhi.
    • This topic was modified 2 months, 3 weeks ago by Jaydip Dabhi.
    • This topic was modified 2 months, 3 weeks ago by Jaydip Dabhi.
Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter Jaydip Dabhi

    (@jaydipdabhi25)

    You can see this screen short : https://prnt.sc/Vkf6sJOxyx9m

    Plugin Support Juan Coronel

    (@juaancmendez)

    Hello there,
    thanks for contacting us!

    You can add the information you want by adding the following code inside the functions.php file of your active child theme:

    if ( ! function_exists( 'yith_wcwl_table_after_product_name_custom' ) ) {
    function yith_wcwl_table_after_product_name_custom( $item ) {
    $product = $item->get_product(); // product object
    $data = 'test data'; //insert here the logic to obtain what you need
    echo wp_kses_post( $data );
    }
    add_action( 'yith_wcwl_table_after_product_name', 'yith_wcwl_table_after_product_name_custom', 99 );
    }

    You just have to check how to get the data you want.

    Could you check it, please?

    Best regards.

Viewing 2 replies - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.