• Resolved eresiarca

    (@eresiarca)


    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 3 replies - 1 through 3 (of 3 total)
  • Thread Starter eresiarca

    (@eresiarca)

    up ??

    jessepearson

    (@jessepearson)

    Automattic Happiness Engineer

    @eresiarca Were you able to find a resolution to this? The version of WooCommerce referenced is outdated at this point, so methods may have changed.

    Plugin Support Missy a11n

    (@m155y5)

    Automattic Happiness Engineer

    We haven’t heard back from you in a while, so I’m going to go ahead and mark this thread as resolved. If you have any other questions please feel free to start a new thread.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘[WOOCOMMERCE] Update Product Meta problem with Featured “tag”’ is closed to new replies.