Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls
 

2 Row Featured Products

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions
 
Thread Tools Search this Thread
  #11  
Old 02-04-2003, 10:43 PM
 
ATKOgirl ATKOgirl is offline
 

X-Adept
  
Join Date: Sep 2002
Posts: 448
 

Default

Hi Blackhawk:

In your admin, choose "categories" and page all the way down. You should see the featured products section there.

;->

ATKOgirl
__________________
X-Cart Versions: 4.1.10 and 4.2.0
Reply With Quote
  #12  
Old 03-06-2003, 10:22 PM
 
rockman rockman is offline
 

Member
  
Join Date: Feb 2003
Posts: 22
 

Default

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
Reply With Quote
  #13  
Old 03-07-2003, 04:30 AM
  TelaFirma's Avatar 
TelaFirma TelaFirma is offline
 

X-Adept
  
Join Date: Nov 2002
Location: North Carolina USA
Posts: 930
 

Default

In the {IMAGE} section there, change the code
Code:
{include file="product_thumbnail.tpl" productid=$f_products[product].productid product=$f_products[product].product}
to read
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
Reply With Quote
  #14  
Old 03-07-2003, 07:25 AM
 
rockman rockman is offline
 

Member
  
Join Date: Feb 2003
Posts: 22
 

Default

thank you
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 08:08 PM.

   

 
X-Cart forums © 2001-2020