Support

Account

Home Forums General Issues Display product price in Relationship field Reply To: Display product price in Relationship field

  • Hi @fanta00

    I think you need to use the $p variable instead of the $post variable. It should be something like this:

    $product = new WC_Product($p->ID);

    I hope this helps.