Jump to content
Sign in to follow this  
chimol

Anyway to stop the PayPal Express checkout button in shopping cart?

Recommended Posts

Hi all,

I was just wondering if there was a way to stop the PayPal Express checkout icon from showing up while the user is looking at items in the shopping cart. I'm concerned that they will choose this and pay for the item and I will never see what they have ordered. Maybe I'm just paranoid, but this seems like what will happen if I leave the module active. Can we just eliminate the button from the shopping cart screen and have it available only when they have to choose the payment option instead?

Thanks,

Steve


Steve

I appreciate all the help that everyone on this site has given me!

Share this post


Link to post
Share on other sites

Steve,

 

I had the same problem. Just comment out the following lines from catalog/shopping_cart.php.

 

<!--
<?php 
echo TEXT_ALTERNATIVE_CHECKOUT_METHODS;
?>

</td>
     </tr>

<?php
     reset($initialize_checkout_methods);
     while (list(, $value) = each($initialize_checkout_methods)) {
?>
     <tr>
       <td><?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?></td>
     </tr>
     <tr>
       <td align="right" class="main"><?php echo $value; ?></td>
     </tr>
-->

Share this post


Link to post
Share on other sites
Steve,

 

I had the same problem. Just comment out the following lines from catalog/shopping_cart.php.

 

<!--
<?php 
echo TEXT_ALTERNATIVE_CHECKOUT_METHODS;
?>

</td>
     </tr>

<?php
     reset($initialize_checkout_methods);
     while (list(, $value) = each($initialize_checkout_methods)) {
?>
     <tr>
       <td><?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?></td>
     </tr>
     <tr>
       <td align="right" class="main"><?php echo $value; ?></td>
     </tr>
-->

 

Nelson,

So you did this and no issues? GREAT! I'm going to give this a shot and see how it goes.


Steve

I appreciate all the help that everyone on this site has given me!

Share this post


Link to post
Share on other sites
Nelson,

So you did this and no issues? GREAT! I'm going to give this a shot and see how it goes.

<!--//<?php echo TEXT_ALTERNATIVE_CHECKOUT_METHODS;?></td>	  </tr>//<?php	  reset($initialize_checkout_methods);	  while (list(, $value) = each($initialize_checkout_methods)) {?>	  <tr>		<td>//<?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?></td>	  </tr>	  <tr>		//<td align="right" class="main"><?php echo $value; ?></td>	  </tr>-->

 

Is this where I would put the // to comment out the lines? I'm not the greatest coder..lol


Steve

I appreciate all the help that everyone on this site has given me!

Share this post


Link to post
Share on other sites
<!--//<?php echo TEXT_ALTERNATIVE_CHECKOUT_METHODS;?></td>	  </tr>//<?php	  reset($initialize_checkout_methods);	  while (list(, $value) = each($initialize_checkout_methods)) {?>	  <tr>		<td>//<?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?></td>	  </tr>	  <tr>		//<td align="right" class="main"><?php echo $value; ?></td>	  </tr>-->

 

Is this where I would put the // to comment out the lines? I'm not the greatest coder..lol

 

 

 

Do not use //. The <!-- and --> are the marks that I put in to comment out the lines between them. Alternatively you could delete the lines altogether, but I prefer to leave codes alone in case I need them later.

Share this post


Link to post
Share on other sites

Thanks!


Steve

I appreciate all the help that everyone on this site has given me!

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×