How to pass on complex SKU to Product ID buy button?

Basically what Gregory said above, but it’s complex.