Adding products combinations
Suppered by: PTU-EX-1 - Product type - naming pattern
Add a simple utilities plugin to the Products table which adds all combination of a product with attributes.
Name example
Base name: Wooden board, $1, $2cm x $3cm
Attributes in position 1: oak, pine
Attributes in position 2: 40, 60, 70
Attributes in position 3: 15, 25, 35
Generated products:
Wooden board, oak, 40cm x 15cm
Wooden board, oak, 40cm x 25cm
Wooden board, oak, 40cm x 35cm
Wooden board, oak, 60cm x 15cm
...
Wooden board, pine, 40cm x 15cm
...
Number generation
Three types:
- next free number
- next free number with preffix
- pattern