Hello. Could I know how to set the shipping price ...
# suitecommerce
b
Hello. Could I know how to set the shipping price dynamically in checkout ssp please? I can see
setMethod()
function but the shipping price should be dynamic based on cart items and third part API. Any help would be appreciated.
s
Scriptable cart.
b
@Steve Goldberg Thanks for your answer but can we do that in checkout process too? I can't find any entry point for custom action?
We need to do that in checkout ssp
s
I’m not sure what you mean. Scriptable cart is the only way to do this, and it works in checkout.
b
@Steve Goldberg In checkout process, in Delivery method select process, I added a button in theme. clicking that button will calculate shipping price based on address you selected and items in cart. And I want to set that price to Shipping Cost. Could you tell me how to do this please? how to trigger action in client script for that button action please?
Continue button is normal navigation and Get Shipping Cost is button I added
s
I can’t give you a detailed explanation. Refer to our documentation (https://docs.oracle.com/en/cloud/saas/netsuite/ns-online-help/article_164815363102.html#Customize-with-Scriptable-Cart) and there is a video on YouTube about it
b
Thank you @Steve Goldberg