ns-products-type

This filter allows you to overwrite the actual product type. By default, an associative array is provided as the default value with the following properties :

  • materialized : That define a material product
  • unmaterialized : that define a product that can't be material

This filter will therefore be used to either add new types or edit existing types. Here is how you'll use it :