[Date Prev][Date Next][Thread Prev][Thread Next][Minivend by date
][Minivend by thread
]
Re: [mv] MV 3.14-5 - Number of line item on order
****** message to minivend-users from Ed LaFrance <newmedia@newmediaems.com> ******
At 01:42 PM 5/11/00 -0700, you wrote:
>****** message to minivend-users from Barry Treahy
><treahy@mmaz.com> ******
>
>In the MV documentation I found two different examples for determining
>the number of line items in a basket, not the number of items ordered.
Why not try some kind of accumulator inside the item-list like (untested
code concept):
[set tot_items interpolate=1][calc][scratch tot_items] +
[item-quantity][/calc][/set]
...I don't use [calc] much except for display, so you may find you need a
[perl] block for the actual calculation. [scratch tot_items] placed just
under the item-list should return the total quantity of all items ordered.
- Ed L.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| New Media E.M.S. Software Solutions for Business |
| 12831 Blanco Ct. Consulting |
| Poway, CA 92064 U.S.A. Custom Programming |
| 858-486-6508 Internet and eCommerce |
| 630-604-4265 eFax |
| newmedia@newmediaems.com |
| http://www.newmediaems.com |
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-
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