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?
Thanks,
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.
Thanks,
Hi!
I’m having the same issue, and I’ve just installed the plugin. Current version is 1.5.3.
Hello Dotstore,
We confirm that we have version 1.5.3 installed as screenshot:
https://imgshare.io/image/4jWEZ
The problem persists and useless attachement tab headings are created every time a product is updated with no attachments ever: https://www.odosermou.gr/shop/l-o-l-surprise-zoakia-biggie-pet/
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?
Solution
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) ) {
to
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.