Let's say that we have a parent smart contract which functions as a blueprint for a business marketplace which covers various use cases and each use case is defined in this parent smart contract, e.g. Pizzaria use case and its associated functionality/parameters. However, there might be more than one Pizzaria company part of the marketplace, so different parameters might be needed such as price etc.
How would one go about generating child smart contracts from a parent smart contract with different parameters?