I can give some more details about the different m...
# suitecommerce
n
I can give some more details about the different models and methods and what not, I figured I would just start there before getting too deep into the weeds.
c
@nzaleski What is it exactly that you're trying to accomplish?
n
That the shipping is updated after an address is updated (not changed)
c
I'm working on a similar problem. So we might be able to work together on this.
n
sounds good
what is your issue?
c
Forgive me for not understanding... but how it 'updated' different from 'changed'. I can't tell...
My issue is that I'm trying to override the rates json object returned from
nlapiGetWebContainer().getShoppingSession().getOrder().getFieldValues()
n
so when they click update, its like editing the actual address, but change means selecting a different address
Does that make sense? What rates are returned from that
getFieldValues()
? I am not expert but I can try to give you some feedback
c
How do you render your custom shipping?
If you look in OrderWizard.Module.Shipmethod.js there is a
reloadMethods
function. This looks like it will reload the Delivery Method drop down.
I'm looking at code for 2019.1.3
n
yeah that looks like it will work for our customization, but I am not sure how I can call it from the
Address.Edit.View
when you edit the shipping address it takes you there. But even if I could access that
reloadMethods
method there is another issue. When you edit the billing address it uses the same form.