• Resolved juriix

    (@juriix)


    Hello,
    can you advise how to combine these two rules?

    Separately, this filtering works fine:

    /node[translate(price[1], “CZK”, “” ) >= 200.00]?

    /node[sale_price[1][string()]]

    I tried this but it doesn’t work:

    /node[translate(price[1], “CZK”, “” ) >= 200.00] and [sale_price[1][string()]]

    Thank you.

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

    (@wpallimport)

    Hi @juriix,

    This is untested, but it should work if you remove the bracket before “sale_price”, like so:

    /node[translate(price[1], 'CZK', '') >= 200.00 and sale_price[1][string()]]
    Thread Starter juriix

    (@juriix)

    Hello,

    Looks like it’s working.

    Thank you.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Filter price and Sale price’ is closed to new replies.