Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Lead Time


chris2403

Recommended Posts

Posted

is there any way i can add the lead time of a product to the bottom of the description.

basically i need a script that will add x number of business days to todays date, ive got half way there but it went over the number of days in a month so i had to scrap it.

 

cheers chris

Posted

thanks but is there any way it could be done within the description that you input in the admin area for each product as it varies for each one

Posted

You could probably make a function to do this, but it's not all that straightforward unless you are decent with php. Why not just add that directly to the product_info.php code either before or after the end of the description.

Posted

because its not the same for each product. i guess ill have to leave it for now and come back to it at a later date. cheers anyway

Posted

wsell, that's hardly a stumbling block, if you give up so easily, you aint got much hope with oscommerce ;)

 

5 minutes work to add in an extra database column containing the number of days lead time.

Posted

Add the column to "products".

Add the input field in Add_product / Edit_product

Add burt's code snippet.

Done!

 

Seems simple enough, eh? :)

 

Also you could add the "delivery time" to manafacturer if thats what depends the delivery time, then you would only have to fill it in once for every manafacturer.

Archived

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

×
×
  • Create New...