NameSilo

Help Setting Up Shopping Cart

Namecheap AuctionsNamecheap Auctions
Namecheap AuctionsNamecheap Auctions
SpaceshipSpaceship
Watch

Ericsson

VIP Member
Impact
8
I need help setting up this shopping cart.

Im not sure how to add the downloadable file. I hope someone can do this for free, i've no money.
 
0
•••
The views expressed on this page by users and staff are their own, not those of NamePros.
GoDaddyGoDaddy
What do you mean by adding a downloadable file? I might be able to help a little.
 
0
•••
You add a product by the admin panel. You then upload the file to the file directory, but I dont know how to link the file to the product so people can download.
 
0
•••
You've got two ways to do this...one with MySQL (safe & more reliable) the other without.

I can give you the "exact" script, but it'll take a while. Here's the pseudocodes anyways...

METHOD 1: Using MySQL
1) Enter in data for product. Upload zip or tar/gz file to server using PHP upload and file moving functions to any folder you want.
2) Insert the location of the file (starting from your web httpd default location), into the mysql data table.
3) When the user buys and downloads the product, load the file and hand it to them.
4) Make download records on your sql table (OPTIONAL)

METHOD 2
1) Enter in data for product. Upload zip or tar/gz file to server using PHP upload and file moving functions to a COMMON, specified where ALL downloads are stored there. Give the zip a special name or id.
2) When the user buys and downloads the product, load the file and hand it to them.
3) Make download records on your sql table (OPTIONAL)

If you want the code, or more specific stuff, just tell me
 
0
•••
AIVikingsAIVikings

We're social

Escrow.com
Spaceship
Escrowly
CryptoExchange.com
Domain Recover

NamePros updates

New in Parking: updated way to act on many domains or inquiries at once
Your domain list and inquiry list now have a bar above and below the list. Check the items you want, then choose an action in the bar...
AIVikings
Catchy
  • The sidebar remains visible by scrolling at a speed relative to the page’s height.
Back