Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls
 

how set manufacturers thumbnail on productdetails

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 02-04-2008, 09:33 AM
  LoveHurts's Avatar 
LoveHurts LoveHurts is offline
 

Advanced Member
  
Join Date: Mar 2007
Posts: 39
 

Default 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
__________________
Core version: 5.3.4.4
PHP: 5.6
Web server: Apache
---stll running a---
x-cart PRO 4.1.6 [unix] updated to 4.1.9
Belgium
Reply With Quote
  #2  
Old 02-04-2008, 09:37 AM
  TelaFirma's Avatar 
TelaFirma TelaFirma is offline
 

X-Adept
  
Join Date: Nov 2002
Location: North Carolina USA
Posts: 930
 

Default Re: how set manufacturers thumbnail on productdetails

http://forum.x-cart.com/showthread.php?t=35108
Reply With Quote
  #3  
Old 02-04-2008, 10:56 AM
  LoveHurts's Avatar 
LoveHurts LoveHurts is offline
 

Advanced Member
  
Join Date: Mar 2007
Posts: 39
 

Default 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
__________________
Core version: 5.3.4.4
PHP: 5.6
Web server: Apache
---stll running a---
x-cart PRO 4.1.6 [unix] updated to 4.1.9
Belgium
Reply With Quote
  #4  
Old 02-04-2008, 11:10 AM
  cflsystems's Avatar 
cflsystems cflsystems is offline
 

Veteran
  
Join Date: Apr 2007
Posts: 14,201
 

Default 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}
__________________
Steve Stoyanov
CFLSystems.com
Web Development
Reply With Quote
  #5  
Old 02-04-2008, 12:29 PM
  DezineJunkie's Avatar 
DezineJunkie DezineJunkie is offline
 

Senior Member
  
Join Date: Jan 2008
Posts: 174
 

Default 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
__________________
X-CART Pro V.4.3.0
PHP version 5.2.11
MySQL version 5.0.81
Architecture x86_64
Apache version 2.2.14 (Unix)mod_ssl/2.2.14
Operating System: Linux
Dedicated Ip
cPanel Pro 1.0 (RC1)
cPanel Version 11.24.5-RELEASE
Modules: DL Expander, DL Products, One Page Checkout, Dynamic Images,
Multicolumn Recommends, Narrow by Search, Random Products Tabs.
X-AOM, SALES-N-STATS 1.3 , X-Offers-4.1.9, X-Magnifier41x, X-Fancy Categories,
X-RSS Feeds, Static Meta Tags , X-AJAX Rating System v4.1


Reply With Quote
  #6  
Old 02-04-2008, 02:30 PM
  cflsystems's Avatar 
cflsystems cflsystems is offline
 

Veteran
  
Join Date: Apr 2007
Posts: 14,201
 

Default Re: how set manufacturers thumbnail on productdetails

skin1/customer/main/product.tpl
__________________
Steve Stoyanov
CFLSystems.com
Web Development
Reply With Quote
  #7  
Old 02-05-2008, 11:17 AM
  LoveHurts's Avatar 
LoveHurts LoveHurts is offline
 

Advanced Member
  
Join Date: Mar 2007
Posts: 39
 

Default 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
__________________
Core version: 5.3.4.4
PHP: 5.6
Web server: Apache
---stll running a---
x-cart PRO 4.1.6 [unix] updated to 4.1.9
Belgium
Reply With Quote
  #8  
Old 02-05-2008, 11:36 AM
  DezineJunkie's Avatar 
DezineJunkie DezineJunkie is offline
 

Senior Member
  
Join Date: Jan 2008
Posts: 174
 

Red face 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
__________________
X-CART Pro V.4.3.0
PHP version 5.2.11
MySQL version 5.0.81
Architecture x86_64
Apache version 2.2.14 (Unix)mod_ssl/2.2.14
Operating System: Linux
Dedicated Ip
cPanel Pro 1.0 (RC1)
cPanel Version 11.24.5-RELEASE
Modules: DL Expander, DL Products, One Page Checkout, Dynamic Images,
Multicolumn Recommends, Narrow by Search, Random Products Tabs.
X-AOM, SALES-N-STATS 1.3 , X-Offers-4.1.9, X-Magnifier41x, X-Fancy Categories,
X-RSS Feeds, Static Meta Tags , X-AJAX Rating System v4.1


Reply With Quote
  #9  
Old 02-05-2008, 11:38 AM
  LoveHurts's Avatar 
LoveHurts LoveHurts is offline
 

Advanced Member
  
Join Date: Mar 2007
Posts: 39
 

Default 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
__________________
Core version: 5.3.4.4
PHP: 5.6
Web server: Apache
---stll running a---
x-cart PRO 4.1.6 [unix] updated to 4.1.9
Belgium
Reply With Quote
  #10  
Old 02-05-2008, 11:58 AM
  LoveHurts's Avatar 
LoveHurts LoveHurts is offline
 

Advanced Member
  
Join Date: Mar 2007
Posts: 39
 

Default 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}
__________________
Core version: 5.3.4.4
PHP: 5.6
Web server: Apache
---stll running a---
x-cart PRO 4.1.6 [unix] updated to 4.1.9
Belgium
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


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

   

 
X-Cart forums © 2001-2020