Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Activate Client File Upload #83

Open
seekthelight opened this issue Mar 8, 2020 · 2 comments
Open

Activate Client File Upload #83

seekthelight opened this issue Mar 8, 2020 · 2 comments

Comments

@seekthelight
Copy link

The "Integrator Guide" does not address how this item works. Does it require a separate plugin? Does it require a separate page? At what stage does the client get to upload a page?

If it suppose to work at some time during the checkout, it is not working in my site. I wish to allow clients to upload artwork after making payment.

What have I missed? Other than the fact I may have missed something, this does not work at all.

@leedavi
Copy link
Collaborator

leedavi commented Mar 9, 2020

Hi,
It's a long time since I looked at this. But there is an option i the Admin>Settings>folders of OpenStore. Then you have an option in the product itself to upload lcient files.

However, I don't think the default template provides the required tokens to upload. I check the code and some code exists server side for this., using the ...input id="optionfilelist" type='hidden' ...
input field as a list of files that have been upload.

I've checked the last install we did that does this for a client and we have created a module to deal with it. However, we had some special processing for that, so that might be the reason for the bespoke module we create.

If you look at v3 of the code you'll see a section in the prodct display that was used to do this.

https://github.com/nbrightproject/NBrightBuy/blob/master/Themes/ClassicRazor/Default/NBS_ProductDisplayDetail.cshtml

I think it was removed from the default templates, because it was implemented without any special features and the developers were getting complaints for the solution not doing EXACTLY what the integrator wanted. Of course the best solution is to create your own plugin modules.

You can try using v3 code, from what I recall we did use it and it uploads a file to the order, which the manager can then access via the order. Like I said the code still seems to be on the server side code, but you might have some tweaking to do to get it correct.

@leedavi
Copy link
Collaborator

leedavi commented Mar 9, 2020

P.S. If you do get it working, please create some note and pass then to me, so I can put them on the documentation. We're always tryign to improve it, but time seems to get away from us.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants