| ||||||||||
![]() |
Shopping cart software Solutions for online shops and malls | |||||||||
![]() |
![]() |
|
X-Cart Home | ![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
Use thumbnail as detailed if detailed image is not available | ||||
![]() |
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
![]() How can I use thumbnail as detailed image if detailed image is not available?
I have some detailed images.
__________________
Version 4.0.17 |
|||||||
#2
|
|||||||
|
|||||||
![]() You mean you want to just repeat the thumbnail below the product description again?
__________________
Padraic Ryan Ryan Design Studio Professional E-Commerce Development |
|||||||
#3
|
|||||||
|
|||||||
![]() not exactly, what i mean is this
on the detailed product page, if there is a detailed image show it, if not show thumbnail
__________________
Version 4.0.17 |
|||||||
#4
|
|||||||
|
|||||||
![]() Any help?
__________________
Version 4.0.17 |
|||||||
#5
|
|||||||||
|
|||||||||
![]() check custom mods forum for stuff like this, done plenty of times
__________________
Looking for a reliable X-cart host ? You wont go wrong with either of these. ![]() ![]() |
|||||||||
#6
|
|||||||
|
|||||||
![]() Hi Shan,
Do you have a link to any of those topics, I have searched all over but still can't find any ?
__________________
Version 4.0.17 |
|||||||
#7
|
|||||||||
|
|||||||||
![]() a quick search of custome mods forum gives this in the first few results
http://forum.x-cart.com/viewtopic.php?t=21397&highlight=detailed+image search for detailed AND images in custom mods forum
__________________
Looking for a reliable X-cart host ? You wont go wrong with either of these. ![]() ![]() |
|||||||||
#8
|
|||||||
|
|||||||
![]() Hi Shan,
Thanks a lot, i read the topic but I think this is what the mod is for Quote:
This is to use the thumbnail on the detailed product page. and then use the detailed image as a first detailed image. What i am looking for is this I have some deatiled images for some products and only the thumbnails for others on my detailed page, I want an if clause like this If detailed image is available show the detailed image else show the thumbnail for this product.
__________________
Version 4.0.17 |
|||||||
#9
|
|||||||||
|
|||||||||
![]() just find the code that shows the thumbnail in product.tpl and wrap this round it
Code:
see skin1/modules/detailed_images folder for files that control showing detailed images
__________________
Looking for a reliable X-cart host ? You wont go wrong with either of these. ![]() ![]() |
|||||||||
#10
|
|||||||
|
|||||||
![]() Hi Shan,
I used this code and I am getting the no image available image instead of the thumbnail where there is no detailed image {if $images} {include file="modules/Detailed_Product_Images/product_images.tpl" } {else} {include file="product_thumbnail.tpl" productid=$products[product].productid image_x=$config.Appearance.thumbnail_width product=$products[product].product tmbn_url=$products[product].tmbn_url} {/if}
__________________
Version 4.0.17 |
|||||||
|
|||
X-Cart forums © 2001-2020
|