• Resolved 0108daniel

    (@0108daniel)


    We have more than 10,000 products in our webshop.
    Now we see that our competitors have added the article number to the titles.
    At the time, we thought it was unnecessary and messy to have numbers in the form of an article number next to the title of the product.
    Now we wanted to test this, perhaps it will also contribute to the sales of our products.
    It is not possible to provide all products with an article number in the title.
    My question is whether there is a plugin that automatically takes the article numbers from woocommerce and can add them to the end of the title of the product.
    We already searched for this but had no result yet.

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Support ckadenge (woo-hc)

    (@ckadenge)

    Hi @0108daniel,

    Thank you for reaching out.

    Your approach to adding article numbers to your product titles is well-thought-out, however, there isn’t a specific plugin that automatically adds the article numbers to the end of your product titles, you can achieve this by using a bit of custom code in your theme’s functions.php file.

    In that case, I suggest reaching out to a developer, as this involves custom coding and implementations. The WooCommerce community is filled with talented open-source developers, and many of them are active on the channels listed below:

    Hope this helps!

    Thread Starter 0108daniel

    (@0108daniel)

    Thank you for your answer.
    To bad that there is not a plugin for that.
    I have a web builder, so I ask him if it is possible.
    Thank you.

    Plugin Support ckadenge (woo-hc)

    (@ckadenge)

    Hi @0108daniel,

    It’s unfortunate that a specific plugin for your needs isn’t available, it’s great that you have a web builder who might be able to help. They might be able to create a custom solution for you.

    In that case, I’ll go ahead and mark this thread as solved. Should you have any further questions, please feel free to reach out.

    All the best.

    Hi @0108daniel

    function add_sku_to_product_title( $title, $id ) {
    if ( is_product() && get_post_type( $id ) === 'product' ) {
    $product = wc_get_product( $id );
    $sku = $product->get_sku();
    if ( $sku ) {
    $title .= ' - ' . $sku;
    }
    }
    return $title;
    }
    add_filter( 'the_title', 'add_sku_to_product_title', 10, 2 );

    Add this function to your child theme. Please do Database backup first.

    Please try this and if you need more help. Happy to create plugin for the same.

    Thanks
    woopluginstore

    Plugin Support Zubair Zahid (woo-hc)

    (@doublezed2)

    Hello woopluginstore,

    Thank you for your message.

    I appreciate your contribution and your eagerness to support the Woo community!
    I am sure many WooCommerce users will benefit from this.

    Have a great day!

    Best regards.

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