![]() | | ||||||||
| | #1 |
| Super Warrior War Room Member Join Date: Aug 2009
Posts: 89
Thanks: 7
Thanked 4 Times in 4 Posts
|
Hi, I'm a "do it yourself" person. I'm an amateur at website programming. I'm selling a limited product. I have set the download website and the download is working fine. My problem is that I don't how I will control the number of downloads. Let's say I have a product limited to 100 customers, how can I change the download page to "sold out" page exactly when 100 people buy without me always checking? It's probably very obvious to you, buy I googled many different keywords and found nothing on that subject. Do you have any simple solution for this? Thank you |
| Get 12000 backlinks for $5, push your buffer sites. Click Here To Get 10 Limited High Quality PLR Articles In Evergreen Attract Women Niche For As Low As $9 Right Now. Hurry Up... The Price Will Go Up. Click Here. Think&Grow Rich Audio Book PLR PLUS Massive PLR Bonuses In The Same Niche. | |
| | |
| | #2 |
| HyperActive Warrior War Room Member Join Date: Jun 2008
Posts: 300
Thanks: 67
Thanked 72 Times in 27 Posts
|
If every time you get a sale you store the transaction into a database, just count the number of transactions recorded at loading time and "close the store" when that number reaches 100. Hope it helps. Patrice |
| | |
| | #3 |
| Warrior Member War Room Member Join Date: Jan 2009
Posts: 23
Thanks: 9
Thanked 0 Times in 0 Posts
|
You could do something simpler, like having a PHP script write to a file on the server that stores the counter. That way you wouldn't need to have a database for it. It's a pretty simple job for someone who knows PHP. Daniel |
| | |
| | |
| | #4 |
| Advanced Warrior War Room Member Join Date: Jun 2009 Location: Chesterton, IN
Posts: 923
Thanks: 129
Thanked 193 Times in 153 Posts
|
Either way will work. Once you have the number of downloads in a variable a simple if statement will take care of the rest: if($mycount>=100){ $myMessage='Sold Out'; }else{ $myMessage='<a href="yourdownload">'; / could redirect to a thank you page before recording the count in case they do not download once on the page $mycount++; //update your counter document or field } PHP: file_get_contents - Manual PHP: fwrite - Manual |
| Webmaster Services List Your Wealth Building Systems and Services for Free Insanity is doing the same thing over and over and expecting a different result ~ Einstein Insanity is doing the same thing over and over and never getting the same results ~ Ken | |
| | |
| | #5 |
| Active Warrior War Room Member Join Date: Jul 2009 Location: Atlanta,GA
Posts: 30
Thanks: 0
Thanked 1 Time in 1 Post
|
that above option is flawed being that if they just refreshed the page you would lose your total sells. so regardless of which data storage option you decide to make sure you assign the user a special id. then if the id exist the data isn't updated. i would also add an option to limit the number of times the buyer can access the dl link as well |
| ButterflyMarketingPlus.com - Butterfly Marketing scripts and tips... *WSO - ContentClocker - *WSO - Have a website? Marketing or not, this script is a must. Only $7 | |
| | |
| | #6 |
| Senior Warrior Member War Room Member Join Date: Jun 2007 Location: Arkansas, USA.
Posts: 1,493
Blog Entries: 17 Thanks: 84
Thanked 123 Times in 97 Posts
|
It would help to know what you are using to sell the product in the first place. Is it a pre-made script, or your own? What language? One option, the 7dollarscrets script can limit downloads and it's very inexpensive. I use to be hands on myself for many years, till I learned I can save ALL kinds of time and frustration by buying something that is ready to go. Not to mention, I don't have much hair left to pull out ![]() Just a thought. |
|
Largest Selection of PLR Articles on the Planet! Also Audio, PLR Ebooks, Graphics, PLR Video, Templates, PLR Websites and more with Private Label Rights. Discover Big Profits with the FREE PLR Newsletter! | |
| | |
| | #7 |
| Super Warrior War Room Member Join Date: Aug 2009
Posts: 89
Thanks: 7
Thanked 4 Times in 4 Posts
|
I use paydotcom.com Paypal based. I have no idea what they use. I know very little of programming language. Actually what would also do, is that when I'd reach 100 buyers, my link would change, so instead of going to the sales page it would go to "sold out" sales page or just not be linkable. If I bought the scripts I probably wouldn't know how to implement them. Thank you |
| Get 12000 backlinks for $5, push your buffer sites. Click Here To Get 10 Limited High Quality PLR Articles In Evergreen Attract Women Niche For As Low As $9 Right Now. Hurry Up... The Price Will Go Up. Click Here. Think&Grow Rich Audio Book PLR PLUS Massive PLR Bonuses In The Same Niche. Last edited by Matt D.; 09-22-2009 at 05:41 AM. Reason: wrong spelling | |
| | |
| | #8 |
| HyperActive Warrior War Room Member Join Date: May 2009
Posts: 175
Thanks: 18
Thanked 11 Times in 9 Posts
|
If you're using PayPal, you'd have to code a script with their API in mind. with merchants as well. Pay somebody $30 on RentACoder to do this for you. It wouldn't be too hard (you can use URL properties and a PHP referrer check on the confirmation page to aggregate a number up to the point where it's 100, at which point the sales page would change), but is $30 really worth 10 hours of headaches?
|
| | |
| | #9 |
| Advanced Warrior War Room Member Join Date: Sep 2009
Posts: 653
Thanks: 2
Thanked 27 Times in 24 Posts
|
you have to use db to count, or contact me i will make a custom script for this.
|
| | |
| | |
![]() |
|
| Tags |
| downloads, limit, number |
| Thread Tools | |
| |
![]() |