• Resolved 2TheMoon

    (@ruskiller777)


    //by press button user create copy of product;
    wp_update_post(
    array(
    ‘ID’ => intval( $clone_product_id ),
    ‘post_title’ => $product->get_title(),
    // ‘post_status’ => $product_status,
    ‘post_author’ => $user_id,
    ‘post_status’ => ‘trash’,

    ‘purchase_note’ => ”, – THIS NOT WORKING

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support John Coy a11n

    (@johndcoy)

    Automattic Happiness Engineer

    @ruskiller777

    Could you elaborate on what it is you’d like to achieve and where on the web site you’d like to achieve it?

    Plugin Support John Coy a11n

    (@johndcoy)

    Automattic Happiness Engineer

    Hi @ruskiller777

    Thanks again for reaching out to us.

    We haven’t heard back so we’re going to mark this thread as resolved. Feel free to open a new thread should you find this issue persists with the most recent version of WooCommerce.

    Thanks,

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘help .. how to update post and clear purchase note?’ is closed to new replies.