Black Belt
- Join Date:
- Jul 2005
- Location:
- Upstate NY
- Posts:
- 21,876
- Plugin Contributions:
- 8
styling product listing pages with column layout grid
That is very strange. Your two categories are displaying in very different ways - Airbox & Filters with grid-type elements in a rows table layout, Belts in a completely stock rows layout. Do you know why that is happening? Did it happen before? I remember seeing the group of discount tables above the listing, but don't remember what style the listing elements took then.
The fact that they are behaving differently in response to the quantity coding, with Airbox & Filters not showing at all while Belts is missing only the price, is understandable because the grid coding accumulates the whole product before adding to $list_box_contents while the rows coding adds each element of the product as it is created. Somehow the fact that the quantity code is executing wipes out everything that is being done then.
We need some debugging. Add to the quantity code
echo $qdt . '<br />';
just before
$lc_price = $qdt;//gjh42 20121127
We also need to know why the listings are outputting in different formats. That is puzzling and could be causing any number of unknown problems, and it may not be possible to debug the apparent problem until that is sorted out.