Post by ifone_developer » Mon Oct 04, 2010 2:17 pm

Hi guyz,
Could anyone plz tell me where to find the confirm order button in code???
Since am new to opencart, am struggling to find this!!
After finding this, i need to do this. When customer clicks confirm button once, i need to disable the confirm button,
so that the customer cannot click the button twice.
Am using authorize.net as payment method.
So if i click the confirm button twice or thrice, i can see the loading symbol( please wait alert) twice or thrice correspondingly. This should not happen.
Can anyone help me in doing this as well..
Thank you guyzz

New member

Posts

Joined
Sat Jul 10, 2010 6:48 pm

Post by ifone_developer » Mon Oct 04, 2010 4:16 pm

Hi guyz,
Atlast i found out where is that confirm button... its on the corresponding payment method.
I use authorize.net. And hence i found out on controller/payment/authorizenet_aim.tpl.
And also i have found a way to disable that after single click.
But the prob is, payment gets hanged (with please wait alert) after clicking confirm button.
I dono how to handle it.
Could anyone help me in this????

New member

Posts

Joined
Sat Jul 10, 2010 6:48 pm

Post by Qphoria » Mon Oct 04, 2010 9:05 pm

are you using 1.4.8? See the 1.4.8 bug about error email in my signature to fix the please wait

Image


User avatar
Administrator

Posts

Joined
Tue Jul 22, 2008 3:02 am

Post by ifone_developer » Mon Oct 04, 2010 9:47 pm

ya am using 1.4.8b. I have already gone through that thread and made changes yaar. Yet i couldn't get out of that error.
Wat else could be the reason that causes this error?
Tanx for replying me qphoria!!!

New member

Posts

Joined
Sat Jul 10, 2010 6:48 pm

Post by vayu » Wed Oct 27, 2010 10:25 pm

Hi,

I would also like to know where the $payment is being set in the core. I would like to modify it a bit for styling. I'd like to add a class and such.

New member

Posts

Joined
Tue Sep 14, 2010 5:09 am

Post by Qphoria » Wed Oct 27, 2010 10:41 pm

$payment is the variable for the payment form based on the payment you've selected
catalog/view/theme/default/template/payment/*.tpl

Image


User avatar
Administrator

Posts

Joined
Tue Jul 22, 2008 3:02 am

Post by vayu » Thu Oct 28, 2010 3:09 am

Great, thanks for your help Qphoria! :-)

New member

Posts

Joined
Tue Sep 14, 2010 5:09 am
Who is online

Users browsing this forum: No registered users and 322 guests