Support » Plugin: Product Attachment for WooCommerce » Useless Product Tab created

  • Resolved geonolis


    Thank you for the usefull plugin.

    I have added PDF attachments to some products in my eshop and the Product Tab has been created nicely on the front end.

    But… whenever I update any other Woocommerce product, without adding any attachments, an empty and useless Attachment Product Tab appears in the shop front-end product page.

    Is it a bug? Can you solve it?

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

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author Dotstore


    Hello geonolis,

    Thanks for reaching out to us.

    I have reviewed our latest plugin version 1..5.3 and I can see that once remove all the attachments or without attachment plugin does not display the attachment tab.

    Can you review at your side again and share a video or screen with your query and current activated plugin version?


    Plugin Author Dotstore


    Hello geonolis,

    I hope you are doing well.

    We haven’t heard back from you in a while, so I’m going to mark this as resolved – if you have any further questions, you can start a new thread.



    I’m having the same issue, and I’ve just installed the plugin. Current version is 1.5.3.

    Thread Starter geonolis


    Hello Dotstore,
    We confirm that we have version 1.5.3 installed as screenshot:
    The problem persists and useless attachement tab headings are created every time a product is updated with no attachments ever:
    Thank you for the nice plugin.

    • This reply was modified 2 years, 11 months ago by geonolis.

    Same here, version 1.5.3. Tab gets created after updating product.

    Here also ):

    Did anyone made a solution without directly editing the plugin?


    Edit file:
    woo-product-attachment > public > class-woocommerce-product-attachment-public.php

    go to line 239 and change

    if ( !empty($wcpoa_product_page_enable) || !empty($wcpoa_bulk_att_data) ) {


    if ( $wcpoa_product_page_enable_count > 1 || !empty($wcpoa_bulk_att_data) ) {

    and add count above that:

    $wcpoa_product_page_enable_count = count($wcpoa_product_page_enable);

    But further plugin update will break this edits, so we will need to rely on plugin developers to consider and test these changes.

    • This reply was modified 2 years, 10 months ago by rkoms.
    • This reply was modified 2 years, 10 months ago by rkoms.
Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Useless Product Tab created’ is closed to new replies.