Generic Templates
Context​
For our customers who deploy substantially similar ranges in various regions/countries/brands, one modeling option in the ByMe platform is to:
- Create a master range containing all the products.
- Create N application distributions, one for each region/country/brand-in the following examples we consider countries coded FR, GB, NO..
- Create one product override per master product per application distribution where the product is sold, with the
override containing only the information which is different between regions/countries/brands: localized description,
price, availability dates..., but not 3D, type, etc.
Problem​
It is possible to create templates for each application distribution. The FR template referring to FR overridden
products, GB template to GB products etc.
However if one wishes to deploy the same templates (in terms of design/shape/layout) in different application
distributions, this is highly frustrating and repetitive work.
Solution​
ByMe template engine has the capability to generate automated proposals from a generic template in various application distributions due to the products overrides.
Procedure​
To achieve this result, range maintainers need to:
- Create master products that have overrides.
For instance a product master catalog has been created. Each product of this catalog has its own overrides ( GB,FR,NO,...). - Add the overrides in the correct application distribution/catalog.
Master products should be put in the master catalog, and all the overridden products (FR,GB,NO...) should be in the FR, GB, NO catalog and application distributions. - Create a template, including only products from the master catalog.
- Create a master template catalog, add the templates to the master template catalog
- Put all the application distributions that will use the templates in the template catalog.
When a consumer launches the automatic proposal in the application corresponding to a given application distribution, the proposal will leverage the template and instantiate the overridden versions of the master products in the template, instead of instantiating the master products.