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

Category Images

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 01-14-2007, 02:43 PM
 
2Point8 2Point8 is offline
 

Member
  
Join Date: Dec 2006
Posts: 16
 

Default Category Images

Is there any way to upload a specific image (other than thumb and detail image) for a product, that would ONLY show when a user was looking at a particular category?

My store has "shelves" that need to appear when a customer is in a particular category (aal products in that category are also on the shelf). This gives the appearence of the item sitting on a shelf.

Problem is that this image of the item with the section of shelf at the bottom cannot be displayed anywhere else but on that page designed specifically for it.

Is there a way to upload that shelf image and have it only display when viewing all of the products in a category (where it will fit perfectly with the shelf design)?

Thanks.
__________________
x-cart 4.1 (current branch)
Reply With Quote
  #2  
Old 01-14-2007, 06:23 PM
 
balinor balinor is offline
 

Veteran
  
Join Date: Oct 2003
Location: Connecticut, USA
Posts: 30,253
 

Default Re: Category Images

{if $cat eq 'x'}<img src="{$ImagesDir}/imagename.jpg">{/if}

Replace x with the category number.
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #3  
Old 01-15-2007, 03:49 AM
 
2Point8 2Point8 is offline
 

Member
  
Join Date: Dec 2006
Posts: 16
 

Default Re: Category Images

Ok got it. But, this will end up being a seperate ftp upload of each image if i am correct. How easy is it to add an extra image upload field for a product in the backend? Thanks again for the reply.
__________________
x-cart 4.1 (current branch)
Reply With Quote
  #4  
Old 01-15-2007, 04:05 AM
 
balinor balinor is offline
 

Veteran
  
Join Date: Oct 2003
Location: Connecticut, USA
Posts: 30,253
 

Default Re: Category Images

Not that easy if you only want it to show for a certain category.
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
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 04:42 PM.

   

 
X-Cart forums © 2001-2020