• Resolved bfsempire

    (@bfsempire)


    I am getting duplictae data output on invoices for the variation attributes and product BIN locations.
    See the screenshot at: https://snipboard.io/DrUKd1.jpg

    I found no way to modift this within the plugins settings.
    What is the best way to declutter this for a cleaner output?

    Thanks.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Contributor Yordan Soares

    (@yordansoares)

    Hi @bfsempire,

    Please note that, by default, WooCommerce may add or remove attributes from the product title depending on the number of words and attributes (source).

    That said, you can force to always remove attributes in the variation titles using the following snippet:

    /**
    * WooCommerce: Exclude attributes from variation titles
    */
    add_filter( 'woocommerce_product_variation_title_include_attributes', '__return_false' );

    If you haven’t worked with code snippets (actions/filters) or functions.php before, read this guide: How to use code snippets. We also have a blog post here that you may find helpful about adding custom code to your site.

    Note: This change will only affect new orders. Existing orders will not be updated retroactively.

    Thread Starter bfsempire

    (@bfsempire)

    Thanks @yordansoares

    That snippet corrected the duplication issue.

    Plugin Contributor Yordan Soares

    (@yordansoares)

    I’m happy to hear that, @bfsempire! 🎉

    If you don’t mind and have the time, do you think you could leave us a review?

    Thanks in advance, and don’t hesitate to write again if you need more help!

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

You must be logged in to reply to this topic.