Zen Cart Logo
If this is your first visit, check our documentation. To post, register or login.
Forums / Configuring the Zen Cart Admin / Built-in Shipping and Payment Modules / i want to remove 'go to checkout' and only have use paypal checkout - anyone knw how?

i want to remove 'go to checkout' and only have use paypal checkout - anyone knw how?

Locked
This thread is locked. New replies are disabled.
17 Nov 2007, 9:00 PM
#1
what44 avatar

what44

Zen Follower

Join Date:
Oct 2007
Posts:
134
Plugin Contributions:
0

Post #1 by what44

on my shopping cart page, there are two options for checkouts. one for paypal express which i want to use and another one, well, seems like same thing. but the button is a zen cart 'go to check out button'

al i want is one button, with the least number of clicks to get the customer to the paypal payment page. how do i do this?

i also noticed on the payment method - step 2 page, the following:

Payment Method

Please select a payment method for this order.
Paypal IPN

Click here to pay via PayPal Express Checkout Checkout with PayPal

whats the difference for the customer. IPN OR EXPRESS?

23 Nov 2007, 9:41 PM
#2
toritaiyo avatar

toritaiyo

New Zenner

Join Date:
Oct 2007
Posts:
19
Plugin Contributions:
0

Post #2 by toritaiyo

I also want to remove this.

does anyone know about removing it?

I will try to look through the code, but it's easier if someone already knows and can tell us.

23 Nov 2007, 10:43 PM
#3
toritaiyo avatar

toritaiyo

New Zenner

Join Date:
Oct 2007
Posts:
19
Plugin Contributions:
0

Post #3 by toritaiyo

Okay. I am not sure if this is the way that the zen experts would recommend doing this but it SEEMS to be a solution.

WARNING: will edit includes/languages/english/button_names.php. SAVE A COPY OF THE ORIGINAL JUST IN CASE (just in case it turns out I'm an idiot :smile:)

Here is what to do:

  1. we are going to edit your file includes/languages/english/button_names.php
  2. inside of that file find this line -->define('BUTTON_IMAGE_CHECKOUT', 'button_checkout.gif');
  3. and change it to -->define('BUTTON_IMAGE_CHECKOUT', '&nbsp');
  4. next find -->define('BUTTON_CHECKOUT_ALT', 'Checkout');
  5. and change it to -->define('BUTTON_CHECKOUT_ALT', '&nbsp');
  6. :flex:

:cool: no more checkout icon.

let me know if it works for you. cheers.

p.s. if there is a smarter way some one please tell.

23 Nov 2007, 11:06 PM
#4
toritaiyo avatar

toritaiyo

New Zenner

Join Date:
Oct 2007
Posts:
19
Plugin Contributions:
0

Post #4 by toritaiyo

Just noticed.

although the icon is not there anymore, there is still a header link "checkout" (at the top of page, next to "home" "login" "shopping cart"). that's no good...

here is how I fixed that (remember, first make a backup copy of the original file!):

  1. go to templates/YOUR_TEMPLATE/common/tpl_header.php
  2. find the following code --><li><a href="<?php echo zen_href_link(FILENAME_CHECKOUT_SHIPPING, '', 'SSL'); ?>"><?php echo HEADER_TITLE_CHECKOUT; ?></a></li>
  3. delete all of it
  4. done

no more :frusty: hopefully