Announcement Bar Methods

SmartCart.getAnnouncementBarsInCartArray

Get announcement bar instances used in the cart

SmartCart.getAnnouncementsByComponentIdArray

Get announcements by component ID

SmartCart.getAnnouncementBarsInCartArray

Get announcement bar instances used in the cart

Returns: Array - The announcement bar instances

SmartCart.getAnnouncementsByComponentIdArray

Get announcements by component ID

Returns: Array - The announcements for the component

ParamTypeDescription
idstringThe component ID