Limit Quantity Of Orders / PHP

I need a PHP script that will allow me to limit the number of orders for one of my products to a specific number. For example... I display on a page... "This offer is limited to the next 20 orders only". When the first person orders they will be taken to a page on my site that with a piece of code that counts that order. This would be the order confirmation page or similar. The sales page would now say... "This offer is limited to the next 19 people only". When five more people order that could then say... "This offer is limited to the next 14 people only. Six people have already ordered and I don't think you have much time left". I'd like to be able to control how the countdown text is displayed for each number left. This could be done by giving me control over every line displayed. For example if I tell the script that the quantity is 20 I should be able to edit 20 lines. The default however should be... "This offer is limited to the next $count orders only". The page that 'counts' (the order confirmation page) should only count one person one time so that if someone reloads the page they won't be counted twice. Maybe done with a cookie or IP address. I'll take care of the order page. I'm just looking for the code that will call the script that I need to place on the order confirmation page. Once the order limit is reached two things should happen and all 20 or whatever number of sales is reached the script should do two things. [1] The page now says "This Special Offer Has Ended". Click Here. That should be the only text on the page. [2] The page then redirects to a url that I specify. the delay should be editable by me. The page should redirect to the same place the Click Here above points to. Once the script has counted all of the inventory as sold redirecting the page allows me enforce the quantity deadline set in the script. If you have any suggestions let me know. Thanks in advance. Anthony

## Deliverables

1) Complete and fully-functional working program(s) as well as complete source code of all work done. 2) Clear indication of permissions that need to be set if any. 3) Exclusive and complete copyrights to all work purchased. (No GPL, 3rd party components, etc. unless all copyright ramifications are explained AND AGREED TO by the buyer on the site).

## Platform


Habilidades: Engenharia, Linux, MySQL, PHP, Arquitetura de software, Teste de Software, UNIX

Ver mais: sales person line, one time offer script, orders, php delay, cookie 3rd party, php redirects, clear linux, permissions php, call url script, products php script, click confirmation url, inventory script php, php url redirect, inventory control code, inventory site php, script inventory php, control inventory php, work order program php, count inventory, need similar php script, edit cookie, countdown program, redirect click script, cookie php, order page php

Acerca do Empregador:
( 24 comentários ) United States

ID do Projeto: #2985878

2 freelancers estão ofertando em média $30 para este trabalho


See private message.

$17 USD in 5 dias
(46 Comentários)

See private message.

$42.5 USD in 5 dias
(10 Comentários)