WordPress.org

Support

Support » Plugins and Hacks » [Resolved] [Plugin: WooCommerce – excelling eCommerce] Featured Image not an option on Product Page?

[Resolved] [Plugin: WooCommerce – excelling eCommerce] Featured Image not an option on Product Page?

Viewing 5 replies - 1 through 5 (of 5 total)
  • James
    Member

    @jamesderosa3gmailcom

    Fixed:… needed to add:

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

    ‘product’ to my themes add_theme_support line of code.

    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!

    James
    Member

    @jamesderosa3gmailcom

    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.

    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!

    James
    Member

    @jamesderosa3gmailcom

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

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘[Resolved] [Plugin: WooCommerce – excelling eCommerce] Featured Image not an option on Product Page?’ is closed to new replies.