Zen Cart Logo
Forums / Templates, Stylesheets, Page Layout / Extra fileds only on one product listing layout

Extra fileds only on one product listing layout

Views: 307

Results 1 to 2 of 2
23 Jan 2012, 9:04 PM
#1
stsung avatar

stsung

New Zenner

Join Date:
Aug 2011
Posts:
21
Plugin Contributions:
0

Extra fileds only on one product listing layout

hello there,

I've got a small problem. I've added new fields to the products table and I show these on two categories where they are listed in columns. But when I have other products in a row layout it shows breaks instead of not showing anything. Is there a way how to get rid of the spaces?

This is where the breaks come from.

if (PRODUCT_LISTING_LAYOUT_STYLE == 'columns' AND (int)$cPath != 2 AND (int)$cPath != 40)
{
$lc_text = implode('<BR />', $product_contents);

Shouldn't be there something like...when the value is null it won't even show the $lc_text = implode('<BR />', $product_contents);??

I noticed that showing/not showing Image or name does not add the break. But my extra fields do....Any ideas?

23 Jan 2012, 9:20 PM
#2
stsung avatar

stsung

New Zenner

Join Date:
Aug 2011
Posts:
21
Plugin Contributions:
0

Re: Extra fileds only on one product listing layout

I already fixed this by changing the lc_text of the product quantity and deleting the break from the general one....