WordPress.org

Ready to get started?Download WordPress

Forums

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

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

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

  2. mikejolley
    Member
    Plugin Author

    Posted 1 year ago #

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

    http://cl.ly/image/453M08260E2n

    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
    Member
    Posted 1 year 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. mikejolley
    Member
    Plugin Author

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

About this Topic