Pre-poppulate fields in Shopping Cart

I found this article, but I can’t make it work
if I have a link, in theory, I should change it to, right? but it’s not working
can someone explain how to make it work?

it works when I add products as a bundle, but not with single products