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 / Need to edit shopping cart "Checkout" button

Need to edit shopping cart "Checkout" button

Locked

Started by impius1 on 14 Aug 2010, 10:02 PM · Views: 643

Results 1 to 3 of 3
This thread is locked. New replies are disabled.
14 Aug 2010, 10:02 PM
#1
impius1 avatar

impius1

New Zenner

Join Date:
May 2010
Posts:
10
Plugin Contributions:
0

Post #1 by impius1

Hi all...can anyone help with the location of the php that is launched when you enter shopping cart?

index.php?main_page=shopping_cart&number_of_uploads=0

I went into every shopping cart PHP I could find and searched for the image "button_checkout" and I could not find it anywhere...Any advice?

Thanks!

14 Aug 2010, 10:28 PM
#2
amandagero avatar

amandagero

Zen Follower

Join Date:
Feb 2009
Posts:
188
Plugin Contributions:
0

Post #2 by amandagero

in includes/templates/YOUR_TEMPLATE/templates/tpl_shopping_cart_default.php

(if this file is not in your template, copy it from template default toy our template.)

find this line:

<div class="buttonRow forward"><?php echo '<a href="' . zen_href_link(FILENAME_CHECKOUT_SHIPPING, '', 'SSL') . '">' . zen_image_button(BUTTON_IMAGE_CHECKOUT, BUTTON_CHECKOUT_ALT) . '</a>'; ?></div>
14 Aug 2010, 11:35 PM
#3
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,512
Plugin Contributions:
176

Post #3 by drbyte

A better approach would be to use your browser's View Source option, then find the image it's displaying, and then make your own override version of it.

ie: create your own /includes/templates/NAME_OF_YOUR_TEMPLATE_HERE/buttons/english/button_checkout.gif

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.