Jump to content

gift certificate has download here link?


Guest AprilYSH
 Share

Recommended Posts

Guest AprilYSH

Why do gift certificates get a download link on the view order page? Is this a known issue? This link just goes to an expired downloads page. Can this link be removed or go to a page that allows the buyer to re-email the code?

If ordered with other digital goods, the gift certificate download link is for the item above it on the order list, which is also not right.

Link to comment
Share on other sites

Guest AprilYSH

Thought I'd post the fix I ended up doing...

includes\content\viewOrder.inc.php

around about line 90 -

before edit:

if($products[$i]['digital']==1 && ($order[0]['status']>=2 && $order[0]['status']<=3) )

after edit:

if($products[$i]['digital']==1 && empty($products[$i]['custom']) && ($order[0]['status']>=2 && $order[0]['status']<=3) )

Link to comment
Share on other sites

  • 7 months later...

Thought I'd post the fix I ended up doing...

includes\content\viewOrder.inc.php

around about line 90 -

before edit:

if($products[$i]['digital']==1 && ($order[0]['status']>=2 && $order[0]['status']<=3) )

after edit:

if($products[$i]['digital']==1 && empty($products[$i]['custom']) && ($order[0]['status']>=2 && $order[0]['status']<=3) )

Thanks for the fix!! :(

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...