PHP replace command
-
I have WP All Import Pro!
Ik want to replace a tekst in 3 of the field in the downloaded XML.I created a PHP entry in the import-definition like
<?php
[str_replace(“Dames “, “”, fields[1]/CategorieOmschrijving[1])]
[str_replace(“Dames “, “”, fields[1]/ShopOmschrijving[1])]
[str_replace(“Dames “, “”, fields[1]/KenmerkadviseurOmschrijving[1])]
?>For some kind of reason this doesn’t work
Example: fieldvalue ‘Dames Schoenen’ should be ‘Schoenen’
I don’t want to use ‘mapping’ because there are 100+ possible value’sPlease help
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘PHP replace command’ is closed to new replies.