2 Row Featured Products
Since I'm feeling nice and someone asked for it, here is the code I use to display my featured products in 2 seperate rows. This took me a while to do, since I'm not an expert in SMARTY tags. Anyhoo, here it is.
Code:
{* $Id: featured.tpl,v 1.13 2002/05/20 06:55:20 lucky Exp $ *} |
thanks a lot !! that looks great ! keep up the good work on the site !
|
Great
This is great, but whats with the more_info.tpl as I cannot find this in my installation?
Thanks Nev |
Oh sorry, that's my own thing... just take it out and it'll be fine.
|
hmm
I copied this in to replace my featured.tpl since I hadn't done anything with it yet.. and it doesn't do anything at all.
I must be daft. |
Did I mention to always make backups and that I'm not responsible for any explosions 8O
It works for 3.3.2, I'm not sure about the others. |
:)
Well that's no help!!
|
I don't know what to tell you... it should display something even if it's an error. Are you running 3.3.2?
|
Featured
I'll check it out more.. I'm running 3.3.1
|
Featured
Do I have to enable something?
My front page has a "Featured Products" section.. and nothing list.. no error.. nothing.. ?? |
Hi Blackhawk:
In your admin, choose "categories" and page all the way down. You should see the featured products section there. ;-> ATKOgirl |
Hi all,
I tried this 2 column mod for featured products. However the mod grabs a larger image from somewhere and does not draw the thumb. I have only uploaded one image for products 150x150 and other thumbs are all ok. ideas???? what can I do? Thanks |
In the {IMAGE} section there, change the code
Code:
{include file="product_thumbnail.tpl" productid=$f_products[product].productid product=$f_products[product].product} Code:
{include file="product_thumbnail.tpl" productid=$f_products[product].productid image_x=70 product=$f_products[product].product} The difference is the addition of the image_x=70. This send the x demention for the image to the tumbnail template. Basically telling it to display the image 70 pixels wide. Also, as logic would follow, you can specify AND/OR the "y" cordinate... image_y=70.. Really it depends on what you want to control, the height (y) or the width (x) if the thumbnail. But I would chose only one... not both... or you will ultimately end up with some funky looking pictures :lol: |
thank you
|
All times are GMT -8. The time now is 11:44 PM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.