- The topic ‘Custom template for single product, no image template tags’ is closed to new replies.
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.