• Hi to all,
    I have a problem to update the “Featured field” for some specific products via PHP Code (I’m importing from an external web server).
    I can’t set the featured tag to Yes.

    I use the update_post_meta function:

    update_post_meta($productId,'_featured','yes');

    but the product remain without the star.

    Can someone explain me where I wrong?

    I use woocommerce 3.2.6 and at this moment I cannot upgrade due some problems with template.

    Thanks a lot to all 🙂

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘[WOOCOMMERCE] Update Product Meta problem’ is closed to new replies.