Call-back icon  Sales: Call 877.832.5289 (N America)|310.295.4144 (International)

Magento

eCommerce Software for Online Growth

Magento Forum

   
customizing CheckOut
 
kaulik
Jr. Member
 
Total Posts:  4
Joined:  2008-05-09
 

Hi,
i am customizing checkout method.
How do i add new functionalities in Payment Method of Checkout as shown in attached image.
In attached image, i have added 2 radio button to get an input from user about
“whether an Credit card Address is same as shipping address” ? Yes / No.

i have added 2 checkbox in template/paypal/standard/form.phtml
<input name=”cc_add” id="cc_add" type="radio" value="yes" onClick="” CHECKED>Yes</input>
<input name=”cc_add” id="cc_add" type="radio" value="no" onClick="">No</input>

In savePaymentAction():
i have added below lines:
$CC_add = $this->getRequest()->getPost(’cc_add‘, ‘’);
$result = $this->getOnepage()->savePayment($data,$CC_add);

In Onepage.php
public function savePayment($data,$CC_add)
{....}

i dont know how to proceed from here..

Plz correct me if i m wrong.

Refer attached file.

Image Attachments
aaa.jpg
 Signature 

When God solves your problems, You have faith in his abilities.. when God doesn’t solve your problems he has faith in your abilities..

 
Magento Community Magento Community
Magento Community
Magento Community
 
kaulik
Jr. Member
 
Total Posts:  4
Joined:  2008-05-09
 

s

 Signature 

When God solves your problems, You have faith in his abilities.. when God doesn’t solve your problems he has faith in your abilities..

 
Magento Community Magento Community
Magento Community
Magento Community
Magento Community
Magento Community
    Back to top
 
Sales: Call 877.832.5289 (North America) 310.295.4144 (International)
© Copyright 2008 Varien. Magento, eCommerce software, is a trademark of Irubin Consulting Inc. DBA Varien
Privacy Policy|Terms of Service
Magento Community Count
53216 users|792 users currently online|107268 forum posts