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

How to include Google Checkout option on the Checkout page?...

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 10-11-2008, 05:19 AM
 
shangara singh shangara singh is offline
 

Advanced Member
  
Join Date: Aug 2007
Posts: 38
 

Default How to include Google Checkout option on the Checkout page?...

Hi,

On my cart page (/x-cart/cart.php), it shows the Checkout, then Google Checkout and PayPal as the fast lane payment methods.

However, if customer clicks Checkout (/x-cart/cart.php?mode=checkout), the Google Checkout option disappears.

Which template do I need to take the Google Checkout option from (I'm assuming cart.tpl) and which template do I need to include it in for it to show as an option when user clicks Checkout?

Any help appreciated. Thanks in advance.
__________________
-------------------------
Shangara Singh
www.Examaids.com
X-Cart: Version 4.1.10
Reply With Quote
  #2  
Old 10-12-2008, 08:48 AM
  JWait's Avatar 
JWait JWait is offline
 

X-Man
  
Join Date: Nov 2005
Location: California
Posts: 2,440
 

Default Re: How to include Google Checkout option on the Checkout page?...

Are you saying you only use Google Checkout and PayPal as payment options? If so, just comment out the "checkout button" on that page.
__________________
Two Separate X-Cart Stores
Version 4.4.4 Gold - X-AOM - Vivid Dreams Aquamarine (modified) - Linux
Mods - Newest Products - View All -, and a few others. Numerous upgrades from 4.0.x series.
Integrated with Stone Edge Order Manager + POS

Version 4.1.12 Gold (fresh install) - X-AOM - Linux
Mods - XCSEO free
Reply With Quote
  #3  
Old 10-12-2008, 08:59 AM
 
shangara singh shangara singh is offline
 

Advanced Member
  
Join Date: Aug 2007
Posts: 38
 

Default Re: How to include Google Checkout option on the Checkout page?...

Hi -- Won't that *exclude* the PayPal button? What I would like is to include the Google Checkout button as it appears when user clicks the Buy Now button.

I think this is the code:
{if $gcheckout_enabled and $main ne "cart" and $main ne "checkout" and $main ne "anonymous_checkout" and $main ne "order_message"}
<div align="right">{include file="modules/Google_Checkout/gcheckout_button.tpl"}</div>
{/if}

But not sure which tpl it needs to be placed in so that when user goes to /x-cart/cart.php?mode=checkout then the Google Checkout button appears.

Thanks.
__________________
-------------------------
Shangara Singh
www.Examaids.com
X-Cart: Version 4.1.10
Reply With Quote
  #4  
Old 10-12-2008, 09:29 AM
  JWait's Avatar 
JWait JWait is offline
 

X-Man
  
Join Date: Nov 2005
Location: California
Posts: 2,440
 

Default Re: How to include Google Checkout option on the Checkout page?...

No, the regular "checkout" button will disappear.

In the above code "ne" means "not equal" so it will not show the Google checkout button if the page is "cart" or "checkout" so simply adding that will not work.

I have not used either of these methods so I am unsure about how the customer checks out. Does the customer enter the information on their side or yours? from the looks of it, it appears the customer uses their side.

Edit - I went and looked at your site. I would add something like "Money Order - Bank Transfer - Western Union" under the blue "checkout" button, and move it under both the Google and Paypal buttons (if they are your preferred method of payment). Also, remove (comment out) the orange "checkout" button. This way, only people that want to use a money order, bank transfer, and Western Union are likely to click the regular "checkout button. It appears both Google and Paypal require the customer to enter their data, and adding it manually to x-cart by the customer seems unnecessary.
__________________
Two Separate X-Cart Stores
Version 4.4.4 Gold - X-AOM - Vivid Dreams Aquamarine (modified) - Linux
Mods - Newest Products - View All -, and a few others. Numerous upgrades from 4.0.x series.
Integrated with Stone Edge Order Manager + POS

Version 4.1.12 Gold (fresh install) - X-AOM - Linux
Mods - XCSEO free
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:46 PM.

   

 
X-Cart forums © 2001-2020