I am designing a site for a client who will only be allowing access to existing customers. The site will be used for the purpose of calling-off stock from existing orders.
The site links to SQL Server database which provides stock quantities and minimum order quantities (each product is different).
The customer wants each product to display the number of items in stock which I have already been able to do, but also wants to incorporate the min pack quantity and reflect this in the input box for Quantity. It would look something like this I imagine:
You have 200 packs of 1000 (200000) in stock:
Call-off [ ] packs
The 200000 figure will come across from the SQL server database. The problem I have is figuring out how to get the right figures to appear where the 200 and the 1000 is?
Can anyone help? Is there a better way to do this? We cannot interfere with the SQL Server data as this is used by the company's warehouse.
The site links to SQL Server database which provides stock quantities and minimum order quantities (each product is different).
The customer wants each product to display the number of items in stock which I have already been able to do, but also wants to incorporate the min pack quantity and reflect this in the input box for Quantity. It would look something like this I imagine:
You have 200 packs of 1000 (200000) in stock:
Call-off [ ] packs
The 200000 figure will come across from the SQL server database. The problem I have is figuring out how to get the right figures to appear where the 200 and the 1000 is?
Can anyone help? Is there a better way to do this? We cannot interfere with the SQL Server data as this is used by the company's warehouse.
Comment