\n for every line in product description
-
Hi,
Why does woocommerce put \n for every line in the product description, as this is not needed i think?
I can remove them with an export import in woocommerce. but when changing a product it puts the \n again everywhere?Thanks in advance
-
I mean in the product export csv.
Hello,
Is this happening with every product that is imported? That sounds like the products are being imported from an external source (e.g. another supplier page) please correct me if I am wrong.
To clarify, can you tell me how the products are being added to your site?
To check much better into this, please provide the following information:
Could you please share a copy of your site’s System Status? You can find it via
WooCommerce > Status
. Select “Get system report” and then “Copy for support”.?Error Log: Share a copy of any fatal error log found under
WooCommerce > System Status > Logs
(if any).Thanks ??
Hi,
I just do an standard product export in woocommerce. Open it in notepad++ and then i see the \n everywhere at the start of almost every line. When i import the same file, and then export again and open it in notepad++ there are now two: \n\n
No external sources or plugins used. i added status below code and no error logs.
I now removed all \n and imported, after that export with only id,sku,description and open in notepad++ and it differs per product, one only has now \n before normal text, other has \n before every line as you can see???:or this:
2685,adibgs01,"<h2>Zwarte adidas zakhandschoenen</h2> \nDe response zakhandschoenen van Adidas zijn gemaakt van kunstleder. Een goede padding zorgt dat je handen tot het uiterste beschermd worden. Deze response zakhandschoenen zijn ideaal om te trainen op een bokszak, bokspaal of pad en hebben een zeer scherpe prijs. \nVerkrijgbaar in de maten S/M en L/XL. <h3>Plus- en minpunten</h3> <img class=""filter-green-product"" role=""img"" src=""https://www.fightplaza.nl/wp-content/uploads/2021/12/happy.svg"" alt="""" width=""20"" height=""20"" />Goede prijs/kwaliteit verhouding <img class=""filter-green-product"" role=""img"" src=""https://www.fightplaza.nl/wp-content/uploads/2021/12/happy.svg"" alt="""" width=""20"" height=""20"" />Optimaal draagcomfort <img class=""filter-green-product"" role=""img"" src=""https://www.fightplaza.nl/wp-content/uploads/2021/12/happy.svg"" alt="""" width=""20"" height=""20"" />Gemaakt van hoogwaardig kunstleder <h3>Kenmerken</h3> <ul> <li>Kleur: zwart, wit</li> <li>Materiaal: kunstleder</li> <li>Vulling: foam padding </li> <li>Sluiting: klittenbandsluiting</li> </ul> <h3>WELKE MAAT HANDSCHOENEN HEB IK NODIG?</h3> <ul> <li>XS: kleine kinderhand</li> <li>S: kinderhanden, kleine dameshand</li> <li>M: dameshand, kleine herenhand</li> <li>L: normale herenhand</li> <li>XL: grote herenhand</li> <li>XXL: zeer grote herenhand</li> </ul> <h3>Tips</h3> <ul> <li>Gebruik binnenhandschoenen of bandages voor extra bescherming van uw handen.</li> </ul>"
or this:
2983,t11,"<h2>Mma handschoenen van Tuf wear</h2> \nDe Tuf Wear pro vingerloze MMA bokszakhandschoenen zijn gemaakt van leer en zijn ideaal voor zowel MMA-training als bokszaktraining. De handschoenen hebben een open duim voor extra ventilatie en een perfecte padding. De klittenbandsluiting zorgt voor extra comfort en steun voor uw polsen. Aan de binnenzijde zit een grippunt. \n \nVerkrijgbaar in de maten S, M , L, en XL. \n<h3>Plus- en minpunten</h3> \n<img class=""filter-green-product"" role=""img"" src=""https://www.fightplaza.nl/wp-content/uploads/2021/12/happy.svg"" alt="""" width=""20"" height=""20"" />Gemaakt van hoogwaardig leder<img class=""filter-green-product"" role=""img"" src=""https://www.fightplaza.nl/wp-content/uploads/2021/12/happy.svg"" alt="""" width=""20"" height=""20"" />Dikke padding<img class=""filter-green-product"" role=""img"" src=""https://www.fightplaza.nl/wp-content/uploads/2021/12/happy.svg"" alt="""" width=""20"" height=""20"" />Perfecte pasvorm<img class=""filter-green-product"" role=""img"" src=""https://www.fightplaza.nl/wp-content/uploads/2021/12/happy.svg"" alt="""" width=""20"" height=""20"" />Extra polssteun<h3>Kenmerken</h3> \n<ul> \n<li>Kleur: zwart, rood</li> \n<li>Materiaal: leder</li> \n<li>Vulling: foam</li> \n<li>Sluiting: stevige lange velcro klittenbandsluiting</li> \n</ul> \n<h3>Welke maat handschoenen heb ik nodig?</h3> \n<ul> \n<li>XS: kleine kinderhand</li> \n<li>S: kinderhanden, kleine dameshand</li> \n<li>M: dameshand, kleine herenhand</li> \n<li>L: normale herenhand</li> \n<li>XL: grote herenhand</li> \n<li>XXL: zeer grote herenhand</li> \n</ul> \n<h3>Tips</h3> \n<ul> \n<li>Gebruik binnenhandschoenen of bandages voor extra bescherming van uw handen.</li> \n</ul>"
### WordPress Environment ### WordPress address (URL): https://www.fightplaza.nl Site address (URL): https://www.fightplaza.nl WC Version: 6.3.1 REST API Version: ? 6.3.1 WC Blocks Version: ? 6.9.0 Action Scheduler Version: ? 3.4.0 WC Admin Version: ? 3.2.1 Log Directory Writable: ? WP Version: 5.9.3 WP Multisite: – WP Memory Limit: 2 GB WP Debug Mode: – WP Cron: ? Language: nl_NL External object cache: – ### Server Environment ### Server Info: Apache/2.4.25 (Debian) PHP Version: 7.4.28 PHP Post Max Size: 50 MB PHP Time Limit: 600 PHP Max Input Vars: 5000 cURL Version: 7.52.1 OpenSSL/1.0.2u SUHOSIN Installed: – MySQL Version: 5.7.34-log Max Upload Size: 50 MB Default Timezone is UTC: ? fsockopen/cURL: ? SoapClient: ? DOMDocument: ? GZip: ? Multibyte String: ? Remote Post: ? Remote Get: ? ### Database ### WC Database Version: 6.3.1 WC Database Prefix: wp_ Total Database Size: 310.98MB Database Data Size: 189.42MB Database Index Size: 121.56MB wp_woocommerce_sessions: Data: 1.52MB + Index: 0.02MB + Engine InnoDB wp_woocommerce_api_keys: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_woocommerce_attribute_taxonomies: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_woocommerce_downloadable_product_permissions: Data: 0.02MB + Index: 0.06MB + Engine InnoDB wp_woocommerce_order_items: Data: 2.52MB + Index: 0.47MB + Engine InnoDB wp_woocommerce_order_itemmeta: Data: 12.52MB + Index: 10.03MB + Engine InnoDB wp_woocommerce_tax_rates: Data: 0.02MB + Index: 0.06MB + Engine InnoDB wp_woocommerce_tax_rate_locations: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_woocommerce_shipping_zones: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_woocommerce_shipping_zone_locations: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_woocommerce_shipping_zone_methods: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_woocommerce_payment_tokens: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_woocommerce_payment_tokenmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_woocommerce_log: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_actionscheduler_actions: Data: 4.41MB + Index: 5.31MB + Engine InnoDB wp_actionscheduler_claims: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_actionscheduler_groups: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_actionscheduler_logs: Data: 2.44MB + Index: 3.02MB + Engine InnoDB wp_adtribes_my_conversions: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_bv_fw_requests: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_bv_ip_store: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_bv_lp_requests: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_cartflows_ca_cart_abandonment: Data: 1.52MB + Index: 0.05MB + Engine InnoDB wp_cartflows_ca_email_history: Data: 0.06MB + Index: 0.06MB + Engine InnoDB wp_cartflows_ca_email_templates: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_cartflows_ca_email_templates_meta: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_commentmeta: Data: 0.30MB + Index: 0.30MB + Engine InnoDB wp_comments: Data: 10.52MB + Index: 9.09MB + Engine InnoDB wp_ee_products_sync_list: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_ee_product_sync_call: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_ee_product_sync_data: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_ee_product_sync_profile: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_ee_prouct_pre_sync_data: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_links: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_mollie_pending_payment: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_ms_snippets: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_options: Data: 6.16MB + Index: 1.13MB + Engine InnoDB wp_pay_options: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_pay_option_subs: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_pay_transactions: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_postmeta: Data: 118.64MB + Index: 77.22MB + Engine InnoDB wp_posts: Data: 12.52MB + Index: 3.72MB + Engine InnoDB wp_rank_math_404_logs: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_rank_math_analytics_gsc: Data: 0.02MB + Index: 0.06MB + Engine InnoDB wp_rank_math_analytics_keyword_manager: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_rank_math_analytics_objects: Data: 0.23MB + Index: 0.08MB + Engine InnoDB wp_rank_math_internal_links: Data: 0.27MB + Index: 0.11MB + Engine InnoDB wp_rank_math_internal_meta: Data: 0.08MB + Index: 0.00MB + Engine InnoDB wp_rank_math_redirections: Data: 0.05MB + Index: 0.02MB + Engine InnoDB wp_rank_math_redirections_cache: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_shortpixel_folders: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_shortpixel_meta: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_snippets: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_social_users: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_termmeta: Data: 0.22MB + Index: 0.14MB + Engine InnoDB wp_terms: Data: 0.06MB + Index: 0.03MB + Engine InnoDB wp_term_relationships: Data: 1.52MB + Index: 1.52MB + Engine InnoDB wp_term_taxonomy: Data: 0.06MB + Index: 0.06MB + Engine InnoDB wp_tm_taskmeta: Data: 0.05MB + Index: 0.03MB + Engine InnoDB wp_tm_tasks: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_trp_dictionary_nl_nl_en_us: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_trp_gettext_nl_nl: Data: 0.20MB + Index: 0.14MB + Engine InnoDB wp_usermeta: Data: 4.52MB + Index: 4.03MB + Engine InnoDB wp_users: Data: 0.23MB + Index: 0.20MB + Engine InnoDB wp_wcpdf_invoice_number: Data: 0.17MB + Index: 0.00MB + Engine InnoDB wp_wcpdf_packing_slip_number: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_wc_admin_notes: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_wc_admin_note_actions: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_wc_category_lookup: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_wc_customer_lookup: Data: 0.38MB + Index: 0.23MB + Engine InnoDB wp_wc_download_log: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_wc_order_coupon_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_wc_order_product_lookup: Data: 1.52MB + Index: 0.63MB + Engine InnoDB wp_wc_order_stats: Data: 0.50MB + Index: 0.36MB + Engine InnoDB wp_wc_order_tax_lookup: Data: 0.31MB + Index: 0.25MB + Engine InnoDB wp_wc_product_attributes_lookup: Data: 1.52MB + Index: 0.91MB + Engine InnoDB wp_wc_product_meta_lookup: Data: 1.52MB + Index: 0.67MB + Engine InnoDB wp_wc_rate_limits: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_wc_reserved_stock: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_wc_tax_rate_classes: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_wc_webhooks: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_woobe_history: Data: 1.52MB + Index: 0.58MB + Engine InnoDB wp_woobe_history_bulk: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_woocommerce_bundled_itemmeta: Data: 0.22MB + Index: 0.22MB + Engine InnoDB wp_woocommerce_bundled_items: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_wpforms_tasks_meta: Data: 0.06MB + Index: 0.00MB + Engine InnoDB wp_yith_wcwl: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_yith_wcwl_lists: Data: 0.02MB + Index: 0.05MB + Engine InnoDB ### Post Type Counts ### attachment: 4179 blocks: 39 custom_css: 1 language_switcher: 3 nav_menu_item: 144 oembed_cache: 19 page: 32 post: 32 postman_sent_mail: 250 product: 1286 product_variation: 3231 revision: 32 shop_coupon: 1 shop_order: 5534 shop_order_refund: 485 sidebar: 3 wafs: 1 wp_global_styles: 1 wpforms: 3 ### Security ### Secure connection (HTTPS): ? Hide errors from visitors: ? ### Active Plugins (33) ### Antispam Bee: by pluginkollektiv – 2.11.0 Better Search Replace: by Delicious Brains – 1.4 bunny.net: by bunny.net – 1.0.8 Betaalpoort-gebaseerde vergoedingen en kortingen voor WooCommerce: by Tyche Softwares – 2.6.4 Classic Editor: by WordPress Contributors – 1.6.2 Code Snippets: by Code Snippets Pro – 2.14.3 Cost of Goods for WooCommerce: by WPFactory – 2.5.4 Filester - File Manager Pro: by Ninja Team – 1.7.4 Loco Translate: by Tim Whitlock – 2.6.1 Mollie Payments for WooCommerce: by Mollie – 7.0.4 Nextend Social Login: by Nextendweb – 3.1.4 Post SMTP: by Post SMTP – 2.0.25 Lazy Load - Optimaliseer afbeeldingen: by WP Rocket – 2.3.4 Safe SVG: by 10up – 2.0.0 Rank Math SEO PRO: by Rank Math – 3.0.10.1 Rank Math SEO: by Rank Math – 1.0.87 ShortPixel Image Optimizer: by ShortPixel – 4.22.9 WooCommerce NL Postcode Checker: by WP Overnight – 2.8.4 WooCommerce Weight Based Shipping: by weightbasedshipping.com – 5.3.20 WooCommerce Cart Abandonment Recovery: by CartFlows Inc – 1.2.14 WPC Product Bundles for WooCommerce (Premium): by WPClever – 6.1.0 Product Feed ELITE for WooCommerce: by AdTribes.io – 3.4.3 Billink - Achteraf Betalen: by Tussendoor internet & marketing – 2.1.4 BEAR – Bulk Editor and Products Manager Professional for WooCommerce: by realmag777 – 2.1.1 WooCommerce PDF Invoices & Packing Slips: by WP Overnight – 2.14.4 WooCommerce Pixel Manager (Premium): by SweetCode – 1.16.7 WooCommerce Product Variations Swatches Premium: by VillaTheme – 1.0.8 WooCommerce Wholesale Prices: by Rymera Web Co – 2.0.2 WooCommerce: by Automattic – 6.3.1 (update to version 6.4.0 is available) WooSidebars: by WooCommerce – 1.4.6 WP Crontrol: by John Blackbourn & crontributors – 1.12.0 WP-Optimize - Clean, Compress, Cache: by David Anderson Ruhani Rabin Team Updraft – 3.2.3 WPForms Lite: by WPForms – 1.7.3 ### Inactive Plugins (2) ### WooCommerce Parcel Pro: by Parcel Pro – 1.5.36 WooCommerce Pixel Manager: by SweetCode – 1.16.7 ### Dropin Plugins (1) ### advanced-cache.php: advanced-cache.php ### Settings ### API Enabled: ? Force SSL: ? Currency: EUR (€) Currency Position: left Thousand Separator: . Decimal Separator: , Number of Decimals: 2 Taxonomies: Product Types: bundle (bundle) external (external) grouped (grouped) simple (simple) variable (variable) woosb (woosb) Taxonomies: Product Visibility: exclude-from-catalog (exclude-from-catalog) exclude-from-search (exclude-from-search) featured (featured) outofstock (outofstock) rated-1 (rated-1) rated-2 (rated-2) rated-3 (rated-3) rated-4 (rated-4) rated-5 (rated-5) Connected to WooCommerce.com: – ### WC Pages ### Shop base: #63 - /shop/ Cart: #62 - /winkelmand/ Checkout: #61 - /afrekenen/ My account: #60 - /my-account/ Terms and conditions: #303 - /algemene-voorwaarden/ ### Theme ### Name: flatsome-child Version: 3.0 Author URL: Child Theme: ? Parent Theme Name: Flatsome Parent Theme Version: 3.15.4 Parent Theme Author URL: https://www.uxthemes.com/ WooCommerce Support: ? ### Templates ### Overrides: flatsome/woocommerce/archive-product.php flatsome/woocommerce/cart/cart-empty.php flatsome/woocommerce/cart/cart-shipping.php flatsome/woocommerce/cart/cart.php flatsome/woocommerce/checkout/form-checkout.php flatsome/woocommerce/checkout/form-coupon.php flatsome/woocommerce/checkout/terms.php flatsome/woocommerce/checkout/thankyou.php flatsome/woocommerce/content-product-cat.php flatsome/woocommerce/content-product.php flatsome/woocommerce/content-single-product.php flatsome/woocommerce/content-widget-product.php flatsome/woocommerce/global/breadcrumb.php flatsome/woocommerce/global/quantity-input.php flatsome/woocommerce/global/wrapper-end.php flatsome/woocommerce/global/wrapper-start.php flatsome/woocommerce/loop/loop-end.php flatsome/woocommerce/loop/loop-start.php flatsome/woocommerce/loop/pagination.php flatsome/woocommerce/loop/result-count.php flatsome/woocommerce/loop/sale-flash.php flatsome/woocommerce/myaccount/form-login.php flatsome/woocommerce/myaccount/navigation.php flatsome/woocommerce/notices/error.php flatsome/woocommerce/notices/notice.php flatsome/woocommerce/notices/success.php flatsome/woocommerce/product-searchform.php flatsome/woocommerce/single-product/photoswipe.php flatsome/woocommerce/single-product/price.php flatsome/woocommerce/single-product/product-image.php flatsome/woocommerce/single-product/product-thumbnails.php flatsome/woocommerce/single-product/rating.php flatsome/woocommerce/single-product/related.php flatsome/woocommerce/single-product/review.php flatsome/woocommerce/single-product/sale-flash.php flatsome/woocommerce/single-product/share.php flatsome/woocommerce/single-product/short-description.php flatsome/woocommerce/single-product/tabs/tabs.php flatsome/woocommerce/single-product/title.php flatsome/woocommerce/single-product/up-sells.php flatsome/woocommerce/single-product-reviews.php flatsome/woocommerce/single-product.php flatsome/woocommerce/content-product_cat.php ### Action Scheduler ### Complete: 13,571 Oldest: 2022-03-15 11:32:32 +0100 Newest: 2022-04-14 15:21:26 +0200 Pending: 6 Oldest: 2022-04-18 11:44:39 +0200 Newest: 2022-04-20 16:24:59 +0200 ### Status report information ### Generated at: 2022-04-14 15:28:14 +02:00
Hello,
It sounds like this has something to do with
notepad++
. The recommended file editors to open and edit WooCommerce CSV files are listed here: https://woocommerce.com/document/product-csv-importer-exporter/#what-csv-editors-do-you-recommendPlease try using one of them and check if the same thing happens.
Hi,
No notepad++ is not causing this. I use google sheets editor and openoffice also. Same result. If you want i can add a video to show it or i can share a sample file?
This what i import:
ID,SKU,Description 2628,BZCLZ,"<h2>De bestverkochte zwarte bokszak</h2> De bokszak classic is gemaakt van het zeer sterke en duurzame bisonyl. De vulling van de bokszak bestaat uit versneden textiel, waardoor uw stoten en trappen optimaal geabsorbeerd worden en uw handen en benen goed beschermd blijven. Wordt geleverd inclusief vierpuntsketting. <h3>Plus- en minpunten</h3> <img class=""filter-green-product"" role=""img"" src=""https://www.fightplaza.nl/wp-content/uploads/2021/12/happy.svg"" alt="""" width=""20"" height=""20"" />Zeer goede prijs/kwaliteit verhouding <img class=""filter-green-product"" role=""img"" src=""https://www.fightplaza.nl/wp-content/uploads/2021/12/happy.svg"" alt="""" width=""20"" height=""20"" />Gemaakt van duurzaam bisonyl <img class=""filter-green-product"" role=""img"" src=""https://www.fightplaza.nl/wp-content/uploads/2021/12/happy.svg"" alt="""" width=""20"" height=""20"" />Zeer stevig stootoppervlak <img class=""filter-orange-product"" role=""img"" src=""https://www.fightplaza.nl/wp-content/uploads/2021/12/indifferent.svg"" alt="""" width=""20"" height=""20"" />Niet makkelijk te verplaatsen <h3>Kenmerken</h3> <ul> <li>Kleur: zwart</li> <li>Materiaal: bisonyl</li> <li>Vulling: textiel vezelmix</li> </ul> <h3>In welke maten / gewichten verkrijgbaar?</h3> <ul> <li>70 CM x ? 25 CM en ± 14 KG</li> <li>80 CM x ? 35 CM en ± 20 KG</li> <li>100 CM x ? 35 CM en ± 24 KG</li> <li>120 CM x ? 35 CM en ± 29 KG</li> <li>150 CM x ? 35 CM en ± 36 KG</li> <li>180 CM x ? 35 CM en ± 43 KG</li> </ul> <h3>Welke maat bokszak heb ik nodig?</h3> <ul> <li>140 - 180 CM: Een bokszak voor zowel stoten als trappen. Ook is deze bokszak door het gewicht behoorlijk stabiel en zwaait dus niet alle kanten op.</li> <li>100 - 130 CM: Een bokszak voor alleen stoten. Door het het gewicht hangt deze bokszak nog behoorlijk stabiel.</li> <li>80 - 90 CM: Een bokszak voor kinderen t/m 12 jaar.</li> <li>60 - 70 CM: Een junior bokszak voor kinderen t/m 8 jaar.</li> </ul> <h3>Op welke hoogte moet de bokszak bevestigd worden?</h3> <ul> <li>De bovenkant van de bokszak dient ongeveer 10 CM hoger te hangen dan uw eigen lengte.</li> <li>De bevestigingsketting van de bokszak heeft een lengte van 30 CM.</li> </ul> <h3>Tips</h3> <ul> <li>Bepaal eerst de juiste hoogte.</li> <li>Bevestig de bokszak met een plafondbeugel op een plafond van beton of hout. Niet gechikt voor dunne- of gipsplafonds!</li> <li>Gebruik M8 houtschroeven of M8 keibouten.</li> <li>Als de bokszak iets te hoog komt te hangen, koop dan een stuk ketting om te bevestigen tussen de beugel en de bevestigingsketting.</li> <li>Als het plafond te hoog is, kies dan voor een ophangbeugel aan de muur.</li> </ul>"
- This reply was modified 2 years, 7 months ago by bramvds.
hereby:
https://file.io/keXbrOCzOIpfHi there,
This is what I see when I open your link.
It happens when someone first downloads the file. It will then be deleted from their servers.
Please use https://ufile.io/ which will retain the file even on multiple downloads. Dropbox/Google drive works too.
Cheers.
Hi,
So i uploaded two files. One is the import csv with id,sku and description. And one the export after i imported the import file. No changes are made and also you can see it differs per product where and how many \n are added.
There are only two products in this file.- This reply was modified 2 years, 7 months ago by bramvds. Reason: wrong file
Hey @bramvds,
This is by design to indicate where there should be breaks in the content. If you’re curious, you can look through the source code for this here:
If you have in mind a better way to handle this, please feel free to make a pull request. Code improvements are always welcome.
Cheers
Hi, thanks i understand, but why is this not consistent? it puts /n’s different for different products as you can see.
If it is by design it should be consistent i think?Thanks.
This is a fairly complex topic. I’m going to leave it open for a bit to see if anyone is able to chime in to help you out.
I can also recommend the [WooCommerce Developer Resources](https://developer.woocommerce.com/) portal for resources on WooCommerce code/development.
You can also visit the [WooCommerce Facebook](https://www.facebook.com/groups/advanced.woocommerce/) group or the #developers channel of the [WooCommerce Community Slack](https://woocommerce.com/community-slack/). We’re lucky to have a great community of open-source developers for WooCommerce, and many of our developers hang out there, as well.
Regards
I think I’m having a similar issue… I’ve exported my products and whenever in the description of the product there’s a new line, in the CSV file it also creates a new line, which messes up the entire CSV. Some other things happens as well where there are empty lines and etc. I don’t know how to fix this…
Hi @soling4
Can you please create a new thread so we can take a look at your issue separately?
https://www.ads-software.com/support/plugin/woocommerce/#new-topic-0
- The topic ‘\n for every line in product description’ is closed to new replies.