the only issue i see is that the record sets are basically pulling identical data.
the add to cart buttons are created correctly, they are each referencing different recordset, but they are both using the id_tb column as the ID and are both hard coded to use the value 1.
I dont think it;s the first add to cart button is using recordset 2, I think recordset 1 is pulling identical info.