Akopia Akopia Services

[Date Prev][Date Next][Thread Prev][Thread Next][Minivend by date ][Minivend by thread ]

Re: [mv] How do I add custom processing to the checkout page?



******    message to minivend-users from Bill Randle <billr@exgate.tek.com>     ******

Mark Stosberg wrote:
> 
> ******    message to minivend-users from Mark Stosberg <mark@summersault.com>     ******
> 
> Hello,
> 
>  I have a couple bits of functionality I need to add my final checkout
> page of MV4.04 and I'm not sure how to proceed. The first one should be
> easy for a seasoned minivender. I want to have the option for a someone
> to find sign up on a mailing list as well. I have working code for both
> the form and a script to process it-- How do I tell minivend "Hey, also
> run this other code when they hit submit". Although I'm an experience
> Perl programmer and have been using minivend for a couple of years, how
> the [process] tag work still confuses me.

Look in the docs for mv_click and mv_check which are run before and after,
respectively, the submit processing.

[set mycode]
[perl]
  ...
[/perl]
[/set]

<form ...>
  <input type=hidden name=mv_check value=mycode>
  ...
  <input type=submit name=submit value=Submit>
</form>

	-Bill
-
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


Search for: Match: Format: Sort by: