Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Script to show latest products


Guest

Recommended Posts

Posted

Hi, I hope this is in the right forum and that it has not been posted before. My question is how can I show a list on my homepage of the latest products added? I would like to show date added, product name, and price if possible. I'm sure this is possible by modifying some of the code from the default.php, but I am not able to do that, so thanks for any help or suggestions you can give!!

Posted

Umm, doesn't the 'What's New" infobox in the middle of the default page that comes with the standard installation show all of the latest products?

-------------------------------------------------------------------------------------------------------------------------

NOTE: As of Oct 2006, I'm not as active in this forum as I used to be, but I still work with osC quite a bit.

If you have a question about any of my posts here, your best bet is to contact me though either Email or PM in my profile, and I'll be happy to help.

Posted

Sorry for the misunderstanding, I want to show the latest products on a non-osCommerce page. Thanks!

Posted

There isn't a simple way of incorporating data from an OSC site in a non-OSC site. It's doable, but not without custom programming work (e.g. transferring some of the code from default.php to your page). I would say that you have three options:

 

1. Hire someone to write the PHP code for you.

 

2. Copy the relevant code from default.php and fool around until you can get it to work (don't forget that you will need some of the code from your configuration files as well: configuration.php, application_top.php, etc.).

 

3. Just refer people to the OSC site, where it is already set up. Perhaps it would be easier to make the OSC site your home page.

 

Good luck,

Matt

I love deadlines. I like the whooshing sound they make as they fly by. ---Douglas Adams

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...