If this is your first visit, check our documentation. To post, register or login.
Forums / Customizing the Look of Your Shop / Customization from the Admin / Access Customer/Order Uploads - used to be linked?

Access Customer/Order Uploads - used to be linked?

Started by carbonless on 4 Feb 2021, 7:33 PM · Views: 1,449

Results 1 to 6 of 6
4 Feb 2021, 7:33 PM
#1
carbonless avatar

carbonless

Zen Follower

Join Date:
Jan 2007
Location:
Illinois, USA
Posts:
329
Plugin Contributions:
0

Access Customer/Order Uploads - used to be linked?

I thought, after I first installed 1.5.7 that I noticed orders with uploads had the upload linked in the order for being able to click and download?

I am not seeing that recent orders are showing the uploaded file as linked...

Can someone confirm if they are suppose to be linked?

NTO: building a better network thru collaboration
www.needtoorder.com | www.coffeewitheinstein.com

4 Feb 2021, 10:52 PM
#2
carbonless avatar

carbonless

Zen Follower

Join Date:
Jan 2007
Location:
Illinois, USA
Posts:
329
Plugin Contributions:
0

Re: Access Customer/Order Uploads - used to be linked?

Carbonless:

I thought, after I first installed 1.5.7 that I noticed orders with uploads had the upload linked in the order for being able to click and download?

I am not seeing that recent orders are showing the uploaded file as linked...

Can someone confirm if they are suppose to be linked?

I re-uploaded the admin files for 1.5.7b to my testing server and the download link re-appeared.

What file might I have overwritten that would have removed the download link?

NTO: building a better network thru collaboration
www.needtoorder.com | www.coffeewitheinstein.com

4 Feb 2021, 11:10 PM
#3
carbonless avatar

carbonless

Zen Follower

Join Date:
Jan 2007
Location:
Illinois, USA
Posts:
329
Plugin Contributions:
0

Re: Access Customer/Order Uploads - used to be linked?

Carbonless:

I re-uploaded the admin files for 1.5.7b to my testing server and the download link re-appeared.

What file might I have overwritten that would have removed the download link?

I think I've isolated it to the Boiler Plate add-on... I may not have merged the 2 files?

Heres the header of the orders.php file currently in my life admin:

/**
 * @package admin
 * @copyright Copyright 2003-2018 Zen Cart Development Team
 * @copyright Portions Copyright 2003 osCommerce
 * @license http://www.zen-cart.com/license/2_0.txt GNU Public License V2.0
 * @version $Id: lat9 Sat Nov 17 14:38:22 2018 -0500 Modified in v1.5.6 $
 */

and here is the header from the fresh install...

/**
 * @copyright Copyright 2003-2020 Zen Cart Development Team
 * @copyright Portions Copyright 2003 osCommerce
 * @license http://www.zen-cart.com/license/2_0.txt GNU Public License V2.0
 * @version $Id: Scott C Wilson 2020 Nov 11 Modified in v1.5.7b $
 */

NTO: building a better network thru collaboration
www.needtoorder.com | www.coffeewitheinstein.com

4 Feb 2021, 11:30 PM
#4
carbonless avatar

carbonless

Zen Follower

Join Date:
Jan 2007
Location:
Illinois, USA
Posts:
329
Plugin Contributions:
0

Re: Access Customer/Order Uploads - used to be linked?

Thats exactly what I did... I have merged the files and the Boiler Plate as well as the download link function now.

NTO: building a better network thru collaboration
www.needtoorder.com | www.coffeewitheinstein.com

4 Feb 2021, 11:57 PM
#5
carbonless avatar

carbonless

Zen Follower

Join Date:
Jan 2007
Location:
Illinois, USA
Posts:
329
Plugin Contributions:
0

Re: Access Customer/Order Uploads - used to be linked?

Carbonless:

Thats exactly what I did... I have merged the files and the Boiler Plate as well as the download link function now.

Actually the Boiler Plate, while it displays the pre-defined comments, does not load them in 1.5.7b

I'll post a comment in the plugin thread.

NTO: building a better network thru collaboration
www.needtoorder.com | www.coffeewitheinstein.com

5 Feb 2021, 11:12 AM
#6
mc12345678 avatar

mc12345678

Totally Zenned

Join Date:
Jul 2012
Posts:
16,908
Plugin Contributions:
2

Re: Access Customer/Order Uploads - used to be linked?

As a side note, even though seeing that the majority of this issue appears to have been self resolved is that the header of the file(s) have no effect on the operation of the code. Therefore it is always possible that they be the same or different between two files. Specifically it wouldn't matter; however, it does present an artifact that the file has at least been touched at some point...

ZC Installation/Maintenance Support <- Site
Contribution for contributions welcome...