Akopia Akopia Services

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

Re: [mv] Chaining together OrderProfiles?



******    message to minivend-users from Hans-Joachim Leidinger <jojo@buchonline.net>     ******

cfm@maine.com schrieb:
> 
> ******    message to minivend-users from cfm@maine.com     ******
> 
> Has anyone ever done any work to chain together OrderProfiles?
> 
> Rather than calling profile:
>  a for part a
>  b for part b
>  c for part c (where c is just sum of a and b)
> 
> I'd rather call profile:
>  a for part a
>  b for part b
>  a+b for part c (where c is just sum of a and b)

Hmmm...can't you use different profiles for different case? For example

[if scratch a]
  [set checkout]
  address=required Oops! No address.
  [/set]
[elsif scratch b]
  [set checkout]
  name=required You must give us your name.
  [/set]
[/elsif]
[else scratch c]
  [set checkout]
  name=required You must give us your name.
  address=required Oops! No address.
  [/set]
[/else]
[/if]

<INPUT TYPE=hidden NAME=mv_order_profile VALUE="checkout">

(NOT TESTED)?

Joachim
-- 
-------------Hans-Joachim Leidinger---------------------

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