Web Design Forum: eCommerce Lifestyle Images - Web Design Forum

Jump to content

WDF
WDF Premium Memberships Reseller Hosting
Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

eCommerce Lifestyle Images HELP ME PLEASE!!! :( :( Rate Topic: -----

#1 User is offline   TylerCollins 

  • Dedicated Member
  • PipPipPip
  • Group: Members
  • Posts: 437
  • Joined: 28-May 08
  • Reputation: 25
  • Gender:Male
  • Location:Northern Ireland
  • Experience:Intermediate
  • Area of Expertise:Web Developer

Posted 01 August 2009 - 08:04 AM

Hi Guys!

I'm not sure on how to explain this one. The only thing i can do is to show you an example of what i mean lol and try my best to explain it lol.

http://www.illuminet...ies.php?cat=265

Basically what i am looking to do is to add a lifestyle image above all of the different categories so that it looks like this...

http://www.illuminet.../furniture.html

Each section is going to have a different Lifestyle Image as well. Because all the information is being pulled from a database, i dont have a physical page to edit.

I know this is little information to go on, but i just cant explain it, hopefully you understand it.
0

#2 User is offline   BlueDreamer 

  • Web Guru
  • Group: Moderators
  • Posts: 5,801
  • Joined: 23-October 07
  • Reputation: 202
  • Gender:Male
  • Location:Northampton (where?)
  • Experience:Advanced
  • Area of Expertise:Web Developer

Posted 01 August 2009 - 03:23 PM

If you're using a shopping cart system does it have a facility to add images to categories?
0

#3 User is offline   TylerCollins 

  • Dedicated Member
  • PipPipPip
  • Group: Members
  • Posts: 437
  • Joined: 28-May 08
  • Reputation: 25
  • Gender:Male
  • Location:Northern Ireland
  • Experience:Intermediate
  • Area of Expertise:Web Developer

Posted 01 August 2009 - 08:00 PM

Unfortunatly i cant see. I've looked through the whole admin panel and cant see anything for adding it. Is there any other way that i could do this?

I'm really badly stuck on this, usually i can figure it out, but this has me stumped.
0

#4 User is offline   BlueDreamer 

  • Web Guru
  • Group: Moderators
  • Posts: 5,801
  • Joined: 23-October 07
  • Reputation: 202
  • Gender:Male
  • Location:Northampton (where?)
  • Experience:Advanced
  • Area of Expertise:Web Developer

Posted 01 August 2009 - 11:43 PM

What cart system are you using? If there's no such feature you're probably going to need some custom coding.
0

#5 User is offline   TylerCollins 

  • Dedicated Member
  • PipPipPip
  • Group: Members
  • Posts: 437
  • Joined: 28-May 08
  • Reputation: 25
  • Gender:Male
  • Location:Northern Ireland
  • Experience:Intermediate
  • Area of Expertise:Web Developer

Posted 02 August 2009 - 03:41 PM

http://www.ecommercetemplates.com/ is the system being used, i think its another version of Oscommerece.
0

#6 User is offline   Faevilangel 

  • Wordpress Ninja.....
  • PipPipPipPipPip
  • Group: Members
  • Posts: 1,166
  • Joined: 11-May 09
  • Reputation: 57
  • Gender:Male
  • Experience:Advanced
  • Area of Expertise:Web Developer

Posted 02 August 2009 - 03:48 PM

as i said in im tyler, 2 ways to do this with php

1) insert another row into the db table which has the link to the image you want to display
2) have a if else statement,
if (cat=1) {
 echo "<img src="xx.png">";
}
else if (cat=2) {
 echo "<img src="xx1.png">";
}


you insert as many if else's as you need
0

#7 User is offline   TylerCollins 

  • Dedicated Member
  • PipPipPip
  • Group: Members
  • Posts: 437
  • Joined: 28-May 08
  • Reputation: 25
  • Gender:Male
  • Location:Northern Ireland
  • Experience:Intermediate
  • Area of Expertise:Web Developer

Posted 03 August 2009 - 04:31 AM

Would this work for 42 different sections??
0

#8 User is offline   BlueDreamer 

  • Web Guru
  • Group: Moderators
  • Posts: 5,801
  • Joined: 23-October 07
  • Reputation: 202
  • Gender:Male
  • Location:Northampton (where?)
  • Experience:Advanced
  • Area of Expertise:Web Developer

Posted 03 August 2009 - 07:08 PM

Yes, "if" statements will work, a bit long winded but it seems you have no choice. If they want to add a new section/category it will mean manually editing the PHP.

I'm surprised ECT doesn't support category images, most carts do, many even support multiple category images.
0

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users