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)
-   -   Category Images (https://forum.x-cart.com/showthread.php?t=28016)

2Point8 01-14-2007 02:43 PM

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.

balinor 01-14-2007 06:23 PM

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

Replace x with the category number.

2Point8 01-15-2007 03:49 AM

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.

balinor 01-15-2007 04:05 AM

Re: Category Images
 
Not that easy if you only want it to show for a certain category.


All times are GMT -8. The time now is 09:10 AM.

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