I think I have changed what I want to do. I want to place an if then function to check and see if an uploaded thumbnail exists right before this code in product.tpl
Code:
{include file="product_thumbnail.tpl" productid=$product.productid image_x=$product.image_x image_y=$product.image_y product=$product.product tmbn_url=$product.tmbn_url id="product_thumbnail" type="P"}
If the image does not exist then I want to call this template
Code:
{include file="pimage.tpl"}
But I'm not sure how to do it. I know there is a simple way to do this but I can't seem to figure it out.