Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Adding a box to the front page of osC


Guest

Recommended Posts

Posted

Hi everyone.

 

I've had a quick look through the contributions but nothing looks right for me.

 

I'd like to add a box below the existing 'New products for April', to look fairly similar. Any contributions that are for the left or right columns don't apply here.

 

What I want to do is add a featured products box, to be controlled through the admin so I can put up whichever products I want.

 

I need to display the thumbnail, manufacturer, product name and price - pretty much like the existing box.

 

Any pointers or does anyone know of a contribution that does this from scratch? I'd prefer not to just modify the existing box..

Posted

Sure, there is a contribution called 'Featured Products' that will do most of that. You'll still need to alter the SQL query a bit, to pull the manufacturer in, and you'll need to alter the presentation to include those, but that's pretty straightforward, if you've got a bit of php xp.

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

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

Thanks I'll take a look into it.

 

I took a look at your site (looks good!) and I noticed you had a great feature in your 'pc_game_info.php' which I presume in a modified product_info.php page.

 

How did you do the box with details (platform, box size, rating, released) of the game and picture? This is something I have desperately been searching for - not specifically for PC games but relevant to the products I'd be selling.

 

Cheers

Chris

Posted

Pretty standard stuff really. Just wrapped some html around the regular product image. Nothing fancy.

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

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.

Archived

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

×
×
  • Create New...