TheCartPress eCommerce Shopping Cart
Custom template for single product, no image template tags (1 post)

  1. nix255
    Posted 2 years ago #

    I am trying to create a custom template for the single product view and am struggling to find documentation to explain the process or help with the template tags.
    I have a content-single-product.php file which is laid out almost how I want it. However I can't seem to separate the image/thumbnail from the content. I need the image to be first on the page, followed by the title and then the prices, buy button and dynamic options, with main content last. I can not find in the list of template tags, one to 'get the thumbnail'. I have tried the usual wordpress template tags, and although the image is displayed, the dynamic options do not change the image as they do with the default display. I have also searched the plugin template files for the image display tags and have tried a few, but again, the same results. The dynamic options no longer change the image.
    Does anyone know of a tutorial that can help me? Or what it is that I am missing to get this to work correctly. It is infuriating as I'm sure it should be simple.


Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic