I’m using a shortcode to show a small list of products in any post, what I want is that in some way when adding the cart I get data from the post where I added the cart, something like this:
>[http://example.com/cart/?add-to-cart=10&post\_title=10\_best\_flowers])
And that data appears in the cart and checkout area
Any idea how to do it? I am open to any option