Ecommerce software home
Shopping Cart Software Forum for Ecommerce Templates
 
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

Find us on Facebook Follow us on Twitter View our YouTube channel
Search our site
Forum Search
Google Site Search
 All Forums
 Technical
 PHP (Unix / Linux / Apache) versions
 File Upload After Purchase
Author « Topic »  

TastelessApple
Advanced Member

USA
499 Posts

Pre-sales questions only
(More Details...)

Posted - 11/09/2023 :  10:24:22  
Hello,

I haven't used the file upload feature yet, but have a project that needs that very thing.

I set this in includes:
$uploaditemsperorder=1;
$uploadmaxfilesize=3*1024*1024;
$uploadfiletypes=".jpeg,.jpg,.psd";

I made sure to set an upload path under the main setting.

And I checked the boxes for image upload inside Quick entry under products.

When checking out now I don't see anything different. Am I missing something?

Thank you,
Josiah

dbdave
ECT Moderator

USA
10430 Posts

Posted - 11/09/2023 :  11:10:43  
Have you marked any of your products as allowing an upload?
You will need to use the quick entry feature to indicated which products allow an upload.
It's under "Image Upload" on the drop down when you list products.

Thanks,
David

TastelessApple
Advanced Member

USA
499 Posts

Pre-sales questions only
(More Details...)

Posted - 11/09/2023 :  11:32:35  
Yes, I did do that.

TastelessApple
Advanced Member

USA
499 Posts

Pre-sales questions only
(More Details...)

Posted - 11/09/2023 :  11:55:43  
Should the upload prompt appear on the thanks page?

I ask because this is an updated store with some modifications.

Is there any way I can just link directly to the upload page?

Thanks,
Josiah

dbdave
ECT Moderator

USA
10430 Posts

Posted - 11/09/2023 :  16:01:45  
Looking back on this, the upload feature should be a popup unless you set a parameter of imageuploadbybutton=TRUE
This creates a button instead of the auto popup.

There is no separate page for uploads though.
The upload link will show on the thanks page and it's just a button below the order details, assuming you have set imageuploadbybutton=TRUE.
It will also show on the order status page, and when viewing order details from within the client account.

If you are not getting the popup, you should check your thanks page for javascript errors using your browsers console.
https://webmasters.stackexchange.com/questions/8525/how-do-i-open-the-javascript-console-in-different-browsers

David


Edited by - dbdave on 11/09/2023 16:28:20

TastelessApple
Advanced Member

USA
499 Posts

Pre-sales questions only
(More Details...)

Posted - 11/15/2023 :  22:38:16  
Thank you David!

I'm still not able to get this to work on this particular site. Would you or someone else know what files I could try to update to get this to work without doing a complete update? I've worked with it for some time without success.

Also, I need to increase the number of files allowed for the upload from 1 to like 5. Is there a way to do that?

Thank you again,
Josiah

Phil
ECT Moderator

United Kingdom
7687 Posts

Posted - 11/16/2023 :  02:36:43  
Hi Josiah,

quote:
Also, I need to increase the number of files allowed for the upload from 1 to like 5. Is there a way to do that?


You would change
$uploaditemsperorder=1;
to
$uploaditemsperorder=5;



*Contact Us*
*Buy The PHP Capture Card Plugin*
*Rate Our Services/View Our Feedback*

TastelessApple
Advanced Member

USA
499 Posts

Pre-sales questions only
(More Details...)

Posted - 11/16/2023 :  11:26:01  
Thanks Phil!

I should have noticed that.

Any ideas why it is not working or potential files I should try updating? Stove version is 7.4.8

Thanks,
Josiah

dbdave
ECT Moderator

USA
10430 Posts

Posted - 11/16/2023 :  11:32:19  
quote:
Would you or someone else know what files I could try to update to get this to work without doing a complete update? I've worked with it for some time without success.


It's spread across several files.
Most of it will be in incemail.php and ajaxservice.php

Even then, there have been changes between versions, so if it's not working, a full update would likely solve the problem.
There are file compare programs out there that, if you have mods, makes it very easy to merge in your mods. Additionally, be sure to comment your mods, always.

David

TastelessApple
Advanced Member

USA
499 Posts

Pre-sales questions only
(More Details...)

Posted - 11/16/2023 :  19:22:54  
Hello,

I have updated all the files I think could have anything to do with the upload feature and still not getting the upload box after an order is placed.

I don't seem to be getting an error of any kind. Do you know what version the upload feature was added to ECT?

Any ideas on what I could be doing wrong?

Thanks and sorry to keep posting about this. I have worked on it for many hours!!!
Josiah

quadrant
Ecommerce Template Guru

United Kingdom
1110 Posts

Pre-sales questions only
(More Details...)

Posted - 11/17/2023 :  03:49:54  
Hi,

There are also updates to the database for the file upload feature so you may need to run updatestore.php if you haven't so really a full update should sort this out.
Mixing and matching files from different versions is likely to cause problems if there is a large gap between updates.

We use the file upload feature and get orders placed every day that use the thanks page upload window.

Have you checked your browser console to see if you are getting and errors that could prevent the upload window from loading?

Regards,
David

TastelessApple
Advanced Member

USA
499 Posts

Pre-sales questions only
(More Details...)

Posted - 11/17/2023 :  05:53:36  
I have looked at the browser console and don't see any errors.

What version was the upload feature was added to ECT? Or was it before 7.4.8?

Thanks

dbdave
ECT Moderator

USA
10430 Posts

Posted - 11/17/2023 :  06:38:16  
Hi, use the forum search feature to search the word upload on the updaters forum to see any updates to that
https://www.ecommercetemplates.com/support/forum.asp?FORUM_ID=20
David

Edited by - dbdave on 11/17/2023 06:38:43

Phil
ECT Moderator

United Kingdom
7687 Posts

Posted - 11/17/2023 :  10:58:51  
Hi Josiah,

quote:
What version was the upload feature was added to ECT? Or was it before 7.4.8?


I think it was first introduced here - https://www.ecommercetemplates.com/support/topic.asp?TOPIC_ID=112093





*Contact Us*
*Buy The PHP Capture Card Plugin*
*Rate Our Services/View Our Feedback*

Edited by - Phil on 11/17/2023 10:59:27

TastelessApple
Advanced Member

USA
499 Posts

Pre-sales questions only
(More Details...)

Posted - 11/20/2023 :  11:47:59  
I did a complete update and got it to work using the button. The popup still doesn't work. It is odd because, on a completely new install, it does work for me.

Anyway, the button will work for me. On the upload dialog box, there is a comment box "Comments (optional):" Where do those comments go or how can I see them?

Thanks,
Josiah

dbdave
ECT Moderator

USA
10430 Posts

Posted - 11/20/2023 :  12:02:39  
Hi, the comments will be seen in the admin right next to the file details.

David

TastelessApple
Advanced Member

USA
499 Posts

Pre-sales questions only
(More Details...)

Posted - 11/20/2023 :  12:51:33  
Thank you. I see that now.
  « Topic »  
Jump To:
Shopping Cart Software Forum for Ecommerce Templates © 2002-2022 ecommercetemplates.com
This page was generated in 0.02 seconds. Snitz Forums 2000