VP-ASP :: Shopping Cart Software

Shopping Cart Software Solutions for anywhere in the World

US/Canada(Toll Free): +1 888 587 2278
Europe/UK: +44 (020) 7193 9408
Australia/New Zealand: +61 3 9016 4497

VP-ASP Shopping Cart Customer Forum

Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 VPCart Forum
 Customization
 Printer Friendly
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

Gaudicia
Starting Member

USA
30 Posts

Posted - September 17 2007 :  12:55:01  Show Profile  Reply with Quote
Hello,

I want to add the printer friendly link to this page shopa_formatorder.asp, where I view the order individually.

How can I accomplish that?

Thank you.

dunpeal
VP-ASP New User

70 Posts

Posted - September 17 2007 :  15:56:47  Show Profile  Reply with Quote
I suggest searching the forums before you post but here is link to my post about this
http://www.vpasp.com/virtprog/vpaspforum/topic.asp?TOPIC_ID=7470&SearchTerms=printer

I have not yet got this working
Go to Top of Page

Gaudicia
Starting Member

USA
30 Posts

Posted - September 18 2007 :  06:06:15  Show Profile  Reply with Quote
Hmm, but will that work for the admin section?

Thank you.

Edited by - Gaudicia on September 18 2007 06:08:58
Go to Top of Page

Kidd
VP-ASP Super User

Australia
373 Posts

Posted - September 19 2007 :  01:03:24  Show Profile  Reply with Quote
i had a quick look, havent tried this, but test if this works,

add this routine on shopa_formatorder.asp

Sub ShopThanksPrint
If Getconfig("xprinterfriendlypage")<>"Yes" then exit sub
Setsess "printeroid",ordernumber
%>
<script language="javascript" type="text/javascript">
//Function to open pop up window
function openWin(theURL,winName,features) {
window.open(theURL,winName,features);
}
// -->
</script>
<strong><a href="javascript:openWin('shopthanksprint.asp','printer_friendly','toolbar=0,location=0,status=0,menubar=1,scrollbars=1,resizable=1,width=640,height=390')"><%=getlang("Langprintorder")%></a></strong><br />
<%
End Sub

then call it somewhere on your shopa_formatorder.asp...not sure if it will works, because i only had a quick look
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
Snitz Forums 2000