Code

Discussion on WooCommerce Attach Me!

Discussion on WooCommerce Attach Me!

Cart 1,959 sales
Recently Updated

vanquish supports this item

Supported

780 comments found.

Hi,

thanks for that great plugin. I’d like to attach a pdf evertime i reveice a new order. I did add the pdf on automatic emails attachment configurator and did set the marker on “Select to which status email the attachment as to be attached”. But its not working… maybe i am doing something wrong. Can you help me?

My email: andreasenglowski@me.com

Thanks in advance

Hi,
as you can test on the demo site, that feature is properly working. To configure you have just to select the email type as showed in the following screen: https://dl.dropboxusercontent.com/u/188630/support/wcam_automatic_email.jpg

NOTE that the New order email is sent by the system only to the admin. If you want to automatically send an attachment to the customer you have also to select the Order placed option (this is the default state in which the order is setted by WooCommerce after it is placed. In case you are using another default state, check that one ).

So let see if i get this right(basically a presale question): with attach me customer can proceed to cart and checkout with a product without a price. Then i as admin can calculate the price, upload it to a googledrive folder of that user, insert the link and change the price of that order. Then the price and attachement show up in the users my account page in a separate tab and notified by mail, where he/she can accept my offer or decline it. If accepted the customer gets an invoice and after it is paid the direct link to the file he/she was intending to buy?

Hi,
no the plugin has a simpler behaviour. It simply allows you to attach a file to an order and make it visible according to the order status. Optionally it can be sent via woocommerce notitification emails to the users. It has any setting regarding order price managment (accept, decline, etc).

Attachment are showed in the frontend order details page, under the order items table.

The plugin has a full demo site:
url: http://www.codecanyon.eu/wcam/wp-admin/
user: demo
pass: demo

Where you can do some tests before purchasing to see if it really fits you expectations and needs.

Hi, I’m trying to set a custom media upload location, making possible to change the default ”/wp-content/uploads” path to ”/wp-content/media”, for example. It seems working fine renaming the uploads folder to “media” and adding this code in wp-uploads.php, as described on: https://codex.wordpress.org/Editing_wp-config.php#Moving_uploads_folder But, after doing that, when i upload a new file on some order using your plugin and the customer tries to download this file, this error occurs: https://snag.gy/djTI2O.jpg Can you provide a solution for that? Thanks!

So,
the error raises both when attaching media from gallery or uploading from disk and using the secure link system ( http://localhost?wcam_id=1234-1 ) ?

It is quite strange, the plugin to retrieve the media files, it simply uses the default wordpress function get_attached_file( $attachment_id ); passing to it the current media id (https://codex.wordpress.org/Function_Reference/get_attached_file )
For disk files it uses the default wp_handle_upload that stores and returns the folder path in which the file has been stored (in you case midia folder).

Can you send me a private message (click on my name and then the use the low-right box) with an admin access? In this way I can do some live debug and try to figure out what’s wrong in your installation.
Thank you.

I’ve performed some tests on a test env of mine. I’ve changed the upload folder name as you posted, and the plugin seems to properly work.
However I’ve improved a function to read the file when using the secure link. I don’t know if this could be the cause for which your installation was failing to read the file. The new 8.4 version will be avaiable to download in 2 – 3 days (CodeCanyon takes awhile to publish new updates) but if you send a private message (click on my name and then use the low-right box) with you email address I can send you the update via email.

NOTE I’ve just now noticed you are using the plugin in a local host installation. Can you try using it in a remote web server?

Thanks! I’ll send you a message and try the v8.4 before try it on a remote server.

Hi,

I need to attach an invoice (specific PDF file for each order) and a PDF instruction file for a specific category of products, to my complete order email.

I’ve set a Bulk products attachments for the instruction file, which works fine.

However, when I change the order to complete and send the email, there is only one file sent: the invoice. If I don’t attach the invoice to the order, I receive the instruction file.

It seems there is a bug which doesn’t allow two files to be attached to the email.

Thank you for your help.

I also receive two emails with the instruction file, if I order two products of this specific category. Is there a way to avoid sending the same file multiple times?

It sounds quite strange. I’ve done several tests, even in the demo site, and it seems to properly work.
I’ve created an automatic email attachment for Complete order email. Then on the order page, I’ve attached a file enabling the Attach file to the Complete order email option.
At last I’ve marked the order as completed and saved the order. In this way I’ve properly received the email with the two attachement.

Few questions:
  1. Which plugin version are you running? can you trying updating to the latest 8.2 version and retryperformin the tests?
  2. Can you share some screenshot of the attachment configuration you are using?
Thank you.

Thank you vanquish for your help.

1. I was running 8.0 version. I updated to 8.2. My last problem seems to have been solved with this update (the same file was attached twice if there were two products corresponding to the same bulk product attachment). However, I have still a problem to send the complete order email with both the invoice and the instruction file.

2. I captured 2 videos explaining the problem. I’m sending you the YouTube links by e-mail, because I’d rather not publish it here publicly.

Thanks!

i got same problem with samym, after update to wordpress 4.7, WC 2.6.9. all plugin working fine except attachme plugin. when i activate attachme, i got 500 http error, when disable plugin via FTP all working fine.

i’m using TM Extra Product Options plugin to, at first i thought it was their plugin causing error, instead it’s attachme plugin causing 500 http error,

any fix for this??

please help.

thanks

Hi,
Yes I’ve released a new version that addresses this issue. It has been published but it will be available to download in 2 or 3 days (codecanyon approval system takes awhile). However if you send me a private message (click on my name then use the low right box) I can send you the update via email!

i’ve sent PM for you, thanks vanquish

After activating the plugin I am getting a blank page in wp-admin. Need to rename the plugin folder via FTP to get access back in wp-admin. Please advise.

Login details has been sent as private mail.

Please update

I’ve answered just after you wrote to me. I’ve also reanswered ti the second email. Please check you spam folder. However here what I’ve wrote:

Hi, thank you for the access. I’ve performed some analysis and the issue seems that issue is related to the wp_handle_upload wordpress function.

It seems that both the plugin were initializing it interfearing each other. I’ve implemented a fix in my plugin that prevents this kind of interferece by 3rd party plugin.

I’ve updated your insallation and you find the new plugin version attached to this email.

If you have appreciated my support service please consider to leave the 5 stars :)
I would really appreciate! (to leave a rating, go to your profile then click on “Download” tab and from there you can leave ratings to all your purchases)


The update is now officially Available to download from codeCanyon, so you can download from the plugin page.

Hello, some questions for you!

1. If an email is sent with a [wcam_order_page_link], they are not redirected to their order page if they need to log in first. It seems like they should be redirected, is there a way to do that?

2. The email has a link on top and bottom that links to http not https (our site is https). https is what I have in WordPress site settings. Is there a place I can change this?

On issue 2: I think the email link issue is just the email client creating a link, since the site is knitterain.com, perhaps it makes a link and defaults to http. It’s the same link from WooCommerce renders. It’s a non-issue.

Yes,
for the 2. you’re right :)

For 1. the redirect after login for users who requested a download it’s in the work! I’ll let you know when it will be ready! :)

Excellent, thank you!

Is it possible to add an Order Attachments tab in their My Account area so it’s easier for people to find their attachments?

You rock. Honestly at first, all users need for is an option for text in the “Downloads” area of their “My Account” page telling them if they’re looking for attachments go to the Orders page. I’m adding text like this to their email, but it’s helpful for those that are thinking downloads and click the downloads tab and find “No downloads available yet.” “Go Shop”. :-)

Actually I can use the Download tab to list the orders attachments, it requires some plugin component to be redisigned. However, thank you for the idea, I’ll let you know! :)

Thanks for this. I’m great at ideas, not so great at coding :P

Downloaded attachments have duplicate file extensions, how do I resolve this?

Done, thank you.

Updated thanks, this seems to fix new attachments, not existing, correct?

No, unfortunately the existing attachments cannot be fixed. They have to be deleted and the reloaded.

If you have appreciated my support service, please consider to leave the 5 stars! I would really appreciate! :)
(To leave a rating: go to your profile then click on “downloads” and from there you can rate all your purchases)
Have a good night! :)

A feature suggestion for the Attach Me plugin: Could the system be set up to trigger an order status change when a customer approves their attachment? The plugin sends emails to the administrator when the attachment is approved which is really cool, but instead of us then having to log in and manually change the order status, it would be great if your component could do that as well. Would be a great time saver.

Good news!
I’ve release the new 8.1 version that now allows you to automatically set order status according to the user approval selected option.
The update will be ready to download in 2 or 3 days from the CodeCanyon plugin page (their approval system takes awhile to approve new updates).

However if you send me a private message (click on mu name then use the low-right box) I can send you the update directly via email! :)

I hope you enjoy and if so… please consider to leave the 5 stars :) I would really really appreciate! (to leave a rating, go to your profile then click on “Download” tab and from there you can leave ratings to all your purchases)

That’s awesome – thank you. Haven’t tried it out yet but will definitely do so in the next few days. Your fast turnaround of a new feature request will really help us using this plugin. Thank you!!

You’re welcome :)
P.s.
he plugin is still in the approval process by CodeCanyon, most likely they will release next week. However if you contact me via private message I can send you via email! :)

Hello I have a printing shop client that they want to use this for artwork approval. Is this good use?

Hi,
yes the plugin has been designed to help in activities like that. Once an order has been placed, the shop admin can easily attach an artwork to the order notifying the user about that.
The user then can approve the artwork and leave a feedback to the admin (optionally a notification email can be enabled for that).
Lately the shop admin that can eventually create a new attachment with a new artwork and go on until they agree on the final result.

The plugin has a demo site:
http://codecanyon.eu/wcam/wp-admin
user: demo
pass: demo
Where you can do some tests to see if the plugin fully mets your needs and expectations. I hope you can enjoy :)

Hi,

This is a pre-sale question.

Can this work with the WooCommerce PDF Invoices plugin?

If I attach a picture to the order using your plug-in, will the picture shows up in the PDF invoice?

Thanks.

Hi,
not the plugin has not support for the WooCommerce PDF Invoices plugin (and vice versa).
So attached files will not be showed in the pdf invoice.

The only thing that you can do is to attach the file to the Customer invoce email. To do so, you have just to attach a file to the order, then on the attachment options check the Attach file to the Customer Invoice email.
In this way the file will be attached to the invoice email.

You can do some tests using the demo site:
http://www.codecanyon.eu/wcam/wp-admin
user: demo
pass: demo
To see if that feature fits your needs and expectations before purchasing. If you need futher information, feel free to ask :)

Hello,

After upload a file using the admin panel, when I try to download it, a PHP error is showed:

( ! ) Warning: filesize(): stat failed for Z:datawwwwww.myproject.eswp/wp-content/uploads/wcam/3215/9933myfile.pdf in Z:\data\www\www.myproject.es\wp\wp-content\plugins\woocommerce-attach-me\classes\com\WCAM_File.php on line 88

I have checked the wp_postmeta table and the information associated to the absolute path is not valid:

a:2:{i:0;a:15:{s:5:”title”;s:7:”Factura”;s:2:”id”;s:1:”0”;s:15:”secure-download”;s:3:”yes”;s:27:”customer-has-to-be-approved”;s:2:”no”;s:22:”customer-can-reapprove”;s:2:”no”;s:25:”customer-feedback-enabled”;s:2:”no”;s:26:”customer-feedback-strategy”;s:6:”always”;s:27:”customer-admin-notification”;s:2:”no”;s:37:”attach-file-to-processing-order-email”;s:2:”no”;s:35:”attach-file-to-complete-order-email”;s:2:”no”;s:37:”attach-file-to-customer-invoice-email”;s:2:”no”;s:31:”order-attachment-hide-by-status”;a:0:{}s:32:”display-copy-to-clipboard-button”;s:2:”no”;s:13:”absolute_path”;s:94:”Z:datawwwwww.myproject.eswp/wp-content/uploads/wcam/3215/9933_myfile.pdf”;s:3:”url”;s:37:”http://www.itglobal.es?wcam_id=3215-0”;}i:1;a:15:{s:5:”title”;s:8:”Albarán”;s:2:”id”;s:1:”1”;s:15:”secure-download”;s:3:”yes”;s:27:”customer-has-to-be-approved”;s:2:”no”;s:22:”customer-can-reapprove”;s:2:”no”;s:25:”customer-feedback-enabled”;s:2:”no”;s:26:”customer-feedback-strategy”;s:6:”always”;s:27:”customer-admin-notification”;s:2:”no”;s:37:”attach-file-to-processing-order-email”;s:2:”no”;s:35:”attach-file-to-complete-order-email”;s:2:”no”;s:37:”attach-file-to-customer-invoice-email”;s:2:”no”;s:31:”order-attachment-hide-by-status”;a:0:{}s:32:”display-copy-to-clipboard-button”;s:2:”no”;s:13:”absolute_path”;s:71:”Z:datawwwwww.itglobal.eswp/wp-content/uploads/wcam/3215/123_factura.pdf”;s:3:”url”;s:37:”http://www.itglobal.es?wcam_id=3215-1”;}}

As you can see, the absolute path does not include the directory separator character.

How can I solve this problem?

Hi,
it is quite strange. As you can see from the demo, both attaching a file to a product or to an order, it can be properly downloaded:
http://www.codecanyon.eu/wcam/index.php/my-account/view-order/278/
user: demo
pass: demo


The plugin retrieves the file local path using the WordPress built in function wp_handle_upload: https://codex.wordpress.org/Function_Reference/wp_handle_upload#Return_values
As you can see that function return an array wich the file index contains the path to the local file just handled.

This is more a wordpress issue than plugin issue. A question, are you using the plugin in a local server?

What do you mean that the absolute_path doesn’t include directori separator? the Z:datawwwwww.itglobal sounds strange as root path.

Would be possible to have a full admin access to your backend to do some deep tests to try to figure out whats wrong in your installation?

Hi,

I’ve added an attachment to a product, and now I want to remove it, but there doesn’t seem to be an option to remove it? Or at least, I can’t find an option to remove it?

Please advise.

Cheers.

Disregard, I’ve found it..

Hello Vanquish,

Great plugin, I’ve a question though once you are done with adding an attachment to the order, why we don’t have an edit functionality to update existing option of attachment box? I meant in case you would like to change options or setting you’ve to delete the attachment box and add another ? is it possible to add some kind of functionality where you can edit existing attachment box options ?

Let me know in case I’m missing something :)

Thanks, Dev

Hi,
for now there is any option to edit orders attachments. As you said, to edit an attachment, you have to delete and reattach the file.
Yours is a nice suggestion, I’ll try to implement this improvement for a future release! I’ll let you know by replying here! :)

Hi I just bought your item. I tested but I didn’t get the attachment. Can you check?

Hi
What do you mean you are not getting the attachment? It could be due to a misconfiguration. Can you give me some more clues about the configuration you are using? Please be also sure to have properly setted the attachment visibility according to the order status.

Is the order marked as completed? You have configured the attachment to be visible only if the order is marked as completed.

As you can see from the demo site, where I’ve configured a product attachment like yours. As you can see it is properly displayed if the order is marked as completed, here the link:
http://www.codecanyon.eu/wcam/index.php/my-account/view-order/278/
user: demo
pass: demo

Make sure that the order is marked as completed and that your theme is properly firing the woocommerce_order_details_after_order_table action on frontend order details page in order to allow the plugin to hook the attachments list in that page. If not, the plugin cannot properly work.

Hi,

Is this plugin available in French?

If not, I would be glad to translate it and send you the MO/PO file in exchange of a free purchase. I’m a French native and translate frequently technical documents from English to French.

Best regards, Emiel.

Hi,
the plugin comes with a .po file but unfortunately it has to be translated.

I have a pre-purchase question. I have an ecommerce store where we sell digital files. Each of these files are customized to each customer. So does this plugin allow me to go into the order and attach their completed custom file to be sent with the “Completed Order Email”? Thanks!

Yes, the plugin can achieve this.
Once the file is ready, go to the admin order edit page and:
  1. create a new attachment by selecting the file
  2. click on the option button and select to which status outgoing email the attachment as to be attached
  3. click on the “save” button to save the attachment
  4. switch the order to completed
  5. save the order
  6. That’s it! You can do some test before puchasing using the demo site:
    http://www.codecanyon.eu/wcam/wp-admin
    user: demo
    pass: demo

    to test if really fits your need and expectation. If you have further questions, feel free to ask :)

Hi,

First of all: very cool plugin! I am surprised you haven’t sold more of this plugin… I was looking a long time for this functionality and i accidently came across your plugin on codecanyon.

For the purpose i am using it, it would be great if the feedback if client dissaproves (NO) is mandatory (mandatory yes/no), so he/she always needs to give feedback why they dissaproved.

Would be great if you could investigate to add this in a near future release.

Thanks in advance! Marcellino

Hi Marcellino,
thank you for your words :) I appreciate!

Actually your it is a very good suggestion to improve the plugin. I think I can implement it in the next plugin version. I’ll let you know by reply here in case of news! :)

Hi,
I was doing some tests and I’ve noticed that this option already exists :)
During the field configuration, if you:
  1. check the Let customer leave a text feedback
  2. on the following option ... and feedback is required when you select the If customer does not approve
See the following image:
https://dl.dropboxusercontent.com/u/188630/support/wcam_required.jpg
The feedback text will be required only if the user will not approve the attachment!
Let me know if this was what you need :)

Hi, I just sent a confirmation email to my customer with a link to the account page where the downloads (final products) reside.

Is it possible to see a copy of the email that was sent? Or to verify that the email was sent and received?

Thanks!

Kind regards, Ilona

Hi Ilona,
For now there is not such a feature in the plugin. Thank you for your suggestion, I’ll try to include the option to send a copy to the admin email address. However I cannot give you any ETA. I’ll let you know by repling here!

by
by
by
by
by
by

Tell us what you think!

We'd like to ask you a few questions to help improve CodeCanyon.

Sure, take me to the survey