Develop data actions and themes in e-Commerce
Data actions are JavaScript functions that are used in the Commerce architecture to help fetch and map data that is required by modules across applications.
The Commerce platform includes a set of core data actions that can be called from modules to do typical data retrieval.
For example, core data actions can get a category list, product information details, and more.
Watch the following video to learn how to create a custom data action in Commerce.
In Commerce, you can apply a theme to your online site, individual templates, or individual pages.
For example, you might have a default theme that is set for the online site and a campaign theme that is applied to a subset of the pages on the site. After a theme is created and uploaded to your production site, you can use the Commerce site builder tool to set the theme for the site. You can set the site’s theme in a template, in a layout, or on a single page.