The release includes some requested updates for the extensibility API:
• Cart.getLatestAddition() -- gets item data for the item that was last added to the cart (eg if you want to do a popup)
• Environment.addTracker() and triggerEvent() -- for adding and triggering custom events for custom trackers
• Cart.setTransactionBodyField() -- to set a custom transaction body field (eg a custom delivery note)
• Search component! Grants access to getUrl() which provides a generator for your site's item search API
👍 1
Steve Goldberg
03/30/2021, 6:30 PM
I probably won't write any articles about them -- I'm going to be working more closely with the tech writers, though, to see if we can get the sort of content I would normally write put into the help center instead
e
eminero
03/30/2021, 7:08 PM
It has been a long time since the last webinar, that would be something good as well. Thanks for the info @Steve Goldberg!
👍 1
c
Christopher Dembek
03/31/2021, 1:02 PM
Question… With every release there are changes to the base theme, either code has been updated or new template/sass files added or moved. If a SC/SCA site was built based on the 19.1 theme and the account is updated to 21.1, how does SC handle the missing updates within the deployed theme?
s
Steve Goldberg
03/31/2021, 2:42 PM
As far as I can know, Chris, there is no error when a template is not found, it just doesn't render anything
Steve Goldberg
03/31/2021, 2:43 PM
If a container template is missing, you'll just get an empty page. And I think if it's a child view, you'll get nothing where a template should be