How to assign documents to a product when it is created
Business rules allow you to automatically attach existing images or pdf-files to newly created products depending on certain conditions.
Last updated
Business rules allow you to automatically attach existing images or pdf-files to newly created products depending on certain conditions.
Last updated
Create a business rule with a "product is created"-trigger. Then set up conditions that will check what kind of documents that should be attached. In this example the attribute "Article" is checked.
If the attribute is a type we know needs a document attached we can update that document using the "Update attribute"-action. In this case the Documents attribute is updated.
The "else"-case is left empty so if future products that does not fit into the other conditions are created they will not have documents attached to them.