Zen Cart Logo
Forums / Bug Reports / Download Order Status makes no sense

Download Order Status makes no sense

Locked

Views: 5,147

Results 1 to 20 of 22
This thread is locked. New replies are disabled.
23 Dec 2006, 7:04 PM
#1
jeffryf avatar

jeffryf

New Zenner

Join Date:
Nov 2006
Posts:
5
Plugin Contributions:
0

Download Order Status makes no sense

I have downloads (some PDFs, some MP3, some streaming audio) that are set to expire after 1 day or 2 downloads. Yet when I look orders that have been completed, on all of the downloads the flag is green indicating the item is Available. Two questions:

(1) Does a green flag (Available) mean that the customer continues to have access to the download? For obvious reasons, I don't want this to be the case.

(2) Shouldn't ZenCart automatically flip the flag the yellow (Expired) once the day and number counts have been exceeded?

(Sorry in advance if this has been posted elsewhere, I just couldn't find anything that comes close.)

23 Dec 2006, 7:47 PM
#2
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Download Order Status makes no sense

Did you click the Download link? When expired it should take you to the download_time_out page explaining that it has expired ...

What version Zen Cart are you running?

Clean install or an upgrade? If an upgrade, how did you upgrade?

25 Dec 2006, 2:04 AM
#3
jeffryf avatar

jeffryf

New Zenner

Join Date:
Nov 2006
Posts:
5
Plugin Contributions:
0

Re: Download Order Status makes no sense

Thanks for the prompt response.

I've just implemented a fresh install of ZC.

As far as I know, the Download button displays the time-out message (this from a customer who timed out).

My question is about the Customer's Order page. For example, when I look at the order placed by the customer who timed out, the Download Order Status is flagged as Available (green) for the product. This makes no sense to me. I would think that ZC should flip the flag when download access times out.

Am I missing something?

Best regards,
Jeffry

25 Dec 2006, 2:25 AM
#4
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Download Order Status makes no sense

Are you referring to the orders.php in the Admin?

25 Dec 2006, 11:05 AM
#5
jeffryf avatar

jeffryf

New Zenner

Join Date:
Nov 2006
Posts:
5
Plugin Contributions:
0

Re: Download Order Status makes no sense

Yes. orders.php?page=1&oID=27&action=edit

25 Dec 2006, 2:46 PM
#6
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Download Order Status makes no sense

I see what you are referring to ...

You are wanting the links to also show expired based on the order itself expiring and not just the count expiring ...

Let me see what I can come up with for a future update ...

Thanks!

EDITED: Moving to bugfixes 'cause it bugs me now ... :cry:

26 Dec 2006, 6:22 PM
#7
jeffryf avatar

jeffryf

New Zenner

Join Date:
Nov 2006
Posts:
5
Plugin Contributions:
0

Re: Download Order Status makes no sense

Thanks a bunch. But a question...

I didn't know that orders expired independently of the days/counts setting on downloads. Is there an order expiration setting I missed somewhere?

26 Dec 2006, 6:39 PM
#8
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Download Order Status makes no sense

7 days max is based on 7 days from the order date ...

That expires the download ...

You can however reactivate it ...

Currently, the legend is not reflecting when the expiration happens based on the order purchase date ...

21 Mar 2007, 11:00 PM
#9
jayzn avatar

jayzn

New Zenner

Join Date:
Dec 2006
Posts:
13
Plugin Contributions:
0

Re: Download Order Status makes no sense

So how do you reactivate it?

22 Mar 2007, 1:18 AM
#10
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Download Order Status makes no sense

jeffryf:

Thanks a bunch. But a question...

I didn't know that orders expired independently of the days/counts setting on downloads. Is there an order expiration setting I missed somewhere?

Can you expand on this thought?

If you have 7 days and 5 downloads that is when the expiration happens on the download ...

Switching the order to Updated status will change the download(s) to active ...

Clicking on the icon next to the download will change the status on a given download ...

12 Apr 2007, 3:17 PM
#11
micbat avatar

micbat

New Zenner

Join Date:
Mar 2007
Posts:
7
Plugin Contributions:
0

Re: Download Order Status makes no sense

Ajeh - so if I understand you correctly, the download order status legend is only driven by the download count and not the expiration date?

If this is correct, then the only way that we can have the order legend status automatically show expired in a consistent manner would be to

  1. set the number of downloads allowed per product to one - which would require the customer to contact us if there was a problem with the download so we could reactivate the download manually for them.

  2. leave the download count at a number above one (for example two) and if the customer only downloads once, we would have to go into the admin and manually change the status to expired.

Or, we can just not worry about our expiration status legend in the admin and trust that if the customer tries a download after the expiration date that we set that it will take them to a time out/download error page?

I am also curious why downloads are not counted as "Stock Removed" and update the quantity accordingly even if we have the admin-->configuration-->stock-->subtract stock set to true.

My entire store is downloadable products and these two issues are making for a heck of a time with maintaining any sort of records without having to go through order confirmations one by one and manually updating each and every time a purchase is made.

12 Apr 2007, 3:19 PM
#12
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Download Order Status makes no sense

Actually I am tweaking the legend on the order to be smarter ...

There is missing the element of the Order is old and its effect on the legend ...

This will be updated in v1.3.8 to be more intelligent ...

12 Apr 2007, 3:20 PM
#13
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Download Order Status makes no sense

The stock is not included at this time ... it is on the list of things to do in the future for either a reverse count or separate count as some downloads are optional physical -- or -- download ...

12 Apr 2007, 3:30 PM
#14
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Download Order Status makes no sense

If stock is adjusting on you ... make sure that you do NOT have the Product set as:
Product is Virtual YES

Downloads are NOT Virtual Products ...

Downloads are NOT Always Free shipping Products ...

28 Nov 2007, 5:46 AM
#15
jeffmic avatar

jeffmic

Zen Follower

Join Date:
Aug 2006
Location:
North Carolina
Posts:
280
Plugin Contributions:
0

Re: Download Order Status makes no sense

Linda (and all Zenners),

I know this is an old thread, but I'm also curious as to the update of this code.
Is there something that can be added to 1.3.7.1 to make both days and count change the status to expired?

Now the new question:
When this update in the the code is completed, can the customer's order confirmation page (with the download links) also have this green/yellow/red icon appear near the download button? I have a crazy setup here where some of my downloads are uploaded to my download folder AFTER checkout (custom coded by Scott - That Software Guy and my supplier's programmer). It monitors the SQL and uploads when a file is missing, but here's the problem that happens every once in a while. If that link is terminated between us (crash on my supplier's end, internet problems etc) the song isn't uploaded in the usual 3-5 minutes after payment of an order. With an easy page refresh, the customer can see the status icon change from red to green. Right now, we have it programmed to bring up a special message about the delay only when they click on the download button itself. When the file is not ready, the attempts stay at the maximum count, so they can click as much as needed until the file is in place. It would be nice to have the admin status icon on this page also. And maybe in the member's area when they view previous orders.

Any ideas?

thanks so much

28 Nov 2007, 5:50 AM
#16
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Download Order Status makes no sense

Much more custom code and yes ... you can have all kinds of nice icons etc.

28 Nov 2007, 5:54 AM
#17
jeffmic avatar

jeffmic

Zen Follower

Join Date:
Aug 2006
Location:
North Carolina
Posts:
280
Plugin Contributions:
0

Re: Download Order Status makes no sense

But to answer the first question, have you upgraded the code so the day also turns the icon to yellow when it's expired?
If so, is it obtainable?

28 Nov 2007, 6:06 AM
#18
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Download Order Status makes no sense

These do appear to be working correctly on date and count with the changes ... :cool:

I am sure you will break it appropriately for me if they do not and let me know asap should that happen ... :smartalec:

28 Nov 2007, 6:10 AM
#19
jeffmic avatar

jeffmic

Zen Follower

Join Date:
Aug 2006
Location:
North Carolina
Posts:
280
Plugin Contributions:
0

Re: Download Order Status makes no sense

So to verify, it IS correct in the 1.3.7.1 code?
Both day and/or count at zero change to a yellow icon (Not just count)

28 Nov 2007, 6:12 AM
#20
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Download Order Status makes no sense

:oops:

Sorry I know it is correct in v1.3.8 ... coming very very very very soon to a computer near you ...

I have to go test v1.3.7.1 'cause I forget ... :lamo: