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

Created by Support Agent, Modified on Wed, 8 Apr at 10:11 AM by Support Agent

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.


Get to know us


BSS Commerce is a full-service ecommerce agency with 14+ years of experience, supporting 75,000+ customers worldwide. As an Adobe Commerce Solution Bronze Partner and Select Magento Extensions Builder, we deliver trusted end-to-end solutions.


Our core strength is Magento, with 150+ extensions designed to enhance store performance and drive growth. With deep expertise from years of working on Magento websites, we deliver scalable, high-impact solutions backed by strong client trust.


Explore our most powerful extensions:

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 at least one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article