Overwrite SKU with csv import
-
Hi! I am using the Woocommerce core import/export tool to update products in a csv file. When I import, I got the following error message: invalid or duplicated SKU.
For some of the products, we are adding the MPN to our internal SKU and would like to overwrite this column. Is there some way to accomplish this?
-
Hey there, @susinpgh! Thanks for contacting us. I’m happy to help you.
The CSV you are importing, did you create it from scratch or did you exported it from the site, modified, and imported it back?
Can you share screenshots of the import settings you chose? I recommend using https://snipboard.io. You can share the direct link to the image as a response to this topic.
Furthermore, I’d like to understand your site properly. Please share with us the necessary information below for us to investigate the issue further:
System Status Report which you can find via WooCommerce > Status > Get system report > Copy for support.
Fatal error logs (if any) under WooCommerce > Status > Logs. Then you can use the selector to search for Fatal Errors.
You could copy and paste your reply here or paste it via https://gist.github.com/ and send the link here.Looking forward to your reply.
Have a wonderful day!
Hi Carolm29!
Thank you for your reply. I did continue working on this after I posted yesterday. Following is the process:- I had exported all of the products from our live site, and segmented the CSV file in google sheets by categories.
- Those file were edited with updated sort descriptions, long descriptions and images. In many cases, the SKU was updated to include the MPN. The product ID was not changed.
- I have been uploading the files to our test site to see if there are any glitches. I uploaded theCSVs to our site, and used the advanced import function in a variety of settings. See this image: https://snipboard.io/w1Bnl5.jpg
- Here is what the error log looked like after trying to import the file with the SKU and ID numbers included: https://snipboard.io/Fox8q2.jpg
- I then imported the referenced file but didn’t include the ID or SKU columns. and that actually worked.
- I did import a different CSV with no issues.
I am pasting the status report from the test site below. I didn’t see anything about fatal errors in the log.
WordPress Environment WordPress address (URL): https://test.emportllc.com Site address (URL): https://test.emportllc.com WC Version: 8.9.1 REST API Version: ? 8.9.1 Action Scheduler Version: ? 3.7.4 Log Directory Writable: ? WP Version: 6.5.3 WP Multisite: – WP Memory Limit: 512 MB WP Debug Mode: – WP Cron: ? Language: en_US External object cache: – Server Environment Server Info: Apache PHP Version: 7.4.33 PHP Post Max Size: 8 MB PHP Time Limit: 30 PHP Max Input Vars: 1000 cURL Version: 8.7.1 OpenSSL/1.1.1w SUHOSIN Installed: – MySQL Version: 5.5.5-10.5.25-MariaDB Max Upload Size: 2 MB Default Timezone is UTC: ? fsockopen/cURL: ? SoapClient: ? DOMDocument: ? GZip: ? Multibyte String: ? Remote Post: ? Remote Get: ? Database WC Database Version: 8.9.0 WC Database Prefix: wp_ Total Database Size: 260.78MB Database Data Size: 234.19MB Database Index Size: 26.59MB wp_woocommerce_sessions: Data: 0.05MB + Index: 0.00MB + Engine MyISAM wp_woocommerce_api_keys: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_woocommerce_attribute_taxonomies: Data: 0.00MB + Index: 0.01MB + Engine MyISAM wp_woocommerce_downloadable_product_permissions: Data: 0.05MB + Index: 0.08MB + Engine MyISAM wp_woocommerce_order_items: Data: 0.27MB + Index: 0.20MB + Engine MyISAM wp_woocommerce_order_itemmeta: Data: 4.04MB + Index: 1.61MB + Engine MyISAM wp_woocommerce_tax_rates: Data: 0.00MB + Index: 0.01MB + Engine MyISAM wp_woocommerce_tax_rate_locations: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_woocommerce_shipping_zones: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_woocommerce_shipping_zone_locations: Data: 0.00MB + Index: 0.01MB + Engine MyISAM wp_woocommerce_shipping_zone_methods: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_woocommerce_payment_tokens: Data: 0.01MB + Index: 0.01MB + Engine MyISAM wp_woocommerce_payment_tokenmeta: Data: 0.04MB + Index: 0.04MB + Engine MyISAM wp_woocommerce_log: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_actionscheduler_actions: Data: 13.27MB + Index: 3.75MB + Engine MyISAM wp_actionscheduler_claims: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_actionscheduler_groups: Data: 0.00MB + Index: 0.01MB + Engine MyISAM wp_actionscheduler_logs: Data: 6.58MB + Index: 4.62MB + Engine MyISAM wp_addonlibrary_addons: Data: 0.08MB + Index: 0.00MB + Engine MyISAM wp_addonlibrary_categories: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_automatewoo_abandoned_carts: Data: 0.01MB + Index: 0.01MB + Engine MyISAM wp_automatewoo_customers: Data: 0.07MB + Index: 0.16MB + Engine MyISAM wp_automatewoo_customer_meta: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_automatewoo_guests: Data: 0.03MB + Index: 0.06MB + Engine MyISAM wp_automatewoo_guest_meta: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_automatewoo_logs: Data: 0.06MB + Index: 0.12MB + Engine MyISAM wp_automatewoo_log_meta: Data: 0.40MB + Index: 0.23MB + Engine MyISAM wp_automatewoo_queue: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_automatewoo_queue_meta: Data: 0.00MB + Index: 0.01MB + Engine MyISAM wp_berocket_termmeta: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_cb_contact_form: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_cb_create_control_form: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_cb_dynamic_settings: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_cb_email_template_admin: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_cb_form_settings_table: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_cb_frontend_data_table: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_cb_frontend_forms_table: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_cb_layout_settings_table: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_cb_licensing: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_cb_roles_capability: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_cli_cookie_scan: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_cli_cookie_scan_categories: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_cli_cookie_scan_cookies: Data: 0.01MB + Index: 0.01MB + Engine MyISAM wp_cli_cookie_scan_url: Data: 0.01MB + Index: 0.00MB + Engine MyISAM wp_cli_scripts: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_cmplz_cookiebanners: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_cmplz_cookies: Data: 0.01MB + Index: 0.00MB + Engine MyISAM wp_cmplz_services: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_commentmeta: Data: 0.01MB + Index: 0.01MB + Engine MyISAM wp_comments: Data: 1.66MB + Index: 0.71MB + Engine MyISAM wp_contactformmaker: Data: 0.13MB + Index: 0.00MB + Engine MyISAM wp_contactformmaker_blocked: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_contactformmaker_submits: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_contactformmaker_themes: Data: 0.55MB + Index: 0.00MB + Engine MyISAM wp_contactformmaker_views: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_duplicator_packages: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_email_log: Data: 0.13MB + Index: 0.00MB + Engine InnoDB wp_ewwwio_images: Data: 0.50MB + Index: 0.33MB + Engine MyISAM wp_ewwwio_queue: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_e_events: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_e_notes: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_e_notes_users_relations: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_e_submissions: Data: 0.02MB + Index: 0.04MB + Engine MyISAM wp_e_submissions_actions_log: Data: 0.00MB + Index: 0.01MB + Engine MyISAM wp_e_submissions_values: Data: 0.04MB + Index: 0.01MB + Engine MyISAM wp_failed_jobs: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_followup_coupons: Data: 0.00MB + Index: 0.01MB + Engine MyISAM wp_followup_coupon_logs: Data: 0.04MB + Index: 0.02MB + Engine MyISAM wp_followup_customers: Data: 0.04MB + Index: 0.08MB + Engine MyISAM wp_followup_customer_carts: Data: 0.22MB + Index: 0.06MB + Engine MyISAM wp_followup_customer_notes: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_followup_customer_orders: Data: 0.03MB + Index: 0.02MB + Engine MyISAM wp_followup_email_coupons: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_followup_email_excludes: Data: 0.00MB + Index: 0.01MB + Engine MyISAM wp_followup_email_logs: Data: 0.45MB + Index: 0.20MB + Engine MyISAM wp_followup_email_orders: Data: 8.40MB + Index: 0.65MB + Engine MyISAM wp_followup_email_order_coupons: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_followup_email_tracking: Data: 0.23MB + Index: 0.19MB + Engine MyISAM wp_followup_followup_history: Data: 8.95MB + Index: 0.27MB + Engine MyISAM wp_followup_order_categories: Data: 0.07MB + Index: 0.12MB + Engine MyISAM wp_followup_order_items: Data: 0.04MB + Index: 0.07MB + Engine MyISAM wp_followup_subscribers: Data: 0.02MB + Index: 0.03MB + Engine MyISAM wp_followup_subscribers_to_lists: Data: 0.00MB + Index: 0.01MB + Engine MyISAM wp_followup_subscriber_lists: Data: 0.00MB + Index: 0.01MB + Engine MyISAM wp_ic_sessions: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_links: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_mailchimp_carts: Data: 0.03MB + Index: 0.00MB + Engine MyISAM wp_ms_snippets: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_optins: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_optin_meta: Data: 0.00MB + Index: 0.01MB + Engine MyISAM wp_options: Data: 7.46MB + Index: 0.20MB + Engine MyISAM wp_pmxe_exports: Data: 0.01MB + Index: 0.00MB + Engine MyISAM wp_pmxe_google_cats: Data: 0.26MB + Index: 0.05MB + Engine MyISAM wp_pmxe_posts: Data: 0.01MB + Index: 0.00MB + Engine MyISAM wp_pmxe_templates: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_pmxi_files: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_pmxi_hash: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_pmxi_history: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_pmxi_images: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_pmxi_imports: Data: 0.01MB + Index: 0.00MB + Engine MyISAM wp_pmxi_posts: Data: 0.01MB + Index: 0.00MB + Engine MyISAM wp_pmxi_templates: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_popover_ip_cache: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_postmeta: Data: 70.91MB + Index: 6.20MB + Engine MyISAM wp_posts: Data: 30.83MB + Index: 0.98MB + Engine MyISAM wp_post_smtp_logmeta: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_post_smtp_logs: Data: 40.52MB + Index: 0.00MB + Engine InnoDB wp_queue: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_redirection_404: Data: 0.02MB + Index: 0.05MB + Engine InnoDB wp_redirection_groups: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_redirection_items: Data: 0.02MB + Index: 0.09MB + Engine InnoDB wp_redirection_logs: Data: 0.02MB + Index: 0.05MB + Engine InnoDB wp_snippets: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_termmeta: Data: 0.02MB + Index: 0.03MB + Engine MyISAM wp_terms: Data: 0.02MB + Index: 0.05MB + Engine MyISAM wp_term_relationships: Data: 0.07MB + Index: 0.15MB + Engine MyISAM wp_term_taxonomy: Data: 0.03MB + Index: 0.04MB + Engine MyISAM wp_tm_taskmeta: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_tm_tasks: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_ualp_user_activity: Data: 7.52MB + Index: 0.00MB + Engine InnoDB wp_usermeta: Data: 1.44MB + Index: 1.00MB + Engine MyISAM wp_users: Data: 0.08MB + Index: 0.09MB + Engine MyISAM wp_wc_admin_notes: Data: 0.08MB + Index: 0.01MB + Engine MyISAM wp_wc_admin_note_actions: Data: 0.05MB + Index: 0.01MB + Engine MyISAM wp_wc_category_lookup: Data: 0.00MB + Index: 0.01MB + Engine MyISAM wp_wc_customer_lookup: Data: 0.12MB + Index: 0.11MB + Engine MyISAM wp_wc_download_log: Data: 0.01MB + Index: 0.01MB + Engine MyISAM wp_wc_order_addresses: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_wc_order_coupon_lookup: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_wc_order_operational_data: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_wc_order_product_lookup: Data: 0.19MB + Index: 0.19MB + Engine MyISAM wp_wc_order_stats: Data: 0.13MB + Index: 0.09MB + Engine MyISAM wp_wc_order_tax_lookup: Data: 0.06MB + Index: 0.07MB + Engine MyISAM wp_wc_product_attributes_lookup: Data: 0.01MB + Index: 0.02MB + Engine MyISAM wp_wc_product_download_directories: Data: 0.00MB + Index: 0.01MB + Engine MyISAM wp_wc_product_meta_lookup: Data: 0.06MB + Index: 0.09MB + Engine InnoDB wp_wc_rate_limits: Data: 0.00MB + Index: 0.01MB + Engine MyISAM wp_wc_reserved_stock: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_wc_se_queue: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_wc_se_settings: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_wc_tax_rate_classes: Data: 0.00MB + Index: 0.01MB + Engine MyISAM wp_wc_webhooks: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_wfblockediplog: Data: 0.40MB + Index: 0.31MB + Engine MyISAM wp_wfblocks7: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_wfconfig: Data: 4.93MB + Index: 0.02MB + Engine MyISAM wp_wfcrawlers: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_wffilechanges: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_wffilemods: Data: 10.91MB + Index: 1.21MB + Engine MyISAM wp_wfhits: Data: 0.75MB + Index: 0.14MB + Engine MyISAM wp_wfhoover: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_wfissues: Data: 0.05MB + Index: 0.01MB + Engine MyISAM wp_wfknownfilelist: Data: 8.12MB + Index: 0.37MB + Engine MyISAM wp_wflivetraffichuman: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_wflocs: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_wflogins: Data: 0.33MB + Index: 0.09MB + Engine MyISAM wp_wfls_2fa_secrets: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_wfls_role_counts: Data: 0.00MB + Index: 0.00MB + Engine MEMORY wp_wfls_settings: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_wfnotifications: Data: 0.04MB + Index: 0.01MB + Engine MyISAM wp_wfpendingissues: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_wfreversecache: Data: 0.02MB + Index: 0.01MB + Engine MyISAM wp_wfsecurityevents: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_wfsnipcache: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_wfstatus: Data: 0.23MB + Index: 0.10MB + Engine MyISAM wp_wftrafficrates: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_wfwaffailures: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_woocommerce_exported_csv_items: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_woof_sd: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_woof_sd_presets: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_wpda_form_fields: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_wpda_form_forms: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wp_wpda_form_subfields: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wp_wpda_form_submissions: Data: 0.13MB + Index: 0.03MB + Engine InnoDB wp_wpda_form_submit_time: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wp_wpf_filters: Data: 0.09MB + Index: 0.00MB + Engine MyISAM wp_wpf_meta_data: Data: 0.03MB + Index: 0.08MB + Engine MyISAM wp_wpf_meta_keys: Data: 0.00MB + Index: 0.01MB + Engine MyISAM wp_wpf_meta_values: Data: 0.00MB + Index: 0.01MB + Engine MyISAM wp_wpf_meta_values_bk: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_wpf_modules: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_wpf_modules_type: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_wpf_statistics: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_wpf_statistics_det: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_wpf_statistics_sum: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_wpf_statistics_val: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_wpf_usage_stat: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_wpie_template: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_wpstg_queue: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_wtbp_favorites: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_wtbp_tables: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_wt_iew_action_history: Data: 0.07MB + Index: 0.00MB + Engine MyISAM wp_wt_iew_cron: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_wt_iew_ftp: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_wt_iew_mapping_template: Data: 0.00MB + Index: 0.00MB + Engine MyISAM wp_yoast_indexable: Data: 0.41MB + Index: 0.13MB + Engine MyISAM wp_yoast_indexable_hierarchy: Data: 0.02MB + Index: 0.06MB + Engine MyISAM wp_yoast_migrations: Data: 0.00MB + Index: 0.01MB + Engine MyISAM wp_yoast_primary_term: Data: 0.02MB + Index: 0.02MB + Engine MyISAM wp_yoast_seo_links: Data: 0.74MB + Index: 0.25MB + Engine MyISAM wp_yoast_seo_meta: Data: 0.16MB + Index: 0.16MB + Engine MyISAM Post Type Counts acf-field: 2 acf-field-group: 2 al_product: 1 attachment: 1252 aw_workflow: 24 cookielawinfo: 33 custom_css: 2 elementor_font: 2 elementor_lead: 64 elementor_library: 118 elementor_snippet: 1 faq: 3 faq_wd: 1 follow_up_email: 38 inc_popup: 2 nav_menu_item: 106 oembed_cache: 121 page: 81 post: 136 postman_sent_mail: 1000 product: 186 revision: 3642 shop_coupon: 21 shop_order: 1640 shop_order_refund: 7 slide: 8 wc_membership_plan: 14 wc_user_membership: 705 wlwl_email: 5 wooframework: 716 wp_global_styles: 1 wpcode: 4 Security Secure connection (HTTPS): ? Hide errors from visitors: ? Active Plugins (42) Unlimited Elements for Elementor: by Unlimited Elements – 1.5.108 Custom Shipping: by WebNots – 1.0 Titan Anti-spam & Security: by CreativeMotion – 7.3.5 AutomateWoo: by WooCommerce – 6.0.5 (update to version 6.0.24 is available) Autoptimize: by Frank Goossens (futtta) – 3.1.11 CookieYes | GDPR Cookie Consent: by CookieYes – 3.2.4 Duplicate Page: by mndpsingh287 – 4.5.3 Duplicator: by Duplicator – 1.5.9 DynamicConditions: by RTO GmbH – 1.6.2 Elementor Pro: by Elementor.com – 3.21.3 Elementor: by Elementor.com – 3.21.8 Flexible Shipping Import/Export Add-on: by Octolize – 1.4.4 Flexible Shipping Locations Add-on: by Octolize – 2.3.5 Flexible Shipping PRO: by Octolize – 2.16.0 Flexible Shipping Multi Vendor Add-on: by Octolize – 1.3.4 Flexible Shipping: by Octolize – 4.25.0 Global Site Tag Tracking: by naa986 – 1.0.1 WPCode Lite: by WPCode – 2.1.12 Jetpack: by Automattic – 13.4.3 WooCommerce: No PO Boxes: by Maje Media LLC – 2.1.2 Post SMTP: by Post SMTP – 2.9.4 Really Simple SSL: by Really Simple Plugins – 8.1.3 Redirection: by John Godley – 5.4.2 Simple Custom Post Order: by Colorlib – 2.5.7 Under Construction: by WebFactory Ltd – 4.00 UpdraftPlus - Backup/Restore: by UpdraftPlus.Com DavidAnderson – 1.24.3 Product Filter by WBW: by WBW – 2.6.2 WooCommerce.com Update Manager: by Automattic – 1.0.2 Avalara AvaTax: by Avalara – 2.6.0 (update to version 2.7.1 is available) Braintree for WooCommerce Payment Gateway: by WooCommerce – 3.1.6 WooCommerce PayTrace Payment Gateway: by VanboDevelops – 2.8.2 (update to version 2.8.5 is available) Google Analytics for WooCommerce: by WooCommerce – 2.0.7 WooCommerce Legacy REST API: by WooCommerce – 1.0.4 WooCommerce Memberships: by SkyVerge – 1.25.0 (update to version 1.26.5 is available) WooCommerce Shipment Tracking: by WooCommerce – 2.4.0 (update to version 2.4.8 is available) WooCommerce: by Automattic – 8.9.1 WBW Product Filter PRO: by WBW – 2.5.6 Wordfence Security: by Wordfence – 7.11.5 Yoast SEO: by Team Yoast – 22.8 WP Fastest Cache: by Emre Vona – 1.2.7 WP Import Export Lite: by VJInfotech – 3.9.27 WP Video Lightbox: by Tips and Tricks HQ Ruhul Amin – 1.9.11 Inactive Plugins (3) Smart WooCommerce Search by Searchanise: by Searchanise – 1.0.16 User Switching: by John Blackbourn & contributors – 1.7.3 WooCommerce Blocks: by Automattic – 11.7.0 Dropin Plugins () maintenance.php: maintenance.php Settings API Enabled: ? Force SSL: ? Currency: USD ($) Currency Position: left Thousand Separator: , Decimal Separator: . Number of Decimals: 2 Taxonomies: Product Types: external (external) grouped (grouped) simple (simple) variable (variable) 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: ? Enforce Approved Product Download Directories: – HPOS feature enabled: – Order datastore: WC_Order_Data_Store_CPT HPOS data sync enabled: – Logging Enabled: ? Handler: Automattic\WooCommerce\Internal\Admin\Logging\LogHandlerFileV2 Retention period: 30 days Level threshold: – Log directory size: 983 KB WC Pages Shop base: #1069 - /shop/ Cart: #1070 - /shop/cart/ Checkout: #2646 - /shop/check-out/ My account: #1072 - /shop/my-account/ Terms and conditions: #87 - /terms-and-conditions/ Theme Name: Astra Version: 4.6.16 Author URL: https://wpastra.com/about/?utm_source=theme_preview&utm_medium=author_link&utm_campaign=astra_theme Child Theme: ? – If you are modifying WooCommerce on a parent theme that you did not build personally we recommend using a child theme. See: How to create a child theme WooCommerce Support: ? Templates Overrides: – Memberships Restriction mode:: Hide completely Public content:: – Excluded from discounts:: – Membership plans:: 14 (13 published) VIP Membership (draft):: Members: 0Access method: Manual assignment onlyAccess length: Unlimited Kitchens with Confidence:: Members: 2Access method: Manual assignment onlyAccess length: Unlimited ? The plan has purchasing discounts but none are active AlerTox:: Members: 5Access method: Manual assignment onlyAccess length: Unlimited Client shipping account:: Members: 3Access method: Manual assignment onlyAccess length: Unlimited Professional Kitchen:: Members: 21Access method: Manual assignment onlyAccess length: Unlimited Brews and Spirits:: Members: 26Access method: Manual assignment onlyAccess length: Unlimited Sales Tax Exempt:: Members: 5Access method: Manual assignment onlyAccess length: Unlimited Mission Foods:: Members: 2Access method: Manual assignment onlyAccess length: Unlimited Saffron Rd:: Members: 5Access method: Manual assignment onlyAccess length: Unlimited Manufacturer:: Members: 312Access method: Manual assignment onlyAccess length: Unlimited ? The plan has purchasing discounts but none are active Certified Kitchen:: Members: 10Access method: Manual assignment onlyAccess length: Unlimited Certified Facility:: Members: 41Access method: Manual assignment onlyAccess length: Unlimited Home Tester:: Members: 271Access method: Manual assignment onlyAccess length: Unlimited GlutenTox Club (Test Membership):: Members: 2Access method: Manual assignment onlyAccess length: Unlimited Admin Enabled Features: activity-panels analytics product-block-editor coupons core-profiler customize-store customer-effort-score-tracks import-products-task experimental-fashion-sample-products shipping-smart-defaults shipping-setting-tour homescreen marketing mobile-app-banner navigation onboarding onboarding-tasks product-variation-management product-virtual-downloadable product-external-affiliate product-grouped product-linked product-pre-publish-modal product-custom-fields remote-inbox-notifications remote-free-extensions payment-gateway-suggestions shipping-label-banner subscriptions store-alerts transient-notices woo-mobile-welcome wc-pay-promotion wc-pay-welcome-page Disabled Features: minified-js new-product-management-experience settings async-product-editor-category-field launch-your-store Daily Cron: ? Next scheduled: 2024-05-30 21:04:20 -04:00 Options: ? Notes: 180 Onboarding: completed Action Scheduler Canceled: 3 Oldest: 2024-05-06 01:41:37 +0000 Newest: 2024-05-28 00:47:08 +0000 Complete: 18,378 Oldest: 2024-04-29 18:37:28 +0000 Newest: 2024-05-30 18:04:26 +0000 Failed: 772 Oldest: 2017-12-20 22:45:45 +0000 Newest: 2024-05-20 16:14:44 +0000 Pending: 15 Oldest: 2024-05-30 18:06:26 +0000 Newest: 2024-06-01 02:06:50 +0000 Paytrace Gateway Integration type: post Separated Forms: No Accept Checks: No Allow Vault Payments: Yes Require CSC: No Testmode: No Status report information Generated at: 2024-05-30 14:04:51 -04:00 `
Hey, @susinpgh! Thanks for the information.
First, on the report, I see your database is outdated. This can cause a lot of issues on the website.
Please update it by either following the warning message a the top of the page on WooCommerce area of the dashboard or going to WooCommerce > Status > Tools > Update Database.
Be sure you have a good backup in place of your full site and database. You can ask your host for backup functionality or you can consider using a service like Jetpack. If something goes wrong, you will be able to restore it.
To be sure, after updating it, can you check if the issue persists?
If it does, lets investigate this further to find out what is going on.
- I see that only five products were invalid. Were those the only products you modified? If not, is there anything on those 5 products that is different from the ones that were imported/updated?
- Can you share a screenshot of those products on the CSV file so we can see how they are added?
Looking forward to your reply.
Have a wonderful day!
Sorry for the delay in my response. We are a very small company, and I wear many, many hats. I updated the database before i conducted this trial. This is the settings that I used to import the products. Please note that there are eight products in the file: https://snipboard.io/pyTlCH.jpg
This is the results of the import: https://snipboard.io/39lKG5.jpg
Here is a screenshot for the csv file: https://snipboard.io/4Tdxpt.jpg
Any insight you could offer would be very much appreciated. One thing that I will say is that the csv file contains our very first products listed on our live site.
Thank you,
SusinpghHi @susinpgh
Thanks for sharing further details.
Those file were edited with updated sort descriptions, long descriptions and images. In many cases, the SKU was updated to include the MPN. The product ID was not changed.
If you’re trying to overwrite existing SKUs with the MPNs, you’ll need to ensure that the MPNs are unique and that you’re using the correct column header in your CSV file.
This is the results of the import: https://snipboard.io/39lKG5.jpg
Some products were skipped because they don’t exist, and you’ve chosen to update only existing products.
However, could you please edit the SKU column only and try importing again? Remember to format the column before you save and download it.
If you’re still encountering issues, we would appreciate it if you could share the CSV file with us. This will allow us to test it from our end.
Additionally, you can try importing using an advanced import plugin, such as All in All Import or WooCommerce Product CSV Import Suite.
Looking forward to hearing from you soon.
- The topic ‘Overwrite SKU with csv import’ is closed to new replies.