How to create conditions

Pending
ImportWP Pro - WordPress XML & CSV Importer ImportWP Pro - WordPress XML & CSV Importer November 16, 2021
Login to reply
James Collings Support Agent
2 years ago

I would recommend creating a function that takes in 4 or how many arguments you require, each argument will be a cell in the row that you want to use, checking through each one untill it finds a valid one, example code:

https://pastebin.com/3VLBJZEd

example field value:

[iwp_33228_conditional_check("{1}","{2}","{3}","{39}")]

MIhail Mihaylov
2 years ago

Hello,

I want to create a condition for my product name. So lets say for na example, i want my product name to be taken from rows {1} {2} and {3} from my CSV file, but i want if those rows are empty, the name to be takken from row {39}.

Is that possible ? 

Thank you :)