X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Changing design (https://forum.x-cart.com/forumdisplay.php?f=51)
-   -   Hidden column (https://forum.x-cart.com/showthread.php?t=19796)

filch 02-07-2006 02:13 PM

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

balinor 02-07-2006 02:36 PM

Just delete that whole column in product.tpl, it is used for that little star shaped discount icon.

filch 02-07-2006 06:32 PM

Hidden Column
 
Ahhh ... thank you. That makes me smile ;-)

Dave


All times are GMT -8. The time now is 11:17 AM.

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.