Title: CSV export fails when titles contain #
Last modified: October 25, 2024

---

# CSV export fails when titles contain #

 *  [joepske83](https://wordpress.org/support/users/joepske83/)
 * (@joepske83)
 * [1 year, 6 months ago](https://wordpress.org/support/topic/csv-export-fails-when-titles-contain/)
 * Hi guys, thanks for the plugin.
 * The export fails when the title of some product contains a #.
 * The solutions would be this script in the export csv function:
 *     ```wp-block-code
       filename = 'stock-manager-export.csv';							let blob = new Blob([csv], { type: 'text/csv;charset=utf-8;' });link = document.createElement('a');link.setAttribute('href', URL.createObjectURL(blob));link.setAttribute('download', filename);link.click();
       ```
   

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Plugin Support [storeapps-support](https://wordpress.org/support/users/storeappsorg/)
 * (@storeappsorg)
 * [1 year, 5 months ago](https://wordpress.org/support/topic/csv-export-fails-when-titles-contain/#post-18099620)
 * [@joepske83](https://wordpress.org/support/users/joepske83/)
 * Thank you for highlighting this issue and providing a fix for it.
 * We’ve reviewed the issue and can reproduce the export error when a product title
   includes a ‘#’. With the script you shared, we’re able to resolve this smoothly.
   We’ll go ahead and apply this fix in the upcoming release.
 * Thanks again for sharing the solution and helping us improve the plugin!
 *  Plugin Support [storeapps-support](https://wordpress.org/support/users/storeappsorg/)
 * (@storeappsorg)
 * [1 year, 5 months ago](https://wordpress.org/support/topic/csv-export-fails-when-titles-contain/#post-18160900)
 * [@joepske83](https://wordpress.org/support/users/joepske83/)
 * We have released a new update to the plugin i.e., v3.2.0 which consists of a 
   fix for the ‘CSV export fails when WooCommerce Product title contains ‘#’’ along
   with other important updates and fixes.
 * Request you to update the plugin to the latest version and let us know your views.
   Thank you once again for the solution you provided!

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘CSV export fails when titles contain #’ is closed to new replies.

 * ![](https://ps.w.org/woocommerce-stock-manager/assets/icon-256x256.png?rev=2354654)
 * [Stock Manager for WooCommerce](https://wordpress.org/plugins/woocommerce-stock-manager/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/woocommerce-stock-manager/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/woocommerce-stock-manager/)
 * [Active Topics](https://wordpress.org/support/plugin/woocommerce-stock-manager/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/woocommerce-stock-manager/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/woocommerce-stock-manager/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [storeapps-support](https://wordpress.org/support/users/storeappsorg/)
 * Last activity: [1 year, 5 months ago](https://wordpress.org/support/topic/csv-export-fails-when-titles-contain/#post-18160900)
 * Status: not resolved