• Hi this plugin is great. I need a little help, I need to display SKU after product title in wishlist page. How can I achieve that? Please help me ASAP. Thank you.

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

Viewing 1 replies (of 1 total)
  • Plugin Author Pablo Pacheco

    (@karzin)

    Hello,

    Sorry for the delay, and thanks for your words!
    You can change the template in order to do that.

    The ideal is copying it to your theme folder first. You can follow the steps:

    Copy
    – wish-list-for-woocommerce\templates\wish-list.php

    Paste
    – your-theme-folder\wish-list-for-woocommerce\

    Now on line 92, you can replace the entire <td> element by this one:

    
    <td data-title="<?php _e( 'Title', 'wish-list-for-woocommerce' ); ?>" class="product-name">
        <a href="<?php echo esc_url( get_permalink( get_the_ID() ) ); ?>"><?php the_title(); ?></a>
        <div><strong>SKU:</strong> <?php echo $product->get_sku(); ?></div>
    </td>
    

    Please, tell me if it suits you ??

    • This reply was modified 6 years, 10 months ago by Pablo Pacheco.
    • This reply was modified 6 years, 10 months ago by Pablo Pacheco.
Viewing 1 replies (of 1 total)
  • The topic ‘Displaying Sku in wishlist page’ is closed to new replies.