How to fix importing csv file issue when SKUs have character "–"

Created by Robin Hoang, Modified on Fri, 27 Oct 2017 at 04:54 PM by Robin Hoang

Question:

I am unable to import CSV file. It shows error even all the SKUs are got from the products on the site.


Answer:

We assume that the cause of the issue is due to your SKUs include a special character as "–" instead of "-". 

Hence, please edit this file: var/www/.../vendor/bsscommerce/fast-order/Controller/Index/Csv.php - add line 139: $arrLine[0] = str_replace('�',"–",mb_convert_encoding($arrLine[0], "HTML-ENTITIES", "UTF-8"));


For more information about product, please refer Magento 2 Wholesale Fast Order page.

If you need any further assistance, please feel free to contact us.

Please visit our site for more useful Magento 2 Extensions: https://bsscommerce.com/magento-2-extensions.html

Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select atleast one of the reasons

Feedback sent

We appreciate your effort and will try to fix the article