Welcome, Guest. Please login or register.
Login with username, password and session length


It's a release candidate! VirtueMart 2.0 RC - the next generation VirtueMart - is available! Read more....

  Advanced search

247038 Posts in 67506 Topics- by 258314 Members - Latest Member: aniketana
Pages: [1]   Go Down
Print
Author Topic: I really need help with postcheck out page - Anyone????  (Read 816 times)
april
Newbie
*
Posts: 2


« on: October 08, 2007, 14:06:33 PM »

I need to:  paste a code between the <HEAD> tags at the top of the post-checkout page.  Can someone tell me how to accomplish this? Thanks so much! April
Logged
joomlagreg
Newbie
*
Posts: 7


WWW
« Reply #1 on: October 08, 2007, 15:18:40 PM »

April,

By post Checkout page I assume you mean the Thank You page. You will have to edit the following file

Code:
<<SITE-ROOT>>/admnistrator/components/com_virtuemart/html/checkout.thankyou.php

Add this to it
Code:
$mainframe->addCustomHeadTag("<YOUR-CUSTOM-HEAD-TAG>");

I have not tested this so if it gives you an error about a non existent function you may also need to modify the line

Code:
global $vendor_currency;


and change it to:

Code:
global $mainframe, $vendor_currency;


Hope that works for you

Greg
www.codamoda.com
Logged
Pages: [1]   Go Up
Print
Jump to: