static text and link in Custom OnePageCheckout

Store UI, layout, design, look and feel; Discussion on the customer facing pages of your online store. Cascading Style Sheets, Themes, Scriptlets, NVelocity and the components in the ConLib directory.
Post Reply
wickedoverstock
Ensign (ENS)
Ensign (ENS)
Posts: 6
Joined: Fri Sep 19, 2008 12:23 pm

static text and link in Custom OnePageCheckout

Post by wickedoverstock » Wed Jul 29, 2009 1:39 pm

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

User avatar
mazhar
Master Yoda
Master Yoda
Posts: 5084
Joined: Wed Jul 09, 2008 8:21 am
Contact:

Re: static text and link in Custom OnePageCheckout

Post by mazhar » Thu Jul 30, 2009 2:54 am

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 />

wickedoverstock
Ensign (ENS)
Ensign (ENS)
Posts: 6
Joined: Fri Sep 19, 2008 12:23 pm

Re: static text and link in Custom OnePageCheckout

Post by wickedoverstock » Thu Jul 30, 2009 6:22 am

Thank you very much, Mazhar! That is working beautifully.

Post Reply