Viewing 1 replies (of 1 total)
  • Thread Starter peteincali2103

    (@peteincali2103)

    I figured this out, to set the product type, instead of using update_post_meta, you use:

    wp_set_object_terms( $productID, ‘subscription’, ‘product_type’ );

Viewing 1 replies (of 1 total)
  • The topic ‘Set Product type in database’ is closed to new replies.