![]() |
Need some help with a new template I've created
I created a template called pimage.tpl that will call a product image based on the product's isbn (extra field) and here is the code for the template.
Code:
{section name=field loop=$extra_fields} |
Re: Need some help with a new template I've created
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"} Code:
{include file="pimage.tpl"} |
All times are GMT -8. The time now is 01:43 PM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.