We are using ACF Pro / Paid Plugin.
We have added a custom field on all our products – the field being the ‘File Upload’.
Can anyone assist with the following, or even, advise if this is something simply out of touch or better worded, just not possible
When the user uploads a file on product post #1 , example ‘image-1.jpg’ , this being the first instance they would be charged e.g. $1.00.
If the user decides to upload a file on another product post e.g. #2, if the filename is the same e.g. ‘image-1.jpg’ they will not be charged $1.00 as the image has been uploaded.
I understand this may cause issues in the event more than one user uploads a file with the same filename. So, secondly, is their a solution to this somehow to prevent a customer not being charged when they should be?
OR
Can we possibly do a unique count of files uploaded in one’s basket where the user has selected on products “file not uploaded before” and for each count charge $1.00
Example
Product 1 – user has selected logo uploaded before – ignore this file
product 2 – user has selected not uploaded logo before – filename1.jpg
product 3 – user has selected not uploaded logo before – filename1.jpg
product 4 – user has selected not uploaded logo before – filename2.jpg
Count = 2 (2 unique files uploaded) , charge = $2.00
Is it worth noting, customers are not enforced to be logged in (WooCommerce).
Our vision may not be the best way, and their maybe a better way to achieve the desired goal above.
Kind Regards,