Zen Cart Logo
If this is your first visit, check our documentation. To post, register or login.
Forums / Customizing the Look of Your Shop / Templates, Stylesheets, Page Layout / Space between "Go to checkout" and "Paypal" buttons...?

Space between "Go to checkout" and "Paypal" buttons...?

Started by doooomed on 5 Mar 2013, 8:42 PM · Views: 764

Results 1 to 6 of 6
5 Mar 2013, 8:42 PM
#1
doooomed avatar

doooomed

Zen Follower

Join Date:
Jun 2009
Posts:
275
Plugin Contributions:
0

Post #1 by doooomed

I would like to put a space or text between the "Go to checkout" and "Paypal" buttons in the shopping cart.

Attachment 12057

Where would I make that change?

Thank you!

5 Mar 2013, 9:30 PM
#2
stevesh avatar

stevesh

Black Belt

Join Date:
Feb 2005
Location:
Lansing, Michigan USA
Posts:
19,793
Plugin Contributions:
2

Post #2 by stevesh

We'll need a a link to the site to advise.

5 Mar 2013, 10:00 PM
#3
doooomed avatar

doooomed

Zen Follower

Join Date:
Jun 2009
Posts:
275
Plugin Contributions:
0

Post #3 by doooomed

doooomed.com

5 Mar 2013, 10:40 PM
#4
rbarbour avatar

rbarbour

Totally Zenned

Join Date:
Feb 2010
Posts:
2,159
Plugin Contributions:
10

Post #4 by rbarbour

could try

div#PPECbutton.buttonRow {
margin:10px 0px 0px 0px;
}

5 Mar 2013, 10:50 PM
#5
doooomed avatar

doooomed

Zen Follower

Join Date:
Jun 2009
Posts:
275
Plugin Contributions:
0

Post #5 by doooomed

Great! That gave me a space, thank you. How about if I wanted to put some text in there too?

6 Mar 2013, 5:10 AM
#6
rbarbour avatar

rbarbour

Totally Zenned

Join Date:
Feb 2010
Posts:
2,159
Plugin Contributions:
10

Post #6 by rbarbour

create a file called shopping_cart_extras.php in /includes/languages/english/extra_definitions/YOUR_TEMPLATE_NAME/

in that file add

<?php
/*Extra Text on Shopping Cart Page
* file version 2013-03-06
*/
    define('MY_CART_TEXT', 'paypal preferred: ');
?>

then copy tpl_shopping_cart_default.php to you overrides folder /includes/templates/YOUR_TEMPLATE_NAME/templates/

unless it already exists

in that file find

<!-- ** BEGIN PAYPAL EXPRESS CHECKOUT ** -->

or similar for your paypal button

add above that

<?php
  echo MY_CART_TEXT;
?>

hope this helps!