7 replies [Last post]
Abilnet's picture
Offline
Uber DonorBug Finder
Joined: 12/28/2007
Juice: 718
Was this information Helpful?

Is there any option or other simple way to disable the "Cancel" -button on checkout page?

Ryan's picture
Offline
Joined: 08/07/2007
Juice: 15438
Re: How to disable "Cancel" -button on checkout page?

Good point... I've been thinking about removing that for a while now. Who wants a customer to have easy access to a cancel button? Sticking out tongue

Anyways, I don't have time to test to make sure it doesn't negatively affect anything, so I'll build this into a small checkout enhancement contrib I'm putting together. I'll post a link here once it's up.

Ryan's picture
Offline
Joined: 08/07/2007
Juice: 15438
Re: Re: How to disable "Cancel" -button on checkout page?

Alrighty, this is in Checkout Enhancements.

Abilnet's picture
Offline
Uber DonorBug Finder
Joined: 12/28/2007
Juice: 718
Re: Re: Re: How to disable "Cancel" -button on checkout page?

That's cool Ryan, works great... a big thanks, appreciated! ...one more idea though... is it possible also to have an option to remove the "Back" button on the "review" -page?

Ryan's picture
Offline
Joined: 08/07/2007
Juice: 15438
Re: Re: Re: Re: How to disable "Cancel" -button on checkout page

You can tweak my code there for the review form and disable the button, but you'll kinda need that if folks need to change some order info.

PaulW's picture
Offline
Joined: 05/23/2008
Juice: 148
Re: Re: Re: Re: Re: How to disable "Cancel" -button on checkout

Thanks for creating this module.

How about enhancing your enhancement a bit to include both the 'Submit' button and the 'Back' button. When the 'Submit' button is clicked, I don't want a customer to accidently click the 'Back' button while the order is being processed - and visa-versa.

Ryan's picture
Offline
Joined: 08/07/2007
Juice: 15438
Re: Re: Re: Re: Re: Re: How to disable "Cancel" -button on check

I thought about that, too. +1 to the idea, and I may just make this a core feature for the D6 branch.

Abilnet's picture
Offline
Uber DonorBug Finder
Joined: 12/28/2007
Juice: 718
Ryan wrote:I thought about
Ryan wrote:

I thought about that, too. +1 to the idea, and I may just make this a core feature for the D6 branch.

Yes, please... and I'm "only" talking this from the business point of view Eye-wink