Can I provide you PHP code of rules/conditions on feed attributes?
Yes, you can provide PHP code of feed data transformation rules to apply to your data feeds.
It is not possible to enter the code directly into our system, for obvious security reasons. However, you are welcome to email the code to us and we can plug it in for you.
There is a custom row transform function that runs once the feed data is generated. It takes a $row
parameter which is an array that contains every field in the feed listed on the Define Fields page, as well as any raw data field listed in Analzye Source Data page.
Here's a common example:
if($row['mpn'] == '') { $row['mpn'] = $row['id']; }
Feel free to use any PHP code. We will review it and let you know if there is anything off-limits.
The Standard feed plan can accommodate about a page worth of basic rules. If the rules are going to be very complex, we might ask you to upgrade to a Custom feed.