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

Hidden column

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 02-07-2006, 02:13 PM
 
filch filch is offline
 

Advanced Member
  
Join Date: Jan 2006
Location: Toronto, On
Posts: 61
 

Default Hidden column

Hi,

I am trying to touch up some of the layouts in a new site we are working on. In the product/description, there seems to me an inordinate amount of white space to the right of the text, causing it to squeeze the text into a much too narrow layout. Upon opening product.tpl in my editor, I see an extra column there to the right of the description text with the following if block:

{if $product.taxed_price gt 0 and $product.list_price gt 0 and $product.taxed_price lt $product.list_price}
{math equation="100-(price/lprice)*100" price=$product.taxed_price lprice=$product.list_price format="%3.0f" assign=discount} { $discount }%

{/if}

This looks like something that comes up if a discount is applied? Or a discount is available? Anyway, is there any way to set this up so that column is not there? In my Appearance Options, I have it set to display products list in 1 column, thinking that would get rid of that column but it was no help.

Can someone enlighten me as to how to fix this?

Have a peek at the url:

http://ywca.zuka.net/store/product.php?productid=16157&cat=0&page=1

Dave
__________________
Dave Filchak - President
Zuka Inc.
X-Cart Pro | Version 4.0.17 [unix]
Reply With Quote
  #2  
Old 02-07-2006, 02:36 PM
 
balinor balinor is offline
 

Veteran
  
Join Date: Oct 2003
Location: Connecticut, USA
Posts: 30,253
 

Default

Just delete that whole column in product.tpl, it is used for that little star shaped discount icon.
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #3  
Old 02-07-2006, 06:32 PM
 
filch filch is offline
 

Advanced Member
  
Join Date: Jan 2006
Location: Toronto, On
Posts: 61
 

Default Hidden Column

Ahhh ... thank you. That makes me smile

Dave
__________________
Dave Filchak - President
Zuka Inc.
X-Cart Pro | Version 4.0.17 [unix]
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design



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 10:16 PM.

   

 
X-Cart forums © 2001-2020