X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Changing design (https://forum.x-cart.com/forumdisplay.php?f=51)
-   -   how set manufacturers thumbnail on productdetails (https://forum.x-cart.com/showthread.php?t=37308)

LoveHurts 02-04-2008 09:33 AM

how set manufacturers thumbnail on productdetails
 
Hi Peez;

i was wondering how to implement the picture of manufacture on the product-detail-page.

i use my manufacturers for the country where the product is comming from.
so costumers can see, ooo this comes from usa, Uk; ... whatever.
so i want that little country-picture inplemented on my productdetailspage, it has to be automaticly after set up my right manufacturer in admin.

i can imagine that some cart-owners will set a pic of manufacturer there.

is there a way to do that, to call that pic ?

manu thx in advance . Yves sensationrecords.com

TelaFirma 02-04-2008 09:37 AM

Re: how set manufacturers thumbnail on productdetails
 
http://forum.x-cart.com/showthread.php?t=35108

LoveHurts 02-04-2008 10:56 AM

Re: how set manufacturers thumbnail on productdetails
 
Quote:

Originally Posted by TelaFirma


thx for reply,i keep it in mind for sure.. but i have a list for modifications i want to implement in 1 time.

and i want to learn also..so i thaught this was to do by my one. no tpl-freaks that can help me learn?

grtz Yves

cflsystems 02-04-2008 11:10 AM

Re: how set manufacturers thumbnail on productdetails
 
this is how i show manufacturer pic in product.tpl

{if $product.manufacturer ne ""}
<div style="margin-bottom: 10px;">
<a href="manufacturers.php?manufacturerid={$product.m anufacturerid}"><img src="image.php?id={$product.manufacturerid}&amp;ty pe=M" alt="{$manufacturer}" style="vertical-align:middle;" border="0" /></a>&nbsp;<a href="manufacturers.php?manufacturerid={$product.m anufacturerid}">See All Products</a>
</div>
{/if}

DezineJunkie 02-04-2008 12:29 PM

Re: how set manufacturers thumbnail on productdetails
 
Quote:

Originally Posted by cflsystems
this is how i show manufacturer pic in product.tpl

{if $product.manufacturer ne ""}
<div style="margin-bottom: 10px;">
<a href="manufacturers.php?manufacturerid={$product.m anufacturerid}"><img src="image.php?id={$product.manufacturerid}&amp;ty pe=M" alt="{$manufacturer}" style="vertical-align:middle;" border="0" /></a>&nbsp;<a href="manufacturers.php?manufacturerid={$product.m anufacturerid}">See All Products</a>
</div>
{/if}


where is product.tpl
or do you mean product thumbnail.tpl?
or im blind today and dont see it

cflsystems 02-04-2008 02:30 PM

Re: how set manufacturers thumbnail on productdetails
 
skin1/customer/main/product.tpl

LoveHurts 02-05-2008 11:17 AM

Re: how set manufacturers thumbnail on productdetails
 
Quote:

Originally Posted by cflsystems
this is how i show manufacturer pic in product.tpl

{if $product.manufacturer ne ""}

{/if}


Hi,many thanks ! i does something, the links r working fine.

but i don't see the picture, it show 'picture not available'.
maybe my pictures of manuf. are stored anywhere else? (i think i should be that) lets check..

thx grtz Yves

DezineJunkie 02-05-2008 11:36 AM

Re: how set manufacturers thumbnail on productdetails
 
Quote:

Originally Posted by LoveHurts
Hi,many thanks ! i does something, the links r working fine.

but i don't see the picture, it show 'picture not available'.
maybe my pictures of manuf. are stored anywhere else? (i think i should be that) lets check..

thx grtz Yves


hi- thank you also for posting (the poster above) i was wondering the same
the links are there but no pics- how to link the images so they show/
i think we both need to know that

LoveHurts 02-05-2008 11:38 AM

Re: how set manufacturers thumbnail on productdetails
 
Quote:

Originally Posted by DezineJunkie
hi- thank you also for posting (the poster above) i was wondering the same


""if i find"" , will let you know. cheerz

LoveHurts 02-05-2008 11:58 AM

Re: how set manufacturers thumbnail on productdetails
 
Quote:

Originally Posted by DezineJunkie
the links are there but no pics- how to link the images so they show/
i think we both need to know that


check this code, this tread exists allready. may be closed/deleted for me.

{if $product.manufacturer ne ""}
<table width="100%" cellpadding="0" cellspacing="0">
<tr><td align="left"><a href="manufacturers.php?manufacturerid={$product.m anufacturerid}"><img src="image.php?id={$product.manufacturerid}&type=M " alt="{$manufacturer}" border="0" /></a></td></tr>
</table>
{/if}


All times are GMT -8. The time now is 03:00 PM.

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.