#jdesign-checkout-metadata

1 messages · Page 1 of 1 (latest)

pastel juniper
#

Hello @copper cape

#

In the code you shared you are putting the metadata in the product not the Price

#

see how you put them inside product_data instead of price_data?

copper cape
#

ohhhh fuck

#

you are right

#

there is also a product_id....

pastel juniper
#

A Session can have N line items, each line item points to a Price, which itself points to a Product.
Each object has its own metadata

copper cape
#

OK wow I sat here for over an hour now and did not figuered it out by myself hahaha

#

thanks that should work then

pastel juniper
#

do you can expand line_items.price.product and see it all

copper cape
#

good to know

pastel juniper
#

yeah it's multiple layers

copper cape
#

it worked perfectly thanks again!