Add a new button to the checkout

Requirement
Add the “Continue” button below the order summary section. As default, the continue button in checkout appears at the bottom of the page

Solution
Use extensiblity API checkout module:

checkout.addModuleToStep({
step_url: "shipping/address",
module: {
	id: "SubmitButton",
	index: 6,
	classname: "OrderWizard.Module.SubmitButton",
	options: {container: '#wizard-step-content-right'
,	showWrapper: true
,	wrapperClass: 'order-wizard-submitbutton-container'

}

Leave a comment

Your email address will not be published. Required fields are marked *