Plugin Author
Dominik
(@sldesignpl)
Hello,
thank you for the feedback.
Currently, the plugin does not provide any shortcodes, but it’s a good idea, and we will consider adding it in the next version of the plugin.
Plugin Author
Dominik
(@sldesignpl)
Hi,
The ability to add a shortcode has been added in the latest version. Please check if this is a satisfactory solution for you. Things related to appearance will have to be resolved on your own through CSS.
Hi there!
Thanks, but what is the shortcode?
Plugin Author
Dominik
(@sldesignpl)
You can find all the necessary information in the changelog or the plugin settings.
Oops! Thanks, I found it!
But after we update plugin to the last version, we can’t attach any file in order & “nonce” error shows to us.
How can we fix it?
Also I try new update on my another website, I have the same error.
The plugin error in persian:
اعتبار nonce را نمیتوان تایید کرد.
Also it’s take a long time to show this error message.
Also this is the log:
11/10/2024 16:09:34.772005 INFO req {“action”:”wcoa_add_attachment”,”order_id”:”115251″,”woocommerce-login-nonce”:null,”_wpnonce”:null,”woocommerce-reset-password-nonce”:null} []
Plugin Author
Dominik
(@sldesignpl)
The error most likely occurs because I would need to clear the cache or reload the style and script files to update them. However, to prevent this kind of issue in the future, I have just released a fix. Please check it in the latest version.
Thanks for supporting & new update, but the error exists yet 🙁
Plugin Author
Dominik
(@sldesignpl)
So, going back to what I mentioned earlier, make sure that the server’s cache isn’t storing outdated plugin data.
What I can confirm at this point is that the plugin is not using the latest version of the wcoa.js file.
View the source of your site and check if there is a reference to:
/wp-content/plugins/order-attachments-for-woocommerce/assets/admin/js/wcoa.js?ver=2.5.1
The key part here is ver=2.5.1.
If it’s not there, you need to refresh the cache, meaning it’s not an issue with the plugin itself.
We can’t use plugin 🙁
also this error shows to us:
Error 0 – errorundefined
It’s fixed & I didn’t understand the problem.
But the [wcoa_display_all_attachments] shortcode didn’t works ture. It’s always shows “There are no attachments to display.” message even if the user have many attachments on orders.
Also I have another suggestion for next updates:
In woocommerce order notes shows the admin name who attached the file to order & also shows the file name that has been attached.