Sorry forgot the line of code that has to be deleted so the attachment appears. It is this first line
“add_filter( ‘woocommerce_product_tabs’, ‘cg_product_downloads_tab’);”
if this is gone I can see all the PDF etc. but as I said if this line is not set every product has got the attachment from now on.