Page 1 of 1

static text and link in Custom OnePageCheckout

Posted: Wed Jul 29, 2009 1:39 pm
by wickedoverstock
I have a custom OnePageCheckout in order to incorporate mandatory text and links required by my payment gateway provider (InternetSecure).
I have recently upgraded from 7.0.0 to 7.0.2 on my test environment and am having difficulty getting the OnePageCheckout to work with the necessary changes. My approach so far has been to copy the additional text requirements and links into the 7.0.2 file (in the Custom directory).
This has been successful for 2 of the 3 elements that I need, but I can't seem to get the last one working. Note that this is not a checkbox kind of thing, so I cannot use the terms and conditions functionality in the Configure/Store settings.

Between the "Payment Method" heading and the radio button panel / Pay With a Credit or Debit Card subheading I need to insert static text and 2 links. Any suggestions for how best to accomplish this would be greatly appreciated. It would be like this:

By providing this information you agree to Evalon's Privacy Policy and Terms of Use

Privacy Policy: http://www.internetsecure.com/privacy.html

Terms of Use: http://www.internetsecure.com/termsofuse.html

Re: static text and link in Custom OnePageCheckout

Posted: Thu Jul 30, 2009 2:54 am
by mazhar
In ascx file of you OnePageCheckout control locate following line of code

Code: Select all

<h2 class="sectionHeader">Payment Method</h2>
and then replace it with following

Code: Select all

                                    By providing this information you agree to Evalon's Privacy Policy and Terms of Use
                                    <br />
                                    Privacy Policy: 
                                    <asp:HyperLink ID="PPLink" runat="server" NavigateUrl="http://www.internetsecure.com/privacy.html" Text="Click Here "></asp:HyperLink>
                                    <br />
                                    Terms of Use: 
                                    <asp:HyperLink ID="TULink" runat="server" NavigateUrl="http://www.internetsecure.com/termsofuse.html" Text="Click Here"></asp:HyperLink>
                                    <br />

Re: static text and link in Custom OnePageCheckout

Posted: Thu Jul 30, 2009 6:22 am
by wickedoverstock
Thank you very much, Mazhar! That is working beautifully.