Loaded Commerce Community

Banner


Board index » Web Design and Development » Development Discussions

All times are UTC - 5 hours




Post new topic Reply to topic  [ 3 posts ] 
Author Message
 Post subject: Spacing apart payment options
PostPosted: Fri Nov 19, 2010 3:37 pm 
Offline
CRE Newbie

Joined: Thu May 13, 2010 2:39 pm
Posts: 4
In my 6.4 Bro B2B store, the payment options are too close together in checkout_payment.php

Customers are selecting Paypal, thinking they are choosing credit card and vice versa.

Is there a "simple" code to put a break or line between (double-space) the different payment methods?
Thanks in advance!!

Current state:
Credit Card
PayPal
Check Money Order

Desired state:
Credit Card

PayPal

Check/Money Order


Top
 Profile  
 
 Post subject: Re: Spacing apart payment options
PostPosted: Sat Nov 20, 2010 12:37 am 
Offline
CRE Legend
User avatar

Joined: Thu Jun 12, 2008 6:39 am
Posts: 2404
Location: New Zealand
G'day Matt

Yeah, the file you need goes by the catchy name:

/includes/runoverride/checkoutpayment/paypalxc_checkoutpayment_paymentmodule.php

Looking at about line 45:

Code:
<td width="10"><?php echo tep_draw_separator('pixel_trans.gif', '10', '1'); ?></td>
                <td class="main" colspan="3"><b><?php echo $selection[$i]['module']; ?></b></td>
                <td class="main" align="right">
                  <?php
                  if (sizeof($selection) > 1 || $ec_enabled ) {


Change the '1' in the first line of the block to the height you want, eg:

Code:
<td width="10"><?php echo tep_draw_separator('pixel_trans.gif', '10', '25'); ?></td>
                <td class="main" colspan="3"><b><?php echo $selection[$i]['module']; ?></b></td>
                <td class="main" align="right">
                  <?php
                  if (sizeof($selection) > 1 || $ec_enabled ) {

This is what a cre_63ats payment page looks like with the height value of '25':

Image

Simon

_________________
www.codemehappy.com
For Cre Loaded tips, how-to articles and more


Top
 Profile  
 
 Post subject: Re: Spacing apart payment options
PostPosted: Tue Nov 23, 2010 2:56 pm 
Offline
CRE Newbie

Joined: Thu May 13, 2010 2:39 pm
Posts: 4
Thank you Simon!!

The line provided puts the space between the Paypal text and Paypal image. Depending on the various payment options, this may have to be changed in more than one field.

I have this looking how I want it. Thank you very much!


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

Board index » Web Design and Development » Development Discussions

All times are UTC - 5 hours


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
It is currently Wed May 23, 2012 8:53 am
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group

Login

Forums Latest Activity

Top Listing

1. Cart2Cart - Shopping...
    Category: Shopping Cart Database Conversion Scripts
    
2. Points & Rewards PLUS!...
    Category: Add-Ons
    
3. Configuration Server...
    Category: Fixes
    
4. Credit Card with CCV
    Category: Payment Modules
    
5. CC7333_ATS
    Category: Templates
    
Show more...

© CRE Loaded is a product of Chain Reaction Ecommerce, Inc. Usage & Privacy Policy