| ||||||||||
Shopping cart software Solutions for online shops and malls | ||||||||||
|
X-Cart Home | FAQ | Forum rules | Calendar | User manuals | Login |
Download Time Estimations | |||
|
|
Thread Tools | Search this Thread |
#1
|
|||||||||
|
|||||||||
Download Time Estimations
I sell a lot of egoods, or downloadable products that are anywhere from 5mb to 500mb. I wrote this script to display estimated download times so the customers had an idea of the time it would take to download a file. I don't know if anyone else could use it, but here it is.
First create the file download_time.php containing this code Code:
This script is pretty simple, to use it just enter a url like this Code:
Just replace the filesize with the size of the file in bits. (You can use this site http://www.onlineconversion.com/computer_base2.htm to convert from larger sizes to bits. I think the best way to do this is to add a link like this to the item description. Code:
This will create a popup window displaying the download times. Last edited by qualiteam : 10-11-2015 at 11:48 PM. |
|||||||||
#2
|
|||||||||
|
|||||||||
Re: Download Time Estimations
Quote:
Excellent Smithers! Defiantly a bookmark for me.
__________________
Cart-Lab - 100+ Social Bookmarks for X-Cart. |
|||||||||
#3
|
|||||||||
|
|||||||||
If you want to use this with megabytes you can replace the code
Code:
Code:
Then use megabytes instead of bits in the url. Code:
|
|||||||||
#4
|
|||||||||
|
|||||||||
is there a way to change this to kb?
__________________
- Janie Art Web Development Services |
|||||||||
#5
|
|||||||||
|
|||||||||
Yea. For kb replace:
Code:
with Code:
|
|||||||||
#6
|
|||||||||
|
|||||||||
thank you so much! This script is neat for I only sell egoods online!
__________________
- Janie Art Web Development Services |
|||||||||
#7
|
|||||||
|
|||||||
great mod - thanks!
__________________
X-Cart Pro 4.0.19; Unix Other: XAOM XOffers XGift Reg Other Mods: Customers Who Also Bought, Download Link Regenerate, Easy Checkout, Newest Products, SEO/CDSEO, Marketing Manager Pro, View Wishlist for Providers (custom by xcart), Email New Releases (a fav!), Telefirma's Dynamic Image Generator, Download Links on Invoice |
|||||||
|
|||
X-Cart forums © 2001-2020
|