File Upload - Display filename in customer email.

Miscellaneous Actinic / SellerDeck patches and anything not covered above.
Post Reply
norman
Site Admin
Posts: 1252
Joined: Sat Feb 07, 2004 9:55 pm

File Upload - Display filename in customer email.

Post by norman »

If you'd like to display the name of the uploaded file in the customer email do the following:

Edit OrderScript.pl (in your Site folder - back it up first). Look for the pair of lines:

Code: Select all

		#
		# Add other and date info prompts if defined
Insert the following immediately above them:

Code: Select all

# START Norcat File Upload Info
		my $NorcatFile = $CurrentItem{'NORCATFILE'};			# if uploaded file
		if ( $NorcatFile )		
			{
			$NorcatFile =~ s/file-\d+-//;
			MailOrderLine( "",
								"Customer file: " . $NorcatFile,
								"",
								"",
								"",
								$nDescriptionColumnWidth,
								@TableFormat
								);
			}
# END Norcat File Upload Info
Norman
Post Reply