| ||||||||||
Shopping cart software Solutions for online shops and malls | ||||||||||
|
X-Cart Home | FAQ | Forum rules | Calendar | User manuals | Login |
Detail instead of thumbnail on Product page | |||
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
Detail instead of thumbnail on Product page
In product.tpl where the code is:
Code:
I would like to replace the thumbnail image with the first detailed image (I am using the detailed images module) and in the detailed images section I would like to not display the first detailed image (since it would already be viewed above) and start the detailed images section with the second detailed image. Is this possible or would it be a real pain? |
|||||||
#2
|
|||||||||
|
|||||||||
i'd say, find the code that loads the detail image and insert it there.
back everything up before, of course.. but through trial & error, you should have your detail image where you want it. if i could even GET my detail image module to work, i'd be of more help...
__________________
~jaime* shop.mpartworks.com ~~~~~~~~~~~~~~ xcart pro 3.5.5 heavily modified freeBSD 4.8 php 4.3.3 |
|||||||||
#3
|
|||||||||
|
|||||||||
It's possible, but keep in mind the product.tpl isn't for the faint of heart so back it up before playing with it.
Replace Code:
With Code:
You'll see the above code further down on the product.tpl template too, remember to comment it out or you'll get a duplicate of the detail images. Add that in the place of the thumbnail will use the detailed product images in it's place on customer/main/product.tpl. If you only want the first image to show you're going to have to hack up product_images.tpl too. The above should put you on the right track anyway. Oh above examples are from 3.4.9 branch, not looked at it for 3.5.X but should be something similar
__________________
Groovico Used by X-carters the world over: Marketing Manager Pro Bundle For X-cart Featured Product Manager for X-cart Feed manager pro for X-cart http://www.firetanksoftware.com Celebrating 7 Years of providing quality X-cart Add ons and X-cart Mods for x-cart 3.X to X-cart 4.4.X |
|||||||||
#4
|
|||||||
|
|||||||
Thanks Groovico - That makes sense on the thumbnail replacement. I'll dig around a little in product_images.tpl and see if I can find a way to start the detail image loop that shows up down the page to start with the second detailed image.
|
|||||||
|
|||
X-Cart forums © 2001-2020
|