Support Forum » User Profile

Forum Replies Created

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • Daniele GladichDaniele Gladich
    Participant

    Thanks Peter, it works.

    in reply to: Add items to a Woocommerce product (a pack) from a cpt #36375
    Daniele GladichDaniele Gladich
    Participant

    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

Viewing 2 posts - 1 through 2 (of 2 total)