Posting in the Magento forums has been disabled pending the implementation of a new and improved forum solution which should better serve the community.

For new questions please post at magento.stackexchange.com, the community-run support site for the Magento community. We will be providing updates on the new forum solution soon. For questions or concerns please email community@magento.com.

Magento Forum

adding a google checkout payment link to the one page checkout page at step 5
 
stylesofny
Member
 
Total Posts:  39
Joined:  2009-01-11
 

Is there a way that i can add the same or smaller sized google checkout link that’s displayed in the shopping cart page, to step 5 of the one page checkout page?

Thank you

 
Magento Community Magento Community
Magento Community
Magento Community
 
retif
Sr. Member
 
Total Posts:  171
Joined:  2008-08-16
Odessa, Ukraine
 

yes, use checkout.xml

 
Magento Community Magento Community
Magento Community
Magento Community
 
stylesofny
Member
 
Total Posts:  39
Joined:  2009-01-11
 

where can i find that file? what directory?

 
Magento Community Magento Community
Magento Community
Magento Community
 
threadacademy
Jr. Member
 
Total Posts:  1
Joined:  2009-01-01
 

i have no clue on how to do it but the directory its located in is: app/design/frontend/default/layout

 
Magento Community Magento Community
Magento Community
Magento Community
 
subesh
Sr. Member
 
Avatar
Total Posts:  145
Joined:  2009-01-08
 

app\design\frontend\default\default\template\checkout\onepage\payment.phtml change in this..

 
Magento Community Magento Community
Magento Community
Magento Community
 
gabrielk
Sr. Member
 
Avatar
Total Posts:  83
Joined:  2007-11-30
 

Necroposting with an answer:

Add this snippet to the template file where you want the Google Checkout button to appear:

<?php echo $this->getLayout()->createBlock('googlecheckout/link')->setTemplate('googlecheckout/link.phtml')->toHtml(); ?>

I posted a quick how-to on my blog.

 
Magento Community Magento Community
Magento Community
Magento Community
Magento Community
Magento Community
Back to top