For first time when you clone the repo, please run yarn command from the src/OnlineSDK directory to install all the dependencies required for the samples to run.
To run a sample, simply go into a sample from src/OnlineSDK/Samples/{Sample_Name} directory and run the following command: yarn start and follow the steps in the README.md file located at the root level of each sample.
- Custom module
- Module localization and globalization
- Interactive components
- Module config visibility
- Custom script injector
- Clone a module library module
- Add and consume custom cartline attributes
- Add and consume custom product attributes
- Add and consume custom user attributes
- Sharing state across modules
- App settings
- Cookie sample within module
- Add and consume custom order attributes
- Call a core data action
- Call a Commerce Scale Unit API
- Custom data action calling an external service
- Data action overidding
- Batch data action
- Chain data action
- Overriding SDK hydrator action
- Call data action in module
- Custom theme
The custom theme includes below features
- Adding module CSS properties to a theme's SCSS files
- Create a custom theme
- Module View Extensions & module definition extension
- Clone a theme
- Style Presets
- Override a module library component in a theme
- Configuring different layouts for a module in theme settings
- Extend a theme from a base theme
- Theme specific resource overrides
- Module css optimization
- Promo Code Affiliation
- Role based caching
- Age gate
- Media Gallery Video Support Without API
- PLP Infinite scroll
- Pop Up
- Product Badge
- AddToCartProductCard
- Tile Navigation
- Wishlist Items Count
- Product Image Orientation
- Sticky Header
- PDP PLP Variant Selection
- Recently Viewed Products
- Sample Kit Product
- Language Picker
- Billing Address Customization
- Gift Wrap
- Order Summary Tax
- Media Gallery Video Support
- Delivery Notes
- Custom Drop Down Paging
- PowerBI
- Expose SalesOrder SalesLine Attributes
- Gift Card Personalization