| ||||||||||
![]() |
Shopping cart software Solutions for online shops and malls | |||||||||
![]() |
![]() |
|
X-Cart Home | ![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
Showing first Detailed image of the first Feature product | ||||
![]() |
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
![]() Hi,
i like to have in my home page; First Detailed image of the first Feature product. is there a simple way to do it? i already can get all the feature products thumbnails by altering the product_thumbnails.tpl and i put that in the home page. Thank you very much. |
|||||||
#2
|
|||||||
|
|||||||
![]() please help me please..
this is really urgent. |
|||||||
#3
|
|||||||||
|
|||||||||
![]() Okie, so this is just from me making a educated guess, im not really trying to do this on an actual running x-cart so its difficult to say if it will work as it should....
First edit customer/home.php and add the following line after: Code:
Code:
This way you know the array for $images for detailed images is avail to use... next you'll need to edit skin1/customer/main/products_t.tpl and do something like... Code:
on the <a href><img src=> where the image is displayed on the first product.index you'll need to copy the code from the modules/ tpl for displaying the images and nest them in the {if %product.index%} statement. hth. ![]() |
|||||||||
#4
|
|||||||
|
|||||||
![]() it is a bit complex.
thank you. |
|||||||
#5
|
|||||||
|
|||||||
![]() seems like doesnt work.
![]() |
|||||||
#6
|
|||||||||
|
|||||||||
![]() You could try and do something like:
Code:
![]() |
|||||||||
#7
|
|||||||
|
|||||||
![]() still no luck with that..
![]() |
|||||||
#8
|
|||||||
|
|||||||
![]() i tried millions of things... still couldnt figure it out... why it doesnt work...
|
|||||||
#9
|
|||||||
|
|||||||
![]() please please please help me.
|
|||||||
#10
|
|||||||
|
|||||||
![]() I don't know a way to use PHP for this, but how about using html in the welcome area to add an image, pricing information, and a link to your product. Look under the languages section for welcome text and enter your html there (without body tags) and you should get exactly what you want. Good luck.
Jim K. |
|||||||
![]() |
|
Thread Tools | Search this Thread |
|
|
|
|||
X-Cart forums © 2001-2020
|