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)
-   -   detailed images in place of thumbnails in products.tpl (https://forum.x-cart.com/showthread.php?t=11515)

zilker 01-17-2005 12:04 PM

detailed images in place of thumbnails in products.tpl
 
Anyone know how to add the detailed images to the products page in place of or in addition to the thumbnails?

I'm real close to putting it all together but I need a direction to go. Will I need to edit the database and/or php files or will it be just the template files?

Any suggestions are appreciated

balinor 01-17-2005 12:10 PM

Here's the way I usually do it. Look for this code in product.tpl:

Code:

{include file="product_thumbnail.tpl" productid=$product.productid image_x=$product.image_x image_y=$product.image_y product=$product.product tmbn_url=$product.tmbn_url id="product_thumbnail"}

replace it with this:

Code:

{include file="modules/Detailed_Product_Images/product_images.tpl" }

Then just edit the detailed product image template as required to get it to show up the way you want it.

zilker 01-17-2005 12:26 PM

Thanks for the quick reply. I don't think I made myself clear. I want to replace the thumbnails in products.tpl, not product.tpl.

Here's an example:

I'm trying to get the detailed images from

http://www.puttinggreensturf.com/product.php?productid=16176&cat=252&page=2

to show up on

http://www.puttinggreensturf.com/home.php?cat=252&page=2

That's why I need some direction, it seems that there are going to be a few files for me to edit.

balinor 01-17-2005 02:38 PM

Doh! Sorry about that. So you want a whole bunch of detailed images next to each product in the products display? Isn't that going to be a bit nuts?

zilker 01-17-2005 03:02 PM

Yes, it will be. It will also make it load slower. I went over both of those with the site owner but that's the way he wants it done.

I sat in front of the computer screen for about 4 hrs today and didn't get anything accomplished ~ bah!

balinor 01-17-2005 03:11 PM

And of course...the customer is ALWAYS right ;)

If I get some free time tonight I'll take a look at it for you....

zilker 01-27-2005 07:22 AM

bump

anyone have any ideas on where to start?


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

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