[Date Prev][Date Next][Thread Prev][Thread Next][Minivend by date
][Minivend by thread
]
Re: [mv] Is it possible to write into MYSQL database
****** message to minivend-users from jojo@buchonline.net ******
On 27 Jan, Jarno Niemelä wrote:
> ****** message to minivend-users from Jarno =?iso-8859-1?Q?Niemel=E4?= <jargon@iki.fi> ******
>
> Hello.
>
> I have created an external order processing system in minivend,
> that currently interfaces using hidden input parameters in form
> (not wise).
>
>
>
>
> And I'd like to make it so that when the user clicks accept button,
> the minivend writes to a database the products user ordered, shipping etc...
>
> Can this be done in minivend?
>
> Do i just define the database as I would define products database in minivend?
>
> Do i use the [IMPORT] tag, or do I use the [SQL] tag?
>
> Any answers and examples are appeciated.
>
> Jarno Niemela
>
> PS. I've read the manual, but answers would really save time.
>
> Jarno.
Hi Jarno,
i don't know, which database do you use with minivend. But to
store/write user ordered, shipping etc. you can use this codes (for
example):
[tag op=log file="pages/ordjournal/order.log" interpolate=1]
any codes like [value name] etc. to store user oerdered, shipping etc.
[/tag]
You get an ASCII-file "order.log". Make sure to create a directory like
"orderjournal" befor. Or use any name that you wish. Hope this help you.
Regards,
Joachim
BTW: Go to http://www.minivend.com/minivend/tags/
----snipp----------
log dir/file
Logs a message to a file, fully interpolated for MiniVend tags. The following tag will send every item code and description in the user's shopping cart
to the file logs/transactions.txt:
[tag log logs/transactions.txt]
[item_list][item-code] [item-description]
[/item_list][/tag]
The file is relative to the catalog directory, and only may be an absolute path name if NoAbsolute is set to No.
----snipp----------
--
Hans-Joachim Leidinger
buch online jojo@buchonline.net
Munscheidstr. 14 FAX: +49 209 1971449
45886 Gelsenkirchen FAX: 0209 1671449
-
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