Foxycart inventory control with PHP/MySQL
$30-250 USD
Pagado a la entrega
I need someone to build a very simple Foxycart inventory level control system for me.
Basically, Foxycart works like PayPal 'buy it' buttons. You put a HTML form on your page, like these examples:
[url removed, login to view]
The problem is, I don't want to display that link *unless* an external application says that the item is in-stock. The external application will be located on an entirely separate website, and queried via AJAX.
So, your job will be to:
1. Implement a simple PHP product list, which lists products (stored in MySQL) out on a page, along with an in-stock flag (i.e. CREATE TABLE products ( id INT AUTO_INCREMENT, name VARCHAR, in_stock TINYINT(1) )
2. Write an AJAX script which queries that MySQL table based on the product name- if the product is in-stock, show the Foxycart <form> to add to cart, if the product is not in stock, show an 'out of stock' button image instead
Foxycart:
[url removed, login to view]
Docs:
[url removed, login to view]
Nº del proyecto: #830357