WooCommerce - excelling eCommerce
[resolved] Product Gallery Doesn't Update (4 posts)

  1. tokkilee
    Posted 2 years ago #

    Using Woo 2.0.5 - when adding or updating photos onto existing products via the product gallery, the product page never updates with the new photos? You have to create a new product for them to show up. Anyone know how to fix this?


  2. Mike Jolley
    Plugin Author

    Posted 2 years ago #

    1.6 -> 2.0 gallery management has changed - rather than just 'attach' images you now have this panel:


    Once attached there, the gallery template should pull these. If by any chance you took the gallery template from 1.6.x, update it to 2.0.x format. You should see something like this in that template file:

    $attachment_ids = $product->get_gallery_attachment_ids();

    The 1.6.x version just pulled images attached to the post, rather than from our new panel.

    If you have overridden all templates btw, its best to only move the ones you actually need to change - this avoids problems like the above.

  3. tokkilee
    Posted 2 years ago #

    Perfect, thanks! I always move all of the templates over because every time I do a Woo update, I normally get a bunch of bugs :(

  4. Mike Jolley
    Plugin Author

    Posted 2 years ago #

    Thats the downside I guess, but we usually list them in the changelog.

    Its easier to update a few templates after major updates (the ones you change) that all of them.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • WooCommerce - excelling eCommerce
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic