| ||||||||||
Shopping cart software Solutions for online shops and malls | ||||||||||
|
X-Cart Home | FAQ | Forum rules | Calendar | User manuals | Login |
How can I add an image as an extra field in 4.x? Or can I? | ||||
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
How can I add an image as an extra field in 4.x? Or can I?
I'm trying to add a manufacturer logo (gif image) to each product I sell, but cannot figure out how. I want the image (approximately 100 x 30) to rest on top of the Title of the product a person is viewing. Can anyone tell me how to do this? Thank you.
__________________
-------------------- X-Cart Gold 4.1.11 Linux/Apache -------------------- |
|||||||
#2
|
|||||||
|
|||||||
How about hard-coding it into the description?
__________________
Padraic Ryan Ryan Design Studio Professional E-Commerce Development |
|||||||
#3
|
|||||||
|
|||||||
How would I do that exactly? I have about 40 different manufacturers with logos.
__________________
-------------------- X-Cart Gold 4.1.11 Linux/Apache -------------------- |
|||||||
#4
|
|||||||
|
|||||||
Just call the image in your description using standard html.
__________________
Padraic Ryan Ryan Design Studio Professional E-Commerce Development |
|||||||
#5
|
|||||||
|
|||||||
Yeah, but what I mean is, I have about 2000 items now and don't want to go through each one individually if possible.
__________________
-------------------- X-Cart Gold 4.1.11 Linux/Apache -------------------- |
|||||||
#6
|
|||||||||
|
|||||||||
Maybe I am being thick here, but isn't that exacly what "Manufacturers" is for in 4.x?
You can add an image there for each manufacturer then just insert the proper variables in the product.tpl file where you want to see the logo. |
|||||||||
#7
|
|||||||
|
|||||||
Thanks for the help too TelaFirma, very appreciated. How exactly would I do it as to not go through each item one by one? Also, what would be a sample code to use? Thanks.
__________________
-------------------- X-Cart Gold 4.1.11 Linux/Apache -------------------- |
|||||||
#8
|
|||||||||
|
|||||||||
You would need to set the images within Admin and then I would update all the products using an import.
|
|||||||||
#9
|
|||||||||
|
|||||||||
I did this by putting
Code:
wherever you need the manufacturer's logo to display in product.tpl. If you would like the logo to link to the page that views all of the manufacturer's products, use Code:
Make sure you put the manufacturer's logo's in the admin side for this to display correctly. Otherwise, default_image.gif will show up. An example of it in action: http://www.heritagetoys.com/product.php?productid=16840&cat=0&page=1
__________________
x-cart 4.0.13 and 4.1.7 and 4.1.10 |
|||||||||
#10
|
|||||||
|
|||||||
Thank you very much!
__________________
-------------------- X-Cart Gold 4.1.11 Linux/Apache -------------------- |
|||||||
|
|||
X-Cart forums © 2001-2020
|