WordPress.org

Ready to get started?Download WordPress

Forums

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

  1. James
    Member
    Posted 1 year 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?

    http://wordpress.org/extend/plugins/woocommerce/

  2. James
    Member
    Posted 1 year 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
    Member
    Posted 1 year 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?

    Thanks!

  4. James
    Member
    Posted 1 year 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:

    'product'

    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
    Member
    Posted 1 year 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
    Member
    Posted 1 year 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

About this Topic