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

Paypal button in mini cart?

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 12-13-2010, 02:58 PM
 
masada3336 masada3336 is offline
 

Senior Member
  
Join Date: Jan 2009
Posts: 115
 

Default Paypal button in mini cart?

I'd like to give customers an option to use Paypal that's more visible - at the bottom of the cart.php isn't too noticable!
Anyone have an idea how to add "Checkout with Paypal" to the menu_cart.tpl?
I'd like it to be a simple text field, rather than the button. I got it to work and log me into paypal using the below code, but when it returns me to the checkout page, paypal isn't selected as the checkout option - it only gives me my two options (credit card & gift certificate).
I guess another question is how to implement paypal as an option within the one-page checkout - It's not showing up, even though it works if a customer clicks it from the cart page.
Thanks!

Code:
<li> <a href="{$current_location}/payment/ps_paypal_pro.php?mode=express&payment_id=`$smarty.get.paymentid`&do_return=1">Checkout with Paypal</a> </li>
__________________
4.4.5 - with Customized Smart Template
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 03:34 PM.

   

 
X-Cart forums © 2001-2020