Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls
 

How to comment out PayPal Express buttons

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 06-25-2013, 06:50 AM
 
dcplastics dcplastics is offline
 

Advanced Member
  
Join Date: Sep 2008
Posts: 48
 

Default How to comment out PayPal Express buttons

I'm running version 4.5.4. I need to use PayPal Express for my x-payments module to accept credit cards. What templates do I need to comment out the "PayPal Express" buttons on mini cart? I'm using the Ideal Comfort skin but would I need to edit the common files?

When you click on your cart in the top left corner, a drop down menu appears with the items in your cart and then a line that says View Cart and another line that says Checkout. When you click the Checkout line, another box appears with a blue Checkout box and a "Checkout with PayPal" button. I want that button gone.

Also, if you click on the "view cart" line, it takes you to your shopping cart where the "Checkout with PayPal" button is right below the blue "checkout" button. I need to remove that paypal button as well. I've tried several templates, but I'm having no luck removing them.
__________________
X-Cart Gold
4.5.4
Reply With Quote
  #2  
Old 06-25-2013, 11:31 AM
 
candc candc is offline
 

eXpert
  
Join Date: Jul 2009
Location: UK
Posts: 292
 

Default Re: How to comment out PayPal Express buttons

I think you will find this is the code you need to comment out

{if $paypal_express_active}
{include file="payments/ps_paypal_pro_express_checkout.tpl" paypal_express_link="button"}
{/if}

Not on 4.5.x, but we needed to change the files in the skin folder, not common files.
__________________
Ver 4.4.4 Gold
Ability
BCSE Pre Order
BCSE Global Product Options
BCSE Stock Notify
CDSEO Pro
MM OPC - Gave up with it
Altered Cart OPC
XMobile
Powered by EWD

Ver 4.4.4 Gold
Ability
BCSE Pre Order
BCSE Global Product Options
BCSE Stock Notify
CDSEO Pro
Altered Cart OPC
XMobile
Powered by EWD
Reply With Quote
  #3  
Old 06-25-2013, 11:34 AM
 
dcplastics dcplastics is offline
 

Advanced Member
  
Join Date: Sep 2008
Posts: 48
 

Default Re: How to comment out PayPal Express buttons

I did get it fixed. All of the buttons are now gone. I just had to wait a few minutes before my changes would go into effect.
__________________
X-Cart Gold
4.5.4
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 05:17 AM.

   

 
X-Cart forums © 2001-2020