Rachael w. Posted January 11, 2007 Share Posted January 11, 2007 I am looking for a mod (or just plain ole code) to add a box to the product info page which would show random items from the same category under the product info, photos, buttons, etc. Similar to the also purchased module, but with current items available from the same category. I sell unique items and the also purchased module is useless to me since I only have one of everything so I disable products after they have sold and do not have this box showing. I searched the contribs but didnt find anything similar to this. I just want it work automatically and dont want to select 'featured' products, just a couple random products. Is there a contrib I missed or has anyone done this? I did see the Similar products box contrib, but I dont want it in the left or right, I want the wide box with 3 products to show in the products_info page. Thanks in advance! Link to comment Share on other sites More sharing options...
♥bruyndoncx Posted January 11, 2007 Share Posted January 11, 2007 here you go: Thumbnail category browse http://www.oscommerce.com/community/contri...earch,thumbnail KEEP CALM AND CARRY ON I do not use the responsive bootstrap version since i coded my responsive version earlier, but i have bought every 28d of code package to support burts effort and keep this forum alive (albeit more like on life support). So if you are still here ? What are you waiting for ?! Find the most frequent unique errors to fix: grep "PHP" php_error_log.txt | sed "s/^.* PHP/PHP/g" |grep "line" |sort | uniq -c | sort -r > counterrors.txt Link to comment Share on other sites More sharing options...
Rachael w. Posted January 11, 2007 Author Share Posted January 11, 2007 That might just work, I'll check it out. Thank you so much bruyndoncx! Link to comment Share on other sites More sharing options...
Rachael w. Posted January 13, 2007 Author Share Posted January 13, 2007 I did install the thumnail contrib, it will do for now. I actually wanted some type of box which showed random products from the same category where this one shows the thumbnails of the category in alphabetical order with the previous next bar under. I have the show all contrib installed and if you click show all it creates a huge wide box of all the thumbnails. Would there be any other contribs with a random thumbnail which doesnt offer the ability to browse the category? Link to comment Share on other sites More sharing options...
Rachael w. Posted January 14, 2007 Author Share Posted January 14, 2007 Answering my own question here: I edited out the lines which controlled the previous / next so they are no longer showing and was able to have the box display random products by changing the "order by" from p.products_ordered desc to rand() on line 59 of thumb_bar_join.php. Just in case anyone is interested in knowing. Thanks! Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.