DimeNote Posted July 14, 2008 Posted July 14, 2008 I'm just wondering if it is possible to add a table to the product listing page? What I want to do is add a table to where the products image would appear in the product listing and have that product image be set as the table background. Make any sense? Thanks for any suggestions.
spooks Posted July 14, 2008 Posted July 14, 2008 Hi, I delt with this only last week, search the posts. Sam Remember, What you think I ment may not be what I thought I ment when I said it. Contributions: Auto Backup your Database, Easy way Multi Images with Fancy Pop-ups, Easy way Products in columns with multi buy etc etc Disable any Category or Product, Easy way Secure & Improve your account pages et al.
DimeNote Posted July 14, 2008 Author Posted July 14, 2008 Hi, I delt with this only last week, search the posts. Thanks for the reply. I have been searching, I'm just not finding the information I need. I also searched: +table +product with your name "spooks" in all posts from the last month and newer and I didn't really find a post that touched on what I'm trying to do. Could you point me to where you are talking about? Is there a better way to search? Thanks again.
spooks Posted July 14, 2008 Posted July 14, 2008 http://www.oscommerce.com/forums/index.php?sho...amp;mode=linear Searching with google: searching forum with google by putting site:http://www.oscommerce.com/forums then query. contribs: put site:http://addons.oscommerce.com/ then query Sam Remember, What you think I ment may not be what I thought I ment when I said it. Contributions: Auto Backup your Database, Easy way Multi Images with Fancy Pop-ups, Easy way Products in columns with multi buy etc etc Disable any Category or Product, Easy way Secure & Improve your account pages et al.
DimeNote Posted July 14, 2008 Author Posted July 14, 2008 http://www.oscommerce.com/forums/index.php?sho...amp;mode=linear Searching with google: searching forum with google by putting site:http://www.oscommerce.com/forums then query. contribs: put site:http://addons.oscommerce.com/ then query Thanks! That's a much better way to search. I appreciate the tip. I did read that post but I don't believe that it's what I'm looking for. My question is in regards to the product listing page, not the product info page... and I'm not interested in installing the FCK editor at this time. I've been looking through the code from product_listing.php and I *think* this is where I need to play around a bit: case 'PRODUCT_LIST_IMAGE': $lc_align = 'center'; if (isset($HTTP_GET_VARS['manufacturers_id'])) { $lc_text = '<a href="' . tep_href_link(FILENAME_PRODUCT_INFO, 'manufacturers_id=' . $HTTP_GET_VARS['manufacturers_id'] . '&products_id=' . $listing['products_id']) . '">' . tep_image(DIR_WS_IMAGES . $listing['products_image'], $listing['products_name'], SMALL_IMAGE_WIDTH, SMALL_IMAGE_HEIGHT) . '</a>'; } else { $lc_text = ' <a href="' . tep_href_link(FILENAME_PRODUCT_INFO, 'products_id=' . $listing['products_id']) . '">' . tep_image(DIR_WS_IMAGES . $listing['products_image'], $listing['products_name'], SMALL_IMAGE_WIDTH, SMALL_IMAGE_HEIGHT) . '</a> '; } break; When I try to add any sort of table to this code or modify it it any way I get syntax errors. I'm completely new to php so I'm sure this is why. Is it even possible to add a table into this code? It's not that important really... just throwing some ideas around in my head. Any help or guidance is appreciated though. Spooks, thanks again for the searching tips. Thanks.
spooks Posted July 14, 2008 Posted July 14, 2008 this line is tooooooooooooooo wide by far Please dont have line wrap off, it makes your post v difficult to read, & stops replies. If you take a look at: Product Listing Enhancements, Thumbnails & Manufacturer Headings <A href="http://addons.oscommerce.com/info/6051" target=_blank>http://addons.oscommerce.com/info/6051</A> That gives a background, not on a per product bases, but shows you the way.. Sam Remember, What you think I ment may not be what I thought I ment when I said it. Contributions: Auto Backup your Database, Easy way Multi Images with Fancy Pop-ups, Easy way Products in columns with multi buy etc etc Disable any Category or Product, Easy way Secure & Improve your account pages et al.
DimeNote Posted July 15, 2008 Author Posted July 15, 2008 Sorry, I didn't mean to have it post so long. Spooks, I appreciate the guidance but after looking through the code from that contribution it seems that this far surpasses my skill level. I am just beginning to learn php and this looks foreign to me. That being said I think I'm just going to drop the table idea and move on. Maybe I'll reattempt when I have a better understanding of what is required. Again, I really do appreciate your effort in helping me. Thanks.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.