2016-07-07, 02:40 PM
For example, if you had a stock count, how would you:
- Add an additional database field somewhere for the stock levels of different products
- Have a field in the Admin CP to set the initial stock level
- Display that stock level from the DB somewhere in the template {$stocklevel1}
- Have that stock level reduce by one each time a button is clicked