![]() |
Thumbnail show only if not default
I want to show the product_thumbnail.tpl within the products.tpl only if I have uploaded a custom thumbnail.
So I was thinking I need an if statement to show product_thumbnail.tpl if product thumbnail eq ?. I have tried the easy fixes like changing the size of the default image to 1 pixel, the problem is that I still get to much extra space in the products list where the product_thumbnail.tpl displays. Here is my if so far, {if $usertype eq "C"} {include file="product_thumbnail.tpl" productid=$products[product].productid image_x=$config.Appearance.thumbnail_width product=$products[product].product tmbn_url=$products[product].tmbn_url show_border="Y"} {else} {/if} Thanks. |
Re: Thumbnail show only if not default
I had x-cart modify the script for me, works great.
|
All times are GMT -8. The time now is 02:12 PM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.