I want to somehow intercept the "Buy Now" button and store an additional piece of data in a hidden field in the order.
I assume there is some way, using JQuery, to prevent to default action of the "buy now" button to do this before it submits?
So, somehow I need to be able to
I am new to Shopify development so apologies for my lack of knowledge.
Any help would be greatly appreciated.