[resolved] Featured Image not an option on Product Page? (6 posts)

  1. James
    Posted 3 years ago #

    I cannot seem to find the area to upload the main image for the product on the product page. I have seen this on my posts pages, but it seems to not be in the side area for my products... how can I get this to appear so that I can upload images?


  2. James
    Posted 3 years ago #

    Fixed:... needed to add:

    add_theme_support( 'post-thumbnails', array( 'post', 'page', 'movie', 'product' ) );

    'product' to my themes add_theme_support line of code.

  3. Elektra3
    Posted 3 years ago #

    Hi James,

    I know this thread was opened a while back, but just a question - where did you input this line of code?
    In the functions.php file of your theme??
    If so, where exactly?


  4. James
    Posted 3 years ago #

    I honestly forget where I added this code... that project has since been canceled, but... if you search for this line of code:

    add_theme_support( 'post-thumbnails', array( 'post', 'page', 'movie' ) );

    You will need to add this to the end of the array:


    So it will look like this:

    add_theme_support( 'post-thumbnails', array( 'post', 'page', 'movie', 'product' ) );

    Check the various PHP files for your theme... I hope this helps.

  5. Elektra3
    Posted 3 years ago #

    Thank for your quick reply, James!

    I've finally found where I need to put this - it was in my theme's setup.php file rather than functions.php that everyone else references.

    All working now! :)) thanks again!

  6. James
    Posted 3 years ago #

    No problem! So glad you got it working. Good luck with everything.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • WooCommerce
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic