• Resolved Make carlos

    (@make-carlos)


    This code will add Feature image for Post type” shop_order, its showing fine but image uploading is not working. Tried with disable all plugins except Woocommerce but image not uploading and there is no JS error in console.

    add_action('init', 'wptips_custom_init');
    function wptips_custom_init() {
      add_post_type_support( 'shop_order', array( 'thumbnail' ) );
    }
Viewing 2 replies - 1 through 2 (of 2 total)
  • Hi @make-carlos,

    I gave that snippet a try on my development site and it did appear to work. It let me select existing images out of the Media Library and upload new images. When I update the order, the image remains.

    featured image

    Try switching to the Storefront theme and see if it works with this snippet then. If it does, then it could be something in the original theme that’s preventing this from working.

    Let us know what you find out.

    Cheers

    Thread Starter Make carlos

    (@make-carlos)

    Yeah working fine now.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Feature image at order detail page in backend’ is closed to new replies.