[Date Prev][Date Next][Thread Prev][Thread Next][Minivend by date
][Minivend by thread
]
Re: Inventory Tracking (help)
Hi,
Try this:
---snip---
[tag flag write]inventory[/tag]
[item-list]
[data inventory qty [item-code] -[item-quantity] decrement]
[/item-list]
---snip---
Put this where you want the decrement to take place.
-Gideon
> ****** message to minivend-users from "Trevor Sky Garside"
<trevor@actaeon.net> ******
>
> I'm working with a minivend 3.14 database on a Cobalt RaQ. I've pretty
much
> hacked the demo database to shreds, and now I'm unsure how to fully
> implement inventory tracking.
>
> I read (in the mailing list archive) a message from last April describing
> how to check on the status of the inventory of a particular item (so I can
> add "SOLD OUT" to the page accordingly). What I really need, however, is
an
> explanation of how to tell minivend to decrement that variable when items
> are purchased (and possibly a way to change that variable directly through
> the web).
>
> (The site asks for billing and shipping information, then sends the user
off
> to a credit card verification system outside of our site. I want to put
the
> inventory decrement on the return page, so when the credit auth comes back
> good, the user gets a little receipt page and minivend updates the
> inventory. I'm also planning on making a CGI that will allow the db admin
to
> modify the inventory himself (he sells his products both on the web and in
a
> retail store) )
>
> Any help would be most appreciated.
>
> Trevor Garside
> Actaeon West, Inc.
> trevor@actaeon.net
>
> -
> To unsubscribe from the list, DO NOT REPLY to this message. Instead, send
> email with 'UNSUBSCRIBE minivend-users' in the body to
Majordomo@minivend.com.
> Archive of past messages: http://www.minivend.com/minivend/minivend-list
>