Does any one know if there is docs on overriding a...
# suitecommerce
m
Does any one know if there is docs on overriding a module in the newest scs?
s
SuiteCommerce does not allow for the overriding of modules, it is bad practice.
m
I need to add a custom payment method previously we just creating a our own module in an older version of sca to do this do you what would be a best practice to do this?
s
Does the creation of your new module require the overriding an existing SuiteCommerce one?
m
We need to change the orderwizardmodule payment method to accpet new payment methods
in the order_wizard_paymentmethod_selector_module.tpl file there is a property activeModules that I would like to add to but in scs I don't know how I could change that
s
That is a property of the context object, so you would need to write some JavaScript that uses the
addToViewContextDefinition
method on either the checkout or layout component of the extensibility API
m
thank you!