View Poll Results: Do you feel that there's a lack of reference materials to help you develope?

4. You may not vote on this poll
  • Yes

    3 75.00%
  • No

    1 25.00%
Results 1 to 3 of 3
  1. #1
    Junior Member
    Join Date
    Aug 2005

    Default Miva IF Statement Syntax

    Hi everyone,
    I'm new with Miva and I'm trying to find information on how to write code that adheres to Miva's syntax. I'd like to display a welcome message to the customer with their first name IF they have logged on. If they haven't logged on, then it'll just display the "Sign-In" link.

    I tried backwards engineering the code by looking at established Miva IF statements. I'm having problems understanding the conditional equations that begin the IF statements.

    Any help will be most appreciated!

  2. #2
    Senior Member rispku's Avatar
    Join Date
    Mar 2005


    For what it's worth, Merchant 5 can already do that.

    You need to add the 'Customer Link" item to the page you intend to display this on, and then add the following code where you want the link/welcome message to be displayed:

    <mvt:item name="customerlink" />

    You can edit the messages in the store edit/configuration area (Stores->storename).

  3. #3
    Junior Member
    Join Date
    Aug 2005

    Default Miva IF Statement

    I managed to reverse engineer the demo store for the log-in issue I had, but in general, the Miva IF statement begins with an open tag with some sort of conditional equation within quotations. Where does it get the variable names and what are the operands to construct these equations? And how may I create user defined variables to be used in these equations?

    Thanks for the reply, rispku,

Similar Threads

  1. MIVA 5 & Google Check-out
    By Chucky222 in forum Miva Merchant
    Replies: 3
    Last Post: 12-08-2007, 02:39 PM
  2. Miva 4 to Miva 5 upgrade problems Did this happen to you?
    By brady9111 in forum Miva Merchant
    Replies: 3
    Last Post: 05-25-2007, 10:11 AM
  3. MIVA 5 simple question needs answering. Please assist.
    By proaudiogear4less in forum Miva Merchant
    Replies: 2
    Last Post: 02-07-2006, 12:35 PM
  4. Miva Merchant Shopping Cart Down
    By zestgourmet in forum Miva Merchant
    Replies: 6
    Last Post: 03-16-2004, 08:40 PM
  5. Select statement syntax
    By lphillippi in forum PHP / MySQL
    Replies: 3
    Last Post: 10-14-2003, 07:45 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts