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

  1. vincevega
    Posted 3 years ago #

    We updated from 1.2.6 to 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?


  2. vincevega
    Posted 3 years 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;


    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