Akopia Akopia Services

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

[mv] Acuumulte into variable.....



******    message to minivend-users from "Tal Hart (TelNET)" <tal@telnet.co.il>     ******

I cant get this simplest thing to work....

For each product we have a 'bonus' Field & 'Miles' field , which is a number
of bonus credits/Miles a user gets when he orders it...

Inside a search list, I would like to calculate the Total bonus points/Miles
for the products in the list..

Simply, i wish to open 2 new variable, and on each loop add the 'bonus' /
'miles' values to this variables,so i can display at the end
Total credits for these items = XXXX
Total Miles = XXXX

I cant get this to work..
whats the corerct syntax for that ??



Tal Hart
=============================================================
TelNET Communication
Tel # + 972-9-8859919    Fax # +972-9-8859929
Address : Office - 10 giborey israel, New industrial area,Netanya
Post Adress : 2 Gur st. , Ramat Poleg , Netanya , ISRAEL , 42000
E-mail : tal@telnet.co.il           Web : www.telnet.co.il
=============================================================
----- Original Message -----
From: <minivend-users@minivend.com>
To: <minivend-users@minivend.com>
Sent: Monday, August 21, 2000 7:22 AM
Subject: Re: [mv] Setting variables inside <a href> or similiar function?


> ******    message to minivend-users from ". c . o . r . y .  t . r . e . s
> . e" <digital@frognet.net>     ******
>
> what about this ...?
>
> <a href="[area form="mv_todo=return
> mv_nextpage=yourpage
> variable_1=yourvalue
> variable_2=yoursecondvalueforfuturereference
> "]
> ">Click here to set your values for future reference</a>
>
> You can encode variable settings within a link (or a [page... construct.)
> I'm
> not sure why I prefer to use [area..., I think it is faster or something.
>
> Anyway, you can find this explaination in the manual under the heading of
> "Basic Minivend Tags."
>
> However, using this format, you will NOT be setting scratch variables
> (what you
> speak of below.)  You will be setting user-session variables.  These can
be
> called with the [value 'variablename'] tag.
>
> This works just like a form (same as a form button, as you mention
> earlier.)
>
> Cory trese
>
>
> On Sun, 20 Aug 2000, you wrote:
> >> ******    message to minivend-users from jimtoro@hoflink.com     ******
> >>
> >>
> >>  I want to be able to set variables when users click on certain links,
> >> like if a user picks a link (simple <a href> I would like to bury
> >> a set or seti somewhere in that link so the link is processed
> >> as normal but a variable is set for future references. I tried alot
> >> of things but it doesnt seem to work.
> >>
> >> Is this sort of thing permissable?. If I put the [set][/set] or
> >> [seti][/seti] statment inside the a href minivend doesnt complain
> >> but it doesnt seem to work when referring to the var later nor does
> >> it show up in viewing the source when viewing the page which leads
> >> me to believe MV stripped it or processed it somehow but I am just
> >> putting it in the wrong place.
> >>
> >> Is there another way to do this?. I dont want a form-button, rather
> >> I want it to look like a regular link but just set a var when the
> >> link is clicked.
> >>
> >> Thanks.
> >>
> >>
> >>
> >>
> >>
> >>
> >>
> >>
> >>
> >> -
> >> 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
> --
> cory trese
> digital@{specialty-books.com, frognet.net};
> W: 800 466 1365 ext223]
> H: 740 592 4493
> -
> 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
>

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