• Resolved l.kovich

    (@lkovich)


    Hello all,
    I am importing a CSV file which has data with prices and some of them are zeros (0). I would like to replace those with a text ‘Call for price’.

    Tried:
    [IF({price[is(‘0’)]})]Call for Price[ELSE]${price[1]}[ENDIF]

    however it is not working. What am I doing wrong?
    Everthing else is awesome. Great plugin.
    Thanks

    https://wordpress.org/plugins/wp-all-import/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author WP All Import

    (@wpallimport)

    Hi l.kovich.

    Here’s how you can do that: [IF({price[.=’0′]})]Call for Price[ELSE]${price[1]}[ENDIF]

    Thread Starter l.kovich

    (@lkovich)

    Worked perfectly. Thank you.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘IF statement’ is closed to new replies.