Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Paypal Express - turn off paypal button on cart page only


nigelt74

Recommended Posts

Hi Guys

 

My site uses a Discount code add-on so we want people to go through the payment page.

 

Currently Paypal express puts a checkout with paypal button on the shopping cart page, is there a way to turn this off on the shopping cart page only, we still want it to appear on the payment options page.

 

I don't have a problem editing the relevant file to remove it, I just want to check that there isn't an admin switch somewhere that i haven't missed

 

Thanks

Nigel T

Link to comment
Share on other sites

Hi,

 

Pretty sure there isn't any admin switch.  I used to remove the yellow paypal button and you do have to edit the code.

Running a botched up version of  osCommerce Online Merchant v2.3.4 bootstrap with the dresscode theme installed, numerous add-ons, terrible coding, terrible website, but will have to make do until I have made up for my losses and can risk shutting down for a couple of weeks while I start all over again. - I did not install my program but am endeavouring to fix it with your help.

Link to comment
Share on other sites

yep thats what i did

 

Just commented out the code

 

shippingcart.php

/*
    $initialize_checkout_methods = $payment_modules->checkout_initialization_method();

    if (!empty($initialize_checkout_methods)) {
  ?>
  <div class="clearfix"></div>
  <p class="text-right"><?php echo TEXT_ALTERNATIVE_CHECKOUT_METHODS; ?></p>

<?php
      reset($initialize_checkout_methods);
      while (list(, $value) = each($initialize_checkout_methods)) {
?>

  <p class="text-right"><?php echo $value; ?></p>

<?php
      }
    }
*/

Just in case anyone else is looking to do it

Edited by nigelt74
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...