• Resolved JeanP

    (@jeanp)


    Hi there,

    I have set up a cusom setting page with pods.io on my Woocommerce shop.

    Using pods I would like to add a line on product pages within certain product categories.

    Result:

    On product pages with product with category A I would like to add Text A
    On Product pages with product Category B or C I Would like to add Text B
    On all other Product pages no text is displayed

    Should I set up a seperate text field and relation field in the custom settings page Pod? Like this:

    Text field 1
    Select product_cat_field_1 (relationship field)
    Text field 2
    Select product_cat_field_2 (relationship field)

    Or is there a better way to accomplish this?

    And how can I display the text for products on the frontend?

    Thank you in advance.

    • This topic was modified 2 years, 8 months ago by JeanP.
    • This topic was modified 2 years, 8 months ago by JeanP.
    • This topic was modified 2 years, 8 months ago by JeanP.
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Display a line of text on Product Pages of selected Product category’ is closed to new replies.