Welcome, Guest ( Customer Panel | Login )




 All Forums
 VPCart Forum
 Customization
 Different shoppage_trailer v6.5
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

mikeach
Starting Member

USA
40 Posts

Posted - September 12 2010 :  11:05:57  Show Profile  Reply with Quote
I need to have a different shoppage_trailer.htm for the SSL pages on a v6.5 site due to Google Adsense used on the other pages. I did this on another site a couple years ago but can't remember how to do it.

I've already created a shoppage_trailer_ssl.htm but can't remember where I need to change the code to use it. Anyone?

mikeach
Starting Member

USA
40 Posts

Posted - September 14 2010 :  23:12:28  Show Profile  Reply with Quote
Any help here support guys?
Go to Top of Page

support
Administrator

4679 Posts

Posted - September 14 2010 :  23:18:42  Show Profile  Visit support's Homepage  Reply with Quote
Hi Mike,

We do not actively monitor the forum. It is more for customer to customer discussions.

If you look in the relevant files for the following reference you can change it to suit:

shoppagetrailer

Change to:

shoppagetrailerssl

You will need to add a new sub routine as well to allow you to use the above reference.

Locate the sub shoppagetrailer in the shopheaders.asp file and make a copy of this and rename it as:

Sub shoppagetrailerssl

Will probably require some tweaking but this should get on track.

Thank you.

Cam Flanigan
VP-ASP Cart Support

Follow us on Twitter:
http://www.twitter.com/vpasp
Go to Top of Page

mikeach
Starting Member

USA
40 Posts

Posted - September 15 2010 :  16:07:17  Show Profile  Reply with Quote
Hey Cam,

Thanks for your response. Going through the shopcheckout.asp page I find the trailer mentioned in two spots:

' see they pushed button or want form displayed
'***************************************************
If sAction = "" and sCancelaction="" Then
ShopPageHeader ' put out normal header
SetDefaultvalues
DisplayForm() ' credit card form
ShopPagetrailer ' trailer
Else
GetFormFields
ValidateData
if sError = "" Then
UpdateCreditInfo ' add payment to daat base
if paymentURL<>"" then ' if there is an authorization
responseredirect PaymentURL & "?oid=" & oid
else
responseredirect GetSess("followonurl") ' go to shopthanks
end if
end if
ShopPageHeader
DisplayForm
ShopPageTrailer
end if

Which one would I change, just the bottom one or both?

Thanks,

Mike
Go to Top of Page

support
Administrator

4679 Posts

Posted - September 16 2010 :  07:45:52  Show Profile  Visit support's Homepage  Reply with Quote
Hi Mike,

Update both of the references and test. I have not done this personally but this is how it should work.

Thank you.

Cam Flanigan
VP-ASP Cart Support

Follow us on Twitter:
http://www.twitter.com/vpasp
Go to Top of Page

mikeach
Starting Member

USA
40 Posts

Posted - September 19 2010 :  11:30:51  Show Profile  Reply with Quote
That did it, Thanks Cam!
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
Snitz Forums 2000
0 Item(s)
$0.00