Announcement

Collapse
No announcement yet.

Conditional Tokens

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

    Conditional Tokens



    Where can one read about tokens/conditionals/etc for mm5? I need to
    duplicate the following:

    %IF(g.PaymentMethod EQ 'BROK_PAYPAL:PayPal')%
    Good pig!

    %ELSE%
    Bad Pig!
    %IFEND%

    Jason




    #2
    Conditional Tokens



    <mvt:if expr=3D"g.PaymentMethod EQ 'BROK_PAYPAL:PayPal'">
    Good pig!
    <mvt:else />
    Bad pig!
    </mvt:if>

    I hope that helps.

    - Jeff Huber
    President, 4TheBest eCommerce Solutions
    http://4TheBest.com
    jeff@4TheBest.com
    Office: 760-742-1469
    Cell: 760-445-8454
    =20



    -----Original Message-----
    From: owner-merchant5-users@listmgr.miva.com
    [mailto:owner-merchant5-users@listmgr.miva.com] On Behalf Of
    Jason Henderson
    Sent: Thursday, May 05, 2005 3:26 PM
    To: merchant5-users@listmgr.miva.com
    Subject: [m5u] Conditional Tokens


    Where can one read about tokens/conditionals/etc for mm5? I need
    to
    duplicate the following:

    %IF(g.PaymentMethod EQ 'BROK_PAYPAL:PayPal')%
    Good pig!

    %ELSE%
    Bad Pig!
    %IFEND%

    Jason



    Comment


      #3
      Conditional Tokens



      Yes, that helps alot with other things. Can't use paypal right now, but
      that will work for some other stuff. thanks

      Jason


      <mvt:if expr="g.PaymentMethod EQ 'BROK_PAYPAL:PayPal'">
      Good pig!
      <mvt:else />
      Bad pig!
      </mvt:if>

      I hope that helps.

      - Jeff Huber
      President, 4TheBest eCommerce Solutions
      http://4TheBest.com
      jeff@4TheBest.com
      Office: 760-742-1469
      Cell: 760-445-8454




      -----Original Message-----
      From: owner-merchant5-users@listmgr.miva.com
      [mailto:owner-merchant5-users@listmgr.miva.com] On Behalf Of
      Jason Henderson
      Sent: Thursday, May 05, 2005 3:26 PM
      To: merchant5-users@listmgr.miva.com
      Subject: [m5u] Conditional Tokens


      Where can one read about tokens/conditionals/etc for mm5? I need
      to
      duplicate the following:

      %IF(g.PaymentMethod EQ 'BROK_PAYPAL:PayPal')%
      Good pig!

      %ELSE%
      Bad Pig!
      %IFEND%

      Jason



      Comment

      Working...
      X