If this is your first visit, check our documentation. To post, register or login.
Forums / Configuring the Zen Cart Admin / PayPal Express Checkout support / Because I'm using paypal, I wans to get rid of my regular checkout button

Because I'm using paypal, I wans to get rid of my regular checkout button

Locked

Started by mel150 on 8 Jan 2010, 11:25 PM · Views: 1,115

Results 1 to 5 of 5
This thread is locked. New replies are disabled.
8 Jan 2010, 11:25 PM
#1
mel150 avatar

mel150

New Zenner

Join Date:
Aug 2008
Posts:
78
Plugin Contributions:
0

Post #1 by mel150

Hi- I'm on a new install of zencart 1.3.8, and I'm using template 241.

The domain name is www dot just better deals dot com slash cart.

If you add something to the cart, you'll see the checkout button just above the paypal checkout button (or see screenshot).

I would like to get rid of this checkout button, because all it does is take you through one more step and then take you to paypal.

I've used the developer's search, and I found that button listed here:

/home6/justbett/public_html/cart/includes/languages/english/button_names.php
Line #21 : define('BUTTON_IMAGE_CHECKOUT', 'button_checkout.gif');

But I'm not sure what to do, and I don't want to mess up the cart, I just would like to lose that checkout option. Thanks!

9 Jan 2010, 2:46 AM
#2
jackie_taferner avatar

jackie_taferner

Totally Zenned

Join Date:
Jun 2009
Location:
Orange County, California
Posts:
547
Plugin Contributions:
3

Post #2 by jackie_taferner

Here's how I would do it, although it may be a bit of a workaround.

  1. find the following file: includes/templates/template_default/templates/tpl_shopping_cart_default.php

  2. copy this file to: includes/templates/YOUR_TEMPLATE_NAME/templates/
    (or in other words copy the file into the "templates" folder of the template you're currently using)

  3. find this line of code in the file and delete it:

<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>
  1. upload the new file to your server.

BUT that may even remove the paypal button. Give it a try, and if that doesn't work just delete the file again. Another option is maybe to change the english.php file to a blank space instead of the buttons file name.

Hope that helps!

Jackie Taferner - JT Website Design
Custom Website Design and Ecommerce
Support the community. Don't Private Message, post your questions in the forum.

9 Jan 2010, 4:06 AM
#3
mel150 avatar

mel150

New Zenner

Join Date:
Aug 2008
Posts:
78
Plugin Contributions:
0

Post #3 by mel150

Thanks, Jackie T, I'll try that!

9 Jan 2010, 2:58 PM
#4
mel150 avatar

mel150

New Zenner

Join Date:
Aug 2008
Posts:
78
Plugin Contributions:
0

Post #4 by mel150

That worked, genius!!:clap:

9 Jan 2010, 7:10 PM
#5
jackie_taferner avatar

jackie_taferner

Totally Zenned

Join Date:
Jun 2009
Location:
Orange County, California
Posts:
547
Plugin Contributions:
3

Post #5 by jackie_taferner

happy to help!

Jackie Taferner - JT Website Design
Custom Website Design and Ecommerce
Support the community. Don't Private Message, post your questions in the forum.