WooCommerce profile image/file upload.
-
Hello WordPress Community. I hope someone can help me out or point me in the right direction.
I am running a Woocommerce store(still in development). It is a basic Sales Rep portal that is closed to the public. Each Rep will have a custom logo associated with their account.
I want to add the ability for Customers to have a logo/image section in the woocommerce my account page. So where the menu shows Account Details, Dashboard, Orders Addresses, Logout, I want to add one called Logos or Media. Or it can be on the account details page. Just a front-end simple upload box, with a preview of what has already been uploaded, the url displayed and the ability to delete the current file .
I have been able to figure out how to add a custom page and section in the same user menu. And a custom template is loaded up. Everything good there.
I have been trying to find an already made solution but no luck. Most plugins, tutorials and guides are how to upload a file on checkout or after an order had been processed. I just want to be able to store a logo file for each Rep.
I basically need an upload image/file feature on the Account Details page. Once the file is uploaded it shows either the image, or if it is an .eps .ai or .pdf then no preview is shown, maybe a fallback image with the URL.
The user would also be able to delete the file and replace it with a different file.
I’m really looking for something simple here and any solution I find is either way to detailed, way to many features, or tutorials are old and don’t work on new versions of wordpress and woocommerce. I need something simple, not a full media library manager. Just one file upload.
Has anyone created something like this or knows how to create something like this.
Any help or direction would be greatly appreciated.
Thanks everyone for taking the time to read this post.
Regards,
Mike
- The topic ‘WooCommerce profile image/file upload.’ is closed to new replies.