Hi Long, thanks for the informations.
I don't have to include single products (from now "items") in the order and process them in the WooCommerce system. Packs (from now "products") are the one to be processed.
Every product is made with 4 or 5 items and customers can't change them. So I need only to show items in the product page.
Example:
Product name: Fruit
Fruit has 1 banana, 1 apple, 1 orange
I've tried both the solutions.
Relationship works well but if, in the example, Fruit has 2 apples, I can't output that quantity because every item can be part of multiple products and so I can't add a quantity field in the item post.
Post field would be better. I created a cloneable group field to be shown in woo product page with a post field and a number field for the quantity, but using oxygen repeater (with the meta box group option checked) only the id of the post field is shown (I'd like to output title, description and images). Any idea?
Thanks
Daniele