Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Current »

Method Signature String[] getAdvertisingSources();
Description
Returns a list of configured advertising sources for a given cart. This can be used to display a nice drop down to the customer. Since advertising sources can be configured on a per screen branding level it is important to make sure the screenBrandingThemeCode is set on the cart object to the proper theme. By default a new Cart will have the default screen branding theme so that is the list that will be returned when this function is called.
Parameters None - the global cart variable is automatically submitted for this call.
Result String[]- an array of advertising sources. This will be an empty array if you have not configured any advertising sources.

  • No labels