• Resolved Aprowler

    (@aprowler)


    I saw the code at another topic which is
    [IF({saleprice[1][.=”0,00″]})][ELSE]{saleprice[1]}[ENDIF]

    My value is sale price (promotional price) is .00
    when it is .00 I want to leave empty sale price
    I tried this
    [IF({promopricec[1][.=”.00″]})][ELSE]{promopricec[1]}[ENDIF]

    if there is promo price its ok its worked
    but when it hasnt, it shows 0.00 at product sale price

    What is the problem at the code? Thanks

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

    (@wpallimport)

    Hi @aprowler,

    I’m not sure if the forum changes the quotes in your function example, but when I switched to the correct quotation marks it worked fine for me:

    [IF({promopricec[1][.=".00"]})][ELSE]{promopricec[1]}[ENDIF]

    If that doesn’t work, please replicate the issue on a sandbox site at https://www.wpallimport.com/debug/ and open a support request at https://www.wpallimport.com/support/ with the sandbox site URL and a brief description of the issue. We’ll need to run tests with your data to advise further.

Viewing 1 replies (of 1 total)
  • The topic ‘If statement with .00 value’ is closed to new replies.