Closed mbrather closed 1 year ago
Thanks a lot!
It's almost perfect but the column is optional and the setTimeframe()
method allows only string and no null
values. Therefore, can you change your added line to:
->setTimeframe( $this->val( $entry, 4, '' ) )
It uses an empty string as default value if no corresponding column is in the CSV file.
Perfect! :-)
Forum post "Stock Import // Timeframe"