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




  • 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
    [email protected]
    Office: 760-742-1469
    Cell: 760-445-8454
    =20



    -----Original Message-----
    From: [email protected]
    [mailto:[email protected]] On Behalf Of
    Jason Henderson
    Sent: Thursday, May 05, 2005 3:26 PM
    To: [email protected]
    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


    • 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
      [email protected]
      Office: 760-742-1469
      Cell: 760-445-8454




      -----Original Message-----
      From: [email protected]
      [mailto:[email protected]] On Behalf Of
      Jason Henderson
      Sent: Thursday, May 05, 2005 3:26 PM
      To: [email protected]
      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

      This website uses cookies to identify visitors, track visitors to our website, store login session information and to remember your user preferences. By continuing to use this site you agree to our use of cookies. Learn More.

      This website uses cookies. By continuing to use this site you agree to our use of cookies. Learn More.

      Accept