WordPress.org

Ready to get started?Download WordPress

Forums

TheCartPress eCommerce Shopping Cart
[resolved] Product images disappeared after update to version 1.2.7.1 (2 posts)

  1. vincevega
    Member
    Posted 1 year ago #

    We updated from 1.2.6 to 1.2.7.1 on our DEV servers last night and the product images are no longer displaying on single product pages. All of the Single Content settings are the same in TCP Look & Feel / Theme Compatibility, so we're not sure what the issue is.

    Viewing source, the image and the associated Javascript is not being included on the page.

    Any ideas?

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

  2. vincevega
    Member
    Posted 1 year ago #

    Figured it out. The single content page only displays thumbnails in the post page if the post type has the “Is saleable” checkbox selected in TCP Tools/Manage post types.

    The logic is in TheCartPress.class.php, line 490

    if ( ! tcp_is_saleable_post_type( $post->post_type ) ) return $content;

    else

    return content with items specified in settings (buy button, images etc.)

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic