Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

HELP!! any ideas on this?


rolo962

Recommended Posts

Posted

Hello All

I was wondering if this cart can do timed sales on specific items, (example; sale ends in 3 days)

just like an auction site which times out on a product but, without the bidding, can this be written in? just curious

Thanks for any help

Posted

One Idea:

 

It can be done, I think you need to do some serious PHP and MySQL programming. Here's one way of doing it:

 

1) Add an additional field to the products (there is a contrib "Product Extra Fields" that may help here), this field holds the "expiration date" for the product

2) Create a script that disables (set products_status to 0) any product whose "expiration date" is today

3) Make that script to run automatically every morning at 00:01 am (If using Linux put it in the cron, if you don't have access to the cron ask for assistance from your system administrator)

 

If you are just referring to a "Special Offer" that runs for some days, oscommerce has this already implemented.

 

I'm sure there are many other ways of doing the same thing.

 

Regards,

Freddy

Archived

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

×
×
  • Create New...