How to add a new module on checkout page

Adds a module to a step. You must extend class WizardModule to add a new module.

checkout.addModuleToStep( {

  step_url: ‘shipping/new_step’

, module: {

    id: ‘new_module’

  , index: 0

  , classname: ‘OrderWizard.Module.Shipmethod’

  , options: { container: ‘#wizard-step-content-right’}

  }

})

Leave a comment

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