Join Slack
Powered by
Is the website default ship method available in th...
# suitecommerce
c
Chris
06/04/2020, 9:54 PM
Is the website default ship method available in the commerce api?
p
PabloZ
06/04/2020, 9:58 PM
yup - (ModelsInit - depends on the version.)session.getSiteSettings(['defaultshippingmethod']).defaultshippingmethod
PabloZ
06/04/2020, 9:58 PM
you already have it in the frontend at SC.ENVIRONMENT.siteSettings.defaultshippingmethod
c
Chris
06/04/2020, 9:59 PM
awesome, thanks again
@PabloZ
p
PabloZ
06/04/2020, 10:20 PM
"application/container".getComponent('Environment').getSiteSetting('defaultshippingmethod') to be Extensibility api compliant frontend side🙂
PabloZ
06/04/2020, 10:20 PM
Otherwise
@Steve Goldberg
will hit me
🤣 2
s
Steve Goldberg
06/05/2020, 10:12 AM
👮🏻
🤣 1
Open in Slack
Previous
Next