Yes, you do. But the good news is - computers are very good at automating tasks like this. :)

function setup() {
for ($i = 1; $i <= 545; $i++) {
$this->add_prod_to_prod($i,$i,"%", 10);
}
}