Home Forums General Issues WooCommerce Product as the Repeated Field


WooCommerce Product as the Repeated Field

  • Hi
    I’d like to use Woo-Commerce products as the repeated field within a repeater.

    As an example, in a music store my custom post type would be Artist that has fields such as Biography, Concerts and Discography (repeater)

    Discography would be the repeater containing the WooCommerce products (albums) to buy

    Is this possible?

    Thanks for reading,

  • Hi @sjk1000

    Thanks for the post.

    Yes this should be possible, you will only need to create a field group with the set of fields that you want to map to the product post type.

    You can then assign the location rule:

    show field group if post type == ‘Artist’

    To display the value on the product page, you will then need to research the WooCommerce docs for the right filter that relates to the product page.

    I hope this info helps.

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

The topic ‘WooCommerce Product as the Repeated Field’ is closed to new replies.