Well, all I want for Christmas is to know how to...
Hi folks - this is my first leap into this forum. I've searched pretty extensively and can't seem to find a solution - although I have been able to get close.
Here's the thing - I wanted to go tableless with the Product Listing. I identified the product_listing.php file as a good place to start, but not being a php guy I couldn't do it from scratch.
But adding the columnar/grid display addon allowed me to get close. I basically want one item per row, so I just set the settings to 1 column. And I saw in the file that it each bit seems to use this "case" to "break format, in which I could tag a nice little div and id, such as
Code:
case 'PRODUCT_LIST_MANUFACTURER':
$lc_align = '';
$lc_text = '<div class="manufacturer">Provided by <a href="' . zen_href_link(FILENAME_DEFAULT, 'manufacturers_id=' . $listing->fields['manufacturers_id']) . '">' . $listing->fields['manufacturers_name'] . '</a></div>';
break;
This was working great. But it's the sequence of the stuff in the source order that is the issue - it places the ItemTitle at the bottom of the listing. The source order I want is to the title, the image, the description, the "more info" and then the price.
When I look at product_listing.php, the segments don't seem to be in the order that they get rendered in the final source. Is there another file that dictates what order these get echoed in in the source?
Hope this makes sense. Can't post a link unfortunately as I've been working on a local install.
Thanks in advance, and wherever you might be in the world, whatever you might be celebrating - peace and best wishes to you and yours.
Bookmarks