Support

Account

Home Forums General Issues Is it possible to load custom field data into a woocommerce product? Reply To: Is it possible to load custom field data into a woocommerce product?

  • You would have to use an acf/save_post filter on the product. In this filter you would need to copy the values from the vendor to the post what that they are available for sorting the post.

    So
    1) Get the vendor associated with the product
    2) Get the values that you want to be able to sort the post on
    3) Add these values as meta_values to the post