Custom code pre-select product on checkout

Hello,

I am looking to do the same exact thing as this post

For products instead of variants.

Thanks!

Please reach out to [email protected]