How to link the "add to cart" button to different items in a collection

Hi I’d like to know how I can link the “add to cart” button to different items in the collection as I can only connect the button to 1 product in my dinamic page.

This is the dinamic page.

This is the page that leads to the dinamic one, you click in “Leia Mais (read more)” and you get more information on the book you chose, it changes depending on the book you selected.

Does anyone know how I can link the “add to cart” button to different items in a collection, because in this case it only lets me connect to one.