Announcement

Collapse
No announcement yet.

Miva welcomes James Harrell

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    #16
    Miva welcomes James Harrell



    I guess we'll see what happens, eh? By the way, why didn't this
    announcement go out to the Miva User's list?

    Miva User Group Support wrote:
    > Greetings Partners,
    >
    >
    >
    > Miva is pleased to announce the acquisition of all rights to the Miva
    > Merchant related technology developed by Copernicus Business Systems.
    >>From this point forward, all documentation, product info, and support
    > for CBS modules built for Miva Merchant, as well as the OpenXB product
    > line, will be handled by Miva Corporation.
    >
    >
    >
    > Simultaneously, Copernicus founder James Harrell has come aboard as our
    > new Director of Software Development. In this new capacity, Mr. Harrell
    > will be serving the community by adding his insight and skill to the
    > ongoing evolution of the Miva E-Commerce Platform.
    >
    >
    >
    > Please join us in congratulating James in the opening of this new era in
    > our history together.
    >
    >
    >
    > We're very excited about these new developments at Miva, and we believe
    > that many positive results will be visible very soon.
    >
    >
    >
    > Sincerely,
    >
    >
    >
    > Miva Corporation
    >
    > A FindWhat.com, Inc. Company
    >
    > NASDAQ: FWHT
    >
    >
    >
    >

    --
    ------------

    "To The States, or any one of them, or any city of The States,
    Resist much, obey little;
    Once unquestioning obedience, once fully enslaved;
    Once fully enslaved, no nation, state, city, of this earth,
    ever afterward resumes its liberty."

    ~Walt Whitman


    Comment


      #17
      Miva welcomes James Harrell



      While you're fantasizing...

      ... how about a forms collection? And a page collection?
      ... Better file and directory support cannot be a bad thing. More
      features always increase security risks if they are not managed
      properly...=20
      ... Less verbosity ... Miva statements scare me. In other languages,
      this...

      <MvASSIGN NAME =3D "l.filename" VALUE =3D "{ 'rss.xml' }">
      <MvASSIGN NAME =3D "l.filepath" VALUE =3D "{ g.rss_path $ l.filename
      }">
      <MvASSIGN NAME =3D "l.delete" VALUE =3D "{ fdelete( l.filepath ) }">
      <MvASSIGN NAME =3D "l.delete" VALUE =3D "{ sdelete( '/' $ l.filename
      ) }">

      Would look something like this...

      Filname=3D"rss.xml"
      filepath=3Dg.rss_path $ l.filename
      fdelete( l.filepath )
      sdelete( '/' $ l.filename )

      I'm sure I could be more thorough but this is a good start.
      Oh, yea, create an official MivaScript Editor, and get the multiple
      version of the Engine clear on the site. Last time I tried to get
      Empressa/VM running on my local machine, I could not get the proper
      combination of engine/database for my version of Miva Merch. Maybe an
      auto-sense engine or guide to the proper download based on merchant
      version, etc.?

      Good luck James!=20


      Andrew=20



      =20



      > -----Original Message-----
      > From: Claudiu Bischoff [mailto:[email protected]]=20
      > Sent: Friday, April 08, 2005 12:20 AM
      > To: Bill Guindon
      > Cc: Merchant Coders
      > Subject: RE: [mrc] Miva welcomes James Harrell
      >=20
      >=20
      > ... and why not being able to read directory content .. and=20
      > why not having a function to delete a directory recursively=20
      > and why not having a function to delete the content of a=20
      > directory.. :|
      >=20
      > .. and my congrats to James too :)
      >=20
      > Claudiu Bischoff
      >=20
      > -----Original Message-----
      > From: [email protected]=20
      > [mailto:[email protected]]On Behalf Of Bill Guindon
      > Sent: vendredi 8 avril 2005 05:01
      > To: Ivo Truxa
      > Cc: Merchant Coders
      > Subject: Re: [mrc] Miva welcomes James Harrell
      >=20
      >=20
      > On Apr 7, 2005 10:01 PM, Ivo Truxa <[email protected]> wrote:
      > > My congratulations to James!
      > >
      > > Btw, what happened to the previous Director of Software=20
      > Development?=20
      > > Is Burch no more at Miva, and no more making any development? Are=20
      > > there other developers who left? Will Miva Script still exist in=20
      > > future, or will James force porting Merchant into PHP and finally=20
      > > killing Miva Script? I believe he is more a C and PHP=20
      > developer than a=20
      > > Miva Script coder
      > >
      > > (Well, I do not expect that anyone really answers my=20
      > questions, but I=20
      > > ask
      > > anyway)
      > >
      >=20
      > My hope would be that he'd use his PHP and C experience to=20
      > make Miva a much better language.
      >=20
      > If I'm right, here's a couple suggestions... stop being so verbose!
      >=20
      > Why "miva_array_max"? Do you plan to add a=20
      > "coldfusion_array_max" and needed to avoid the name clash?
      >=20
      > Why does MvIF require an "Expr=3D"? Why not simply <MvIF "{=20
      > braces optional }">
      >=20
      > Why STANDARDOUTPUTLEVEL and ERROROUTPUTLEVEL? How about=20
      > OUTLEVEL and ERRLEVEL?
      >=20
      > When you've replaced (and/or aliased) those, and a few=20
      > others, we can discuss better ways to build dynamic=20
      > structures... as ugly as this is, it beats the "standard"=20
      > method of building multi-member/multi-array structures (which=20
      > I have _never_ used):
      >=20
      > <MvASSIGN NAME=3D"{'l.dict:page[' $ l.page $ ']:word[' $=20
      > l.count $ ']'}" VALUE=3D"{l.words[l.count]}">
      >=20
      > Just trying to give James a little job security by keeping=20
      > him busy ;-)
      >=20
      > --
      > Bill Guindon (aka aGorilla)
      >=20
      >=20

      Comment


        #18
        Miva welcomes James Harrell



        Before we all start requesting new features and language changes (which
        are all good IMO! I especially agree with making built in function names
        shorter, so long as backwards compatibility is preserved), it might be
        worth your wait for the next release of the compiler and virtual
        machine. Some cool stuff, I'll tell you that.

        --

        Adam
        http://vikingcoders.com

        Andrew Noce wrote:
        > While you're fantasizing...
        >
        > ... how about a forms collection? And a page collection?
        > ... Better file and directory support cannot be a bad thing. More
        > features always increase security risks if they are not managed
        > properly...
        > ... Less verbosity ... Miva statements scare me. In other languages,
        > this...
        >
        > <MvASSIGN NAME = "l.filename" VALUE = "{ 'rss.xml' }">
        > <MvASSIGN NAME = "l.filepath" VALUE = "{ g.rss_path $ l.filename
        > }">
        > <MvASSIGN NAME = "l.delete" VALUE = "{ fdelete( l.filepath ) }">
        > <MvASSIGN NAME = "l.delete" VALUE = "{ sdelete( '/' $ l.filename
        > ) }">
        >
        > Would look something like this...
        >
        > Filname="rss.xml"
        > filepath=g.rss_path $ l.filename
        > fdelete( l.filepath )
        > sdelete( '/' $ l.filename )
        >
        > I'm sure I could be more thorough but this is a good start.
        > Oh, yea, create an official MivaScript Editor, and get the multiple
        > version of the Engine clear on the site. Last time I tried to get
        > Empressa/VM running on my local machine, I could not get the proper
        > combination of engine/database for my version of Miva Merch. Maybe an
        > auto-sense engine or guide to the proper download based on merchant
        > version, etc.?
        >
        > Good luck James!
        >
        >
        > Andrew
        >
        >
        >
        >
        >
        >
        >
        >
        >>-----Original Message-----
        >>From: Claudiu Bischoff [mailto:[email protected]]
        >>Sent: Friday, April 08, 2005 12:20 AM
        >>To: Bill Guindon
        >>Cc: Merchant Coders
        >>Subject: RE: [mrc] Miva welcomes James Harrell
        >>
        >>
        >>... and why not being able to read directory content .. and
        >>why not having a function to delete a directory recursively
        >>and why not having a function to delete the content of a
        >>directory..:|
        >>
        >>.. and my congrats to James too :)
        >>
        >>Claudiu Bischoff
        >>
        >>-----Original Message-----
        >>From: [email protected]
        >>[mailto:[email protected]]On Behalf Of Bill Guindon
        >>Sent: vendredi 8 avril 2005 05:01
        >>To: Ivo Truxa
        >>Cc: Merchant Coders
        >>Subject: Re: [mrc] Miva welcomes James Harrell
        >>
        >>
        >>On Apr 7, 2005 10:01 PM, Ivo Truxa <[email protected]> wrote:
        >>
        >>>My congratulations to James!
        >>>
        >>>Btw, what happened to the previous Director of Software
        >>
        >>Development?
        >>
        >>>Is Burch no more at Miva, and no more making any development? Are
        >>>there other developers who left? Will Miva Script still exist in
        >>>future, or will James force porting Merchant into PHP and finally
        >>>killing Miva Script? I believe he is more a C and PHP
        >>
        >>developer than a
        >>
        >>>Miva Script coder
        >>>
        >>>(Well, I do not expect that anyone really answers my
        >>
        >>questions, but I
        >>
        >>>ask
        >>>anyway)
        >>>
        >>
        >>My hope would be that he'd use his PHP and C experience to
        >>make Miva a much better language.
        >>
        >>If I'm right, here's a couple suggestions... stop being so verbose!
        >>
        >>Why "miva_array_max"? Do you plan to add a
        >>"coldfusion_array_max" and needed to avoid the name clash?
        >>
        >>Why does MvIF require an "Expr="? Why not simply <MvIF "{
        >>braces optional }">
        >>
        >>Why STANDARDOUTPUTLEVEL and ERROROUTPUTLEVEL? How about
        >>OUTLEVEL and ERRLEVEL?
        >>
        >>When you've replaced (and/or aliased) those, and a few
        >>others, we can discuss better ways to build dynamic
        >>structures... as ugly as this is, it beats the "standard"
        >>method of building multi-member/multi-array structures (which
        >>I have _never_ used):
        >>
        >><MvASSIGN NAME="{'l.dict:page[' $ l.page $ ']:word[' $
        >>l.count $ ']'}" VALUE="{l.words[l.count]}">
        >>
        >>Just trying to give James a little job security by keeping
        >>him busy ;-)
        >>
        >>--
        >>Bill Guindon (aka aGorilla)


        Comment


          #19
          Miva welcomes James Harrell



          Bill,

          Just one comment on your thoughts below. If we don't get concise naming
          conventions, you could roll your own using a preprocessor pretty easily.
          Internally, we use a program called ppwizard. It's open source. Ruby
          guys like you would dig it ;)

          It sure will be interesting to see how James background in the open
          source and PHP world influences the direction of Miva development.

          --

          Adam
          http://vikingcoders.com

          Bill Guindon wrote:
          > On Apr 7, 2005 10:01 PM, Ivo Truxa <[email protected]> wrote:
          >
          >>My congratulations to James!
          >>
          >>Btw, what happened to the previous Director of Software Development? Is
          >>Burch no more at Miva, and no more making any development? Are there other
          >>developers who left? Will Miva Script still exist in future, or will James
          >>force porting Merchant into PHP and finally killing Miva Script? I believe
          >>he is more a C and PHP developer than a Miva Script coder
          >>
          >>(Well, I do not expect that anyone really answers my questions, but I ask
          >>anyway)
          >>
          >
          >
          > My hope would be that he'd use his PHP and C experience to make Miva a
          > much better language.
          >
          > If I'm right, here's a couple suggestions... stop being so verbose!
          >
          > Why "miva_array_max"? Do you plan to add a "coldfusion_array_max" and
          > needed to avoid the name clash?
          >
          > Why does MvIF require an "Expr="? Why not simply <MvIF "{ braces optional }">
          >
          > Why STANDARDOUTPUTLEVEL and ERROROUTPUTLEVEL? How about OUTLEVEL and ERRLEVEL?
          >
          > When you've replaced (and/or aliased) those, and a few others, we can
          > discuss better ways to build dynamic structures... as ugly as this is,
          > it beats the "standard" method of building multi-member/multi-array
          > structures (which I have _never_ used):
          >
          > <MvASSIGN NAME="{'l.dict:page[' $ l.page $ ']:word[' $ l.count $ ']'}"
          > VALUE="{l.words[l.count]}">
          >
          > Just trying to give James a little job security by keeping him busy ;-)
          >


          --

          Adam
          http://vikingcoders.com


          Comment


            #20
            Miva welcomes James Harrell



            Don't you mean "... how it influences Miva Merchant development..." ? :)

            Adam Denning wrote:
            > Bill,
            >
            > Just one comment on your thoughts below. If we don't get concise naming
            > conventions, you could roll your own using a preprocessor pretty easily.
            > Internally, we use a program called ppwizard. It's open source. Ruby
            > guys like you would dig it ;)
            >
            > It sure will be interesting to see how James background in the open
            > source and PHP world influences the direction of Miva development.
            >

            --
            ------------

            "To The States, or any one of them, or any city of The States,
            Resist much, obey little;
            Once unquestioning obedience, once fully enslaved;
            Once fully enslaved, no nation, state, city, of this earth,
            ever afterward resumes its liberty."

            ~Walt Whitman


            Comment


              #21
              Miva welcomes James Harrell



              On Apr 8, 2005 1:48 PM, Adam Denning <[email protected]> wrote:
              > Bill,
              >
              > Just one comment on your thoughts below. If we don't get concise naming
              > conventions, you could roll your own using a preprocessor pretty easily.
              > Internally, we use a program called ppwizard. It's open source. Ruby
              > guys like you would dig it ;)

              I'll definitely take a look at it. I've been playing with ideas for
              preprocessors. Of course, that wouldn't help on the readability side,
              only on the typing side, and I honestly don't remember the last time I
              typed a miva tag :)

              And since you brought up Ruby, might as well let you all know about a
              little toy I built with it for Miva files. It reads .mv files, and
              gives you a list of all the functions, their parameters, and the line
              range. You can get a copy of it here:
              http://bg.mivascript.org/MvFuncList/

              > It sure will be interesting to see how James background in the open
              > source and PHP world influences the direction of Miva development.
              >
              > --
              >
              > Adam
              > http://vikingcoders.com
              >
              > Bill Guindon wrote:
              > > On Apr 7, 2005 10:01 PM, Ivo Truxa <[email protected]> wrote:
              > >
              > >>My congratulations to James!
              > >>
              > >>Btw, what happened to the previous Director of Software Development? Is
              > >>Burch no more at Miva, and no more making any development? Are there other
              > >>developers who left? Will Miva Script still exist in future, or will James
              > >>force porting Merchant into PHP and finally killing Miva Script? I believe
              > >>he is more a C and PHP developer than a Miva Script coder
              > >>
              > >>(Well, I do not expect that anyone really answers my questions, but I ask
              > >>anyway)
              > >>
              > >
              > >
              > > My hope would be that he'd use his PHP and C experience to make Miva a
              > > much better language.
              > >
              > > If I'm right, here's a couple suggestions... stop being so verbose!
              > >
              > > Why "miva_array_max"? Do you plan to add a "coldfusion_array_max" and
              > > needed to avoid the name clash?
              > >
              > > Why does MvIF require an "Expr="? Why not simply <MvIF "{ braces optional }">
              > >
              > > Why STANDARDOUTPUTLEVEL and ERROROUTPUTLEVEL? How about OUTLEVEL and ERRLEVEL?
              > >
              > > When you've replaced (and/or aliased) those, and a few others, we can
              > > discuss better ways to build dynamic structures... as ugly as this is,
              > > it beats the "standard" method of building multi-member/multi-array
              > > structures (which I have _never_ used):
              > >
              > > <MvASSIGN NAME="{'l.dict:page[' $ l.page $ ']:word[' $ l.count $ ']'}"
              > > VALUE="{l.words[l.count]}">
              > >
              > > Just trying to give James a little job security by keeping him busy ;-)
              > >
              >
              > --
              >
              > Adam
              > http://vikingcoders.com
              >


              --
              Bill Guindon (aka aGorilla)


              Comment


                #22
                Miva welcomes James Harrell



                Scot Ranney wrote:
                > Don't you mean "... how it influences Miva Merchant development..." ? :)

                [talking way too much today <g>]

                Step back and think about how much brain power it took for Miva Corp to
                fuse things like MySQL, xbase, "MivaSQL", XML, compiler/language
                improvements, an entirely new Merchant API, etc. And make it all fly,
                while listening to ideas and changing things along the way. I don't know
                how many developers work in San Diego, but that is major and deserves
                respect IMHO.

                --

                Adam
                http://vikingcoders.com

                >
                > Adam Denning wrote:
                >
                >> Bill,
                >>
                >> Just one comment on your thoughts below. If we don't get concise
                >> naming conventions, you could roll your own using a preprocessor
                >> pretty easily. Internally, we use a program called ppwizard. It's open
                >> source. Ruby guys like you would dig it ;)
                >>
                >> It sure will be interesting to see how James background in the open
                >> source and PHP world influences the direction of Miva development.
                >>
                >



                Comment


                  #23
                  Commission Calculation Help. . .



                  I guess the coders list would be the most appropriate spot for this
                  question.

                  Please bear with me. . . I'm obviously have no idea what I'm talking about.
                  :-)

                  I would like to calculate commission on an order based on different
                  commissions for each sku. I was thinking I could store the commission rate
                  in vc's additional product fields. Somehow, I need to subtract for any
                  coupons, tax and shipping from the total. . . This calculation needs to be
                  done, and stored in a variable (cr=) that I can pass through an img tag:
                  Example = addorder.asp?a=25.00&c=123321&cr=5.00

                  a=ordertotal
                  c=ordernumber
                  cr=commission

                  I don't think I'm going to be able to figure this one out on my own. . . and
                  I'm willing to pay for your help. Let me know what it will take.

                  Thanks in advance.
                  Lyn Askin
                  inkcarts.com


                  Comment


                    #24
                    Commission Calculation Help. . .



                    You can store the commission in a number of places. If you do not want to
                    use any module, you can use the "cost" field (if you do not need it for the
                    real cost). You can also hide it in the description - for example in this
                    way:

                    Do you want to call the ASP script at each product separately? Or how
                    exactly do you plan to handle orders with multiple products, each with a
                    different commission?

                    If you want to call it separately at each product, you can do it with MvCALL
                    in a fulfillemnt module looping through the products. In case you do not
                    plan to write any, you can do it in the User-defined column of a truXoft
                    notification module (MmHTML, MmHTMLc, MmVENDOR, MmXML, MMPASS,
                    MmATTACH,...). When using the cost field, you would use something in this
                    way:

                    <MvCALL
                    ACTION="http://the.domain.com/addorder.asp?a=%Orders.total%&c=%Orders.id%&cr
                    =%Products.cost%" METHOD="post"></MvCALL>

                    If you write your own module or modify a present one, it could be done in
                    the same way.

                    Ivo Truxa

                    | http://miva.truxoft.com
                    | Advanced Miva Merchant modules





                    -----Original Message-----
                    From: lyn askin


                    I guess the coders list would be the most appropriate spot for this
                    question.

                    Please bear with me. . . I'm obviously have no idea what I'm talking about.
                    :-)

                    I would like to calculate commission on an order based on different
                    commissions for each sku. I was thinking I could store the commission rate
                    in vc's additional product fields. Somehow, I need to subtract for any
                    coupons, tax and shipping from the total. . . This calculation needs to be
                    done, and stored in a variable (cr=) that I can pass through an img tag:
                    Example = addorder.asp?a=25.00&c=123321&cr=5.00

                    a=ordertotal
                    c=ordernumber
                    cr=commission

                    I don't think I'm going to be able to figure this one out on my own. . . and
                    I'm willing to pay for your help. Let me know what it will take.

                    Thanks in advance.
                    Lyn Askin
                    inkcarts.com



                    Comment


                      #25
                      Commission Calculation Help. . .



                      Ivo,

                      I'm already using the cost field for something else. . . it will probably be
                      easiest for me to use additional product fields, I already have the module
                      and I can import/export to it.

                      I only want to call the asp script once. . it's actually an img tag that
                      passes the variables to the script at myaffiliateprogram.com.

                      Example: <img
                      src="https://www.myaffiliateprogram.com/u/inkcarts/addorder.asp?a=%order_sub
                      total_adjusted%&c=%order_number%&cr=commission" alt="" width=1 height=1>

                      I also have Viking's generic affiliate module, which allows me to put that
                      code on the invoice page. It works great for passing the info to
                      myaffiliateprogram.com, where THEY then calculate a flat rate commission.

                      Unfortunately, flat rate commission isn't sufficient for my situation. So,
                      if I can figure out how to just calculate the TOTAL commission amount, I can
                      pass that on to myaffiliateprogram.com. However, the problem I'm having is
                      how to take each product, calculate commission, and account for coupons.

                      Example: Item 1 = $100.00 - 25% off coupon = 75.00. . . Now how can I
                      calculate 25% commission on the 75.00 and not on the 100.00? If I just set
                      it to a $25.00 commission, it actually ends up 33% rather than 25%.

                      Add Item 2 to the same order at 10% commission rate, and now you see where
                      the fun begins. I'm not sure, but I'm beginning to think this isn't
                      possible!

                      I don't have the skills to write my own module, so that is not an option. .
                      . I'd be happy to purchase one of your modules if we could get this to work
                      somehow.

                      Thanks for all your help.
                      Lyn Askin
                      Inkcarts.com



                      -----Original Message-----
                      From: [email protected] [mailto:[email protected]]
                      On Behalf Of Ivo Truxa
                      Sent: Friday, April 08, 2005 3:45 PM
                      To: 'lyn askin'; 'Merchant Coders'
                      Subject: RE: [mrc] Commission Calculation Help. . .

                      You can store the commission in a number of places. If you do not want to
                      use any module, you can use the "cost" field (if you do not need it for the
                      real cost). You can also hide it in the description - for example in this
                      way:

                      Do you want to call the ASP script at each product separately? Or how
                      exactly do you plan to handle orders with multiple products, each with a
                      different commission?

                      If you want to call it separately at each product, you can do it with MvCALL
                      in a fulfillemnt module looping through the products. In case you do not
                      plan to write any, you can do it in the User-defined column of a truXoft
                      notification module (MmHTML, MmHTMLc, MmVENDOR, MmXML, MMPASS,
                      MmATTACH,...). When using the cost field, you would use something in this
                      way:

                      <MvCALL
                      ACTION="http://the.domain.com/addorder.asp?a=%Orders.total%&c=%Orders.id%&cr
                      =%Products.cost%" METHOD="post"></MvCALL>

                      If you write your own module or modify a present one, it could be done in
                      the same way.

                      Ivo Truxa

                      | http://miva.truxoft.com
                      | Advanced Miva Merchant modules





                      -----Original Message-----
                      From: lyn askin


                      I guess the coders list would be the most appropriate spot for this
                      question.

                      Please bear with me. . . I'm obviously have no idea what I'm talking about.
                      :-)

                      I would like to calculate commission on an order based on different
                      commissions for each sku. I was thinking I could store the commission rate
                      in vc's additional product fields. Somehow, I need to subtract for any
                      coupons, tax and shipping from the total. . . This calculation needs to be
                      done, and stored in a variable (cr=) that I can pass through an img tag:
                      Example = addorder.asp?a=25.00&c=123321&cr=5.00

                      a=ordertotal
                      c=ordernumber
                      cr=commission

                      I don't think I'm going to be able to figure this one out on my own. . . and
                      I'm willing to pay for your help. Let me know what it will take.

                      Thanks in advance.
                      Lyn Askin
                      inkcarts.com



                      Comment


                        #26
                        Commission Calculation Help. . .



                        Well, if there were only the commissions then you can calculate the total
                        commission easily in the product loop (User-defined column in truXoft
                        fulfilment modules). If you use product specific coupons, it gets more
                        complex and you will very likely need to ask a developer for a custom
                        solution. If the coupons are global (for the entire order), then it is easy
                        - first calculate the total commission from the individual percentages in
                        the product root (User-Def Column) and then calculate the absolute
                        commission from the percentage, the total and coupon(s) (would be in the
                        Invoice Footer in trXoft modules)

                        Ivo Truxa

                        | http://miva.truxoft.com
                        | Advanced Miva Merchant modules




                        -----Original Message-----
                        From: lyn askin [mailto:[email protected]]


                        Ivo,

                        I'm already using the cost field for something else. . . it will probably be
                        easiest for me to use additional product fields, I already have the module
                        and I can import/export to it.

                        I only want to call the asp script once. . it's actually an img tag that
                        passes the variables to the script at myaffiliateprogram.com.

                        Example: <img
                        src="https://www.myaffiliateprogram.com/u/inkcarts/addorder.asp?a=%order_sub
                        total_adjusted%&c=%order_number%&cr=commission" alt="" width=1 height=1>

                        I also have Viking's generic affiliate module, which allows me to put that
                        code on the invoice page. It works great for passing the info to
                        myaffiliateprogram.com, where THEY then calculate a flat rate commission.

                        Unfortunately, flat rate commission isn't sufficient for my situation. So,
                        if I can figure out how to just calculate the TOTAL commission amount, I can
                        pass that on to myaffiliateprogram.com. However, the problem I'm having is
                        how to take each product, calculate commission, and account for coupons.

                        Example: Item 1 = $100.00 - 25% off coupon = 75.00. . . Now how can I
                        calculate 25% commission on the 75.00 and not on the 100.00? If I just set
                        it to a $25.00 commission, it actually ends up 33% rather than 25%.

                        Add Item 2 to the same order at 10% commission rate, and now you see where
                        the fun begins. I'm not sure, but I'm beginning to think this isn't
                        possible!

                        I don't have the skills to write my own module, so that is not an option. .
                        . I'd be happy to purchase one of your modules if we could get this to work
                        somehow.

                        Thanks for all your help.
                        Lyn Askin
                        Inkcarts.com



                        -----Original Message-----
                        From: [email protected] [mailto:[email protected]]
                        On Behalf Of Ivo Truxa
                        Sent: Friday, April 08, 2005 3:45 PM
                        To: 'lyn askin'; 'Merchant Coders'
                        Subject: RE: [mrc] Commission Calculation Help. . .

                        You can store the commission in a number of places. If you do not want to
                        use any module, you can use the "cost" field (if you do not need it for the
                        real cost). You can also hide it in the description - for example in this
                        way:

                        Do you want to call the ASP script at each product separately? Or how
                        exactly do you plan to handle orders with multiple products, each with a
                        different commission?

                        If you want to call it separately at each product, you can do it with MvCALL
                        in a fulfillemnt module looping through the products. In case you do not
                        plan to write any, you can do it in the User-defined column of a truXoft
                        notification module (MmHTML, MmHTMLc, MmVENDOR, MmXML, MMPASS,
                        MmATTACH,...). When using the cost field, you would use something in this
                        way:

                        <MvCALL
                        ACTION="http://the.domain.com/addorder.asp?a=%Orders.total%&c=%Orders.id%&cr
                        =%Products.cost%" METHOD="post"></MvCALL>

                        If you write your own module or modify a present one, it could be done in
                        the same way.

                        Ivo Truxa

                        | http://miva.truxoft.com
                        | Advanced Miva Merchant modules





                        -----Original Message-----
                        From: lyn askin


                        I guess the coders list would be the most appropriate spot for this
                        question.

                        Please bear with me. . . I'm obviously have no idea what I'm talking about.
                        :-)

                        I would like to calculate commission on an order based on different
                        commissions for each sku. I was thinking I could store the commission rate
                        in vc's additional product fields. Somehow, I need to subtract for any
                        coupons, tax and shipping from the total. . . This calculation needs to be
                        done, and stored in a variable (cr=) that I can pass through an img tag:
                        Example = addorder.asp?a=25.00&c=123321&cr=5.00

                        a=ordertotal
                        c=ordernumber
                        cr=commission

                        I don't think I'm going to be able to figure this one out on my own. . . and
                        I'm willing to pay for your help. Let me know what it will take.

                        Thanks in advance.
                        Lyn Askin
                        inkcarts.com



                        Comment


                          #27
                          Miva welcomes James Harrell



                          So...

                          Where is James, anyway? I haven't seen anything from him since the
                          announcement came out. I'm also curious about what will happen with Jennifer
                          Sobanet, the other half of CBS. Is she considered part of the CBS buyout?

                          The Miva scene is getting stranger and stranger:

                          * Miva/FindWhat bought MvCool and renamed it MivaCentral.
                          * Miva Merchant 5 is coming out, apparently different in many ways from
                          previous versions.
                          * OpenUI announces that, following the release of Miva Merchant 5, they are
                          completely out of the Miva business except for necessary updates to existing
                          OpenUI versions.
                          * Miva/FindWhat bought Copernicus Business Systems and hired James Harrell.

                          I'm sure I've missed a half dozen or so items there.

                          One thing that I'm really, really wondering is: will Merchant v5 provide the
                          conditionals and control that were provided by the combination of Merchant v4
                          and OpenUI? Everything from basics (conditional login/acct links) to some of
                          the more complex manipulation we've seen used from time to time.

                          Curious Tom



                          > -----Original Message-----
                          > From: [email protected]
                          > [mailto:[email protected]]On Behalf Of Adam Denning
                          > Sent: Friday, April 08, 2005 12:41 PM
                          > To: Andrew Noce
                          > Cc: Claudiu Bischoff; Bill Guindon; Merchant Coders
                          > Subject: Re: [mrc] Miva welcomes James Harrell
                          >
                          >
                          > Before we all start requesting new features and language changes (which
                          > are all good IMO! I especially agree with making built in function names
                          > shorter, so long as backwards compatibility is preserved), it might be
                          > worth your wait for the next release of the compiler and virtual
                          > machine. Some cool stuff, I'll tell you that.
                          >
                          > --
                          >
                          > Adam
                          > http://vikingcoders.com
                          >
                          > Andrew Noce wrote:
                          > > While you're fantasizing...
                          > >
                          > > ... how about a forms collection? And a page collection?
                          > > ... Better file and directory support cannot be a bad thing. More
                          > > features always increase security risks if they are not managed
                          > > properly...
                          > > ... Less verbosity ... Miva statements scare me. In other languages,
                          > > this...
                          > >
                          > > <MvASSIGN NAME = "l.filename" VALUE = "{ 'rss.xml' }">
                          > > <MvASSIGN NAME = "l.filepath" VALUE = "{ g.rss_path $ l.filename
                          > > }">
                          > > <MvASSIGN NAME = "l.delete" VALUE = "{ fdelete( l.filepath ) }">
                          > > <MvASSIGN NAME = "l.delete" VALUE = "{ sdelete( '/' $ l.filename
                          > > ) }">
                          > >
                          > > Would look something like this...
                          > >
                          > > Filname="rss.xml"
                          > > filepath=g.rss_path $ l.filename
                          > > fdelete( l.filepath )
                          > > sdelete( '/' $ l.filename )
                          > >
                          > > I'm sure I could be more thorough but this is a good start.
                          > > Oh, yea, create an official MivaScript Editor, and get the multiple
                          > > version of the Engine clear on the site. Last time I tried to get
                          > > Empressa/VM running on my local machine, I could not get the proper
                          > > combination of engine/database for my version of Miva Merch. Maybe an
                          > > auto-sense engine or guide to the proper download based on merchant
                          > > version, etc.?
                          > >
                          > > Good luck James!
                          > >
                          > >
                          > > Andrew
                          > >
                          > >
                          > >
                          > >
                          > >
                          > >
                          > >
                          > >
                          > >>-----Original Message-----
                          > >>From: Claudiu Bischoff [mailto:[email protected]]
                          > >>Sent: Friday, April 08, 2005 12:20 AM
                          > >>To: Bill Guindon
                          > >>Cc: Merchant Coders
                          > >>Subject: RE: [mrc] Miva welcomes James Harrell
                          > >>
                          > >>
                          > >>... and why not being able to read directory content .. and
                          > >>why not having a function to delete a directory recursively
                          > >>and why not having a function to delete the content of a
                          > >>directory..:|
                          > >>
                          > >>.. and my congrats to James too :)
                          > >>
                          > >>Claudiu Bischoff
                          > >>
                          > >>-----Original Message-----
                          > >>From: [email protected]
                          > >>[mailto:[email protected]]On Behalf Of Bill Guindon
                          > >>Sent: vendredi 8 avril 2005 05:01
                          > >>To: Ivo Truxa
                          > >>Cc: Merchant Coders
                          > >>Subject: Re: [mrc] Miva welcomes James Harrell
                          > >>
                          > >>
                          > >>On Apr 7, 2005 10:01 PM, Ivo Truxa <[email protected]> wrote:
                          > >>
                          > >>>My congratulations to James!
                          > >>>
                          > >>>Btw, what happened to the previous Director of Software
                          > >>
                          > >>Development?
                          > >>
                          > >>>Is Burch no more at Miva, and no more making any development? Are
                          > >>>there other developers who left? Will Miva Script still exist in
                          > >>>future, or will James force porting Merchant into PHP and finally
                          > >>>killing Miva Script? I believe he is more a C and PHP
                          > >>
                          > >>developer than a
                          > >>
                          > >>>Miva Script coder
                          > >>>
                          > >>>(Well, I do not expect that anyone really answers my
                          > >>
                          > >>questions, but I
                          > >>
                          > >>>ask
                          > >>>anyway)
                          > >>>
                          > >>
                          > >>My hope would be that he'd use his PHP and C experience to
                          > >>make Miva a much better language.
                          > >>
                          > >>If I'm right, here's a couple suggestions... stop being so verbose!
                          > >>
                          > >>Why "miva_array_max"? Do you plan to add a
                          > >>"coldfusion_array_max" and needed to avoid the name clash?
                          > >>
                          > >>Why does MvIF require an "Expr="? Why not simply <MvIF "{
                          > >>braces optional }">
                          > >>
                          > >>Why STANDARDOUTPUTLEVEL and ERROROUTPUTLEVEL? How about
                          > >>OUTLEVEL and ERRLEVEL?
                          > >>
                          > >>When you've replaced (and/or aliased) those, and a few
                          > >>others, we can discuss better ways to build dynamic
                          > >>structures... as ugly as this is, it beats the "standard"
                          > >>method of building multi-member/multi-array structures (which
                          > >>I have _never_ used):
                          > >>
                          > >><MvASSIGN NAME="{'l.dict:page[' $ l.page $ ']:word[' $
                          > >>l.count $ ']'}" VALUE="{l.words[l.count]}">
                          > >>
                          > >>Just trying to give James a little job security by keeping
                          > >>him busy ;-)
                          > >>
                          > >>--
                          > >>Bill Guindon (aka aGorilla)
                          >
                          >

                          Comment


                            #28
                            changed to 'Conditionals'



                            Hello Tom,

                            T> One thing that I'm really, really wondering is: will Merchant v5 provide the
                            T> conditionals and control that were provided by the combination of Merchant v4
                            T> and OpenUI? Everything from basics (conditional login/acct links) to some of
                            T> the more complex manipulation we've seen used from time to time.

                            Some know that for various reasons I started with OUI very late and
                            and only recently, and have been caught-up quickly. You were the only
                            one to ever answer a question for me on the OUI forum. Thanks BTW. It
                            got me over the hump to the level I'm at. Chuck Lasker is the other to
                            get me up-to-speed -- off line.

                            I haven't started in the OUI language (ie %BEGIN%, etc) for various reasons; so I really don't
                            know it yet. But, with what I surmised at the conf about V5, there
                            will still be MivaScript. I've assumed that one would only need to
                            know MivaScript and how to apply it in V5. Probably a compiler will be
                            required. I think I remember something about a
                            template/language/command structure -- what I classified as an
                            extension of sorts to MivaScript/Merchant API combination.

                            Perhaps I have a clue about this or at least on the right track? But,
                            Maybe I'm way out in left field (I don't like baseball since 1994).

                            FWIW,

                            Scott
                            IDS



                            Comment


                              #29
                              MvFuncList (was RE: Miva welcomes James Harrell_



                              Bill,

                              It would be awesome if this could also support .mvi extensions, as used with
                              Darren's MVP Preprocessor.

                              I've never heard of Ruby before...are we talking about this?
                              <A HREF ="http://www.ruby-lang.org/en/ If so, I want to read more about it. Thanks!">http://www.ruby-lang.org/en/ If so, I want to read more about it. Thanks!</A>

                              --S

                              Susan Petracco
                              [email protected]
                              NetBlazon
                              E-Business for Every Business

                              > -----Original Message-----
                              > From: [email protected]
                              > [mailto:[email protected]] On Behalf Of Bill Guindon
                              > Sent: Friday, April 08, 2005 2:22 PM
                              > To: Adam Denning
                              > Cc: Ivo Truxa; Merchant Coders
                              > Subject: Re: [mrc] Miva welcomes James Harrell
                              >
                              > On Apr 8, 2005 1:48 PM, Adam Denning <[email protected]> wrote:
                              > > Bill,
                              > >
                              > > Just one comment on your thoughts below. If we don't get
                              > concise naming
                              > > conventions, you could roll your own using a preprocessor
                              > pretty easily.
                              > > Internally, we use a program called ppwizard. It's open source. Ruby
                              > > guys like you would dig it ;)
                              >
                              > I'll definitely take a look at it. I've been playing with ideas for
                              > preprocessors. Of course, that wouldn't help on the readability side,
                              > only on the typing side, and I honestly don't remember the last time I
                              > typed a miva tag :)
                              >
                              > And since you brought up Ruby, might as well let you all know about a
                              > little toy I built with it for Miva files. It reads .mv files, and
                              > gives you a list of all the functions, their parameters, and the line
                              > range. You can get a copy of it here:
                              > http://bg.mivascript.org/MvFuncList/
                              >
                              > > It sure will be interesting to see how James background in the open
                              > > source and PHP world influences the direction of Miva development.
                              > >
                              > > --
                              > >
                              > > Adam
                              > > http://vikingcoders.com
                              > >
                              > > Bill Guindon wrote:
                              > > > On Apr 7, 2005 10:01 PM, Ivo Truxa <[email protected]> wrote:
                              > > >
                              > > >>My congratulations to James!
                              > > >>
                              > > >>Btw, what happened to the previous Director of Software
                              > Development? Is
                              > > >>Burch no more at Miva, and no more making any
                              > development? Are there other
                              > > >>developers who left? Will Miva Script still exist in
                              > future, or will James
                              > > >>force porting Merchant into PHP and finally killing Miva
                              > Script? I believe
                              > > >>he is more a C and PHP developer than a Miva Script coder
                              > > >>
                              > > >>(Well, I do not expect that anyone really answers my
                              > questions, but I ask
                              > > >>anyway)
                              > > >>
                              > > >
                              > > >
                              > > > My hope would be that he'd use his PHP and C experience
                              > to make Miva a
                              > > > much better language.
                              > > >
                              > > > If I'm right, here's a couple suggestions... stop being
                              > so verbose!
                              > > >
                              > > > Why "miva_array_max"? Do you plan to add a
                              > "coldfusion_array_max" and
                              > > > needed to avoid the name clash?
                              > > >
                              > > > Why does MvIF require an "Expr="? Why not simply <MvIF
                              > "{ braces optional }">
                              > > >
                              > > > Why STANDARDOUTPUTLEVEL and ERROROUTPUTLEVEL? How about
                              > OUTLEVEL and ERRLEVEL?
                              > > >
                              > > > When you've replaced (and/or aliased) those, and a few
                              > others, we can
                              > > > discuss better ways to build dynamic structures... as
                              > ugly as this is,
                              > > > it beats the "standard" method of building
                              > multi-member/multi-array
                              > > > structures (which I have _never_ used):
                              > > >
                              > > > <MvASSIGN NAME="{'l.dict:page[' $ l.page $ ']:word[' $
                              > l.count $ ']'}"
                              > > > VALUE="{l.words[l.count]}">
                              > > >
                              > > > Just trying to give James a little job security by
                              > keeping him busy ;-)
                              > > >
                              > >
                              > > --
                              > >
                              > > Adam
                              > > http://vikingcoders.com
                              > >
                              >
                              >
                              > --
                              > Bill Guindon (aka aGorilla)
                              >
                              >

                              Comment

                              Working...
                              X