Output lines are duplicates when they have identical values in all value fields that are used in sorting. Duplicates appear in template output when there are several similar objects in the product database. If you want to output only one line instead of outputting a line for each duplicate object, set the row sort type to COMBINE.