With SiteBuilder Scriptable Cart, can I use SS2.0?...
# suitecommerce
m
With SiteBuilder Scriptable Cart, can I use SS2.0? When I attach the script file to my SO form, it doesn't detect the recalc function.
c
I think scriptable cart is 1.0 only.
m
OK, thanks!
c
Down at the bottom of that article it says: "You cannot use SuiteScript 2.0"
m
Ahh.. That's great, thanks! I made the assumption that site was for SC/SCA and didn't pertain to SB. I'm digging into that article now. Thanks, again!
p
recalc name got changed in 2.0 too
m
@PabloZ What's the new entrypoint name for 2.0?
p
@Mike Robbins it's sublistChanged
👍 1
message has been deleted
Never tested this myself (i use SS1 Scriptable carts "just in case"), can you please let me know if that works?
m
@PabloZ For what it's worth, I never did get SiteBuilder to trigger
sublistChanged
with a 2.0 script. Going back to SS1.0.
p
facepalm no recalc in 2.0 makes it worthless! half of my scriptable carts are recalc-oriented.
Thanks for the notice.