I have tried to search for a solution for this for the past few days now, and no luck, so thought I’d post on here.
I have a test product page here:
http://scarlettofsoho.wpengine.com/product/test-singlesub-product/
I am looking to pass the product name (Test Single Sub Product) to the checkout/order as metadata when they click on a hardcoded link (which is a different product to (Test Single Sub Product)):
http://scarlettofsoho.wpengine.com/checkout/?add-to-cart=38
Either appended to the URL or put the product name into an input value that submits as metadata to the checkout/order.
Could look something like this?
/?add-to-cart=38&product=test-singlesub-product
Regards,
Jacques