Aurigma Forums
»
Upload Suite
»
Discussions – ActiveX/Java Uploader
»
still wont save to cart i refresh and refresh where are the products
Rank: Newbie
Groups: Member
Joined: 5/11/2010(UTC) Posts: 3
|
http://www.printbigphoto.com what is frustrating is you guys in here are aying yea redirect, redirect what, what file, where at. so im so lost i dont see product after i refresh can someone give me a real answer instead of a copy and paste from an article from 2003, kinda over that one. not being rude, but i have to move tomorrow and the only way for me to move is by getting this set up so yea.
|
|
|
|
Rank: Advanced Member
Groups: Joined: 6/16/2009(UTC) Posts: 134
Was thanked: 8 time(s) in 8 post(s)
|
Hi! I've reproduced the problem only in the Firefox on Mac OS and it works in the IE, Firefox, Opera on Windows and Safari and Opera on Mac OS. But you did not mention it in this post, nor in the previous! So I can't be 100% sure that it is the problem you experiencing. Or you just does not specify all required fields (size, paper, quantity, etc...) while selecting photos to upload. This is the updated BeforeUpload function from components/com_photoorder/assets/photoorder.js file: Code:
function ImageUploader1_BeforeUpload() {
// add fields with order details
imageUploader1 = imageUploader1 || getImageUploader('ImageUploader1');
if (imageUploader1) {
var delay = function() {
for (var i = 1, max = imageUploader1.getUploadFileCount(); i <= max; i++) {
var value = orderDetails[imageUploader1.getUploadFileGuid(i)];
if (value) {
value = JSON.stringify(value);
} else {
value = '';
}
imageUploader1.AddField('OrderDetail_' + i, value);
}
ImageUploader1_BeforeUpload = function() {};
imageUploader1.Send();
};
// WORKAROUND for Firefox on Mac OS: It starts upload before ImageUploader1_BeforeUpload returns.
// So we quickly return "false" to prevent upload and execute all we need to do by timeout later.
// And after that starts upload programmatically.
setTimeout(delay, 200);
return false;
}
}
And also I attached an edited photoorder.js file with this fix. |
|
|
|
|
Rank: Newbie
Groups: Member
Joined: 5/11/2010(UTC) Posts: 3
|
Everything works thanks you guys are awesome an im going to write an review on this in joomla so everyone know how great this is.
|
|
|
|
Rank: Advanced Member
Groups: Member, Administration, Moderator Joined: 8/3/2003(UTC) Posts: 1,070
Thanks: 1 times Was thanked: 12 time(s) in 12 post(s)
|
Thanks for your feedback. It would be great if you post a link to your review here. |
|
|
|
|
Aurigma Forums
»
Upload Suite
»
Discussions – ActiveX/Java Uploader
»
still wont save to cart i refresh and refresh where are the products
Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.