• Resolved long0708

    (@long0708)


    Hello,
    I’m trying to import new product via CSV file to the a childcategory: “HOLIDAYS > Fathers Day” (“HOLIDAYS” is parrent category, “Fathers Day” is child category”, Both of these categories are already available on my website).
    I don’t know why Woocommerce created a new parrent category named “HOLIDAY?” and a new child category named “Fathers Day”. Finnaly, the products didn’t come to where i want.
    Please help me, thanks!

Viewing 6 replies - 1 through 6 (of 6 total)
  • Hi @long0708

    I understand that a new parent category named “HOLIDAY” and a new child category named “Fathers Day” got created, and the existing categories with the same name were not used during the import.

    There could be a number of reasons, for example, a slight difference in the spelling in your CSV and the site?

    Please double check to make sure you are using the correct format for the CSV. You can download a sample CSV file here: https://github.com/woocommerce/woocommerce/tree/master/sample-data

    I’m assuming you are using the built-in product CSV Importer Exporter. Here’s its documentation that you may refer to: https://docs.woocommerce.com/document/product-csv-importer-exporter/

    Should you need us to take a closer look, please share the following:
    1. your CSV file (you can use Google Drive/Drobox or any online file-sharing service, and share the link here)
    2. your site’s System Status – You can find it via WooCommerce > Status. Select “Get system report” and then “Copy for support”. Once you’ve done that, paste it here in your response.

    Thread Starter long0708

    (@long0708)

    Hello,
    Thanks for your replying.
    I want to confirm that:
    I have two categories: Holidays (parent) and Fathers Day (child).
    And it created two new category: “Holiday?” (parent, with question mark in name) and Fathers Day (child)
    This is the CSV file:
    https://docs.google.com/spreadsheets/d/1vQPyE0VxGe1gZD7d_4fXDk0iZglbMxC5d9AQx0zewvk/edit?usp=sharing

    And below is the report:

    
    ### WordPress Environment ###
    
    WordPress address (URL): https://svg-store.com
    Site address (URL): https://svg-store.com
    WC Version: 6.5.1
    REST API Version: ? 6.5.1
    WC Blocks Version: ? 7.4.3
    Action Scheduler Version: ? 3.4.0
    Log Directory Writable: ?
    WP Version: 5.9.3
    WP Multisite: –
    WP Memory Limit: 512 MB
    WP Debug Mode: –
    WP Cron: ?
    Language: en_US
    External object cache: –
    
    ### Server Environment ###
    
    Server Info: nginx/1.20.2
    PHP Version: 7.4.29
    PHP Post Max Size: 512 MB
    PHP Time Limit: 600
    PHP Max Input Vars: 1000
    cURL Version: 7.29.0
    NSS/3.53.1
    
    SUHOSIN Installed: –
    MySQL Version: 5.5.5-10.3.34-MariaDB
    Max Upload Size: 512 MB
    Default Timezone is UTC: ?
    fsockopen/cURL: ?
    SoapClient: ? Your server does not have the SoapClient class enabled - some gateway plugins which use SOAP may not work as expected.
    DOMDocument: ?
    GZip: ?
    Multibyte String: ?
    Remote Post: ?
    Remote Get: ?
    
    ### Database ###
    
    WC Database Version: 6.5.1
    WC Database Prefix: wp_
    Total Database Size: 91.20MB
    Database Data Size: 67.24MB
    Database Index Size: 23.96MB
    wp_woocommerce_sessions: Data: 0.08MB + 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.00MB + Engine MyISAM
    wp_woocommerce_downloadable_product_permissions: Data: 0.00MB + Index: 0.01MB + Engine MyISAM
    wp_woocommerce_order_items: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wp_woocommerce_order_itemmeta: Data: 0.02MB + Index: 0.02MB + Engine MyISAM
    wp_woocommerce_tax_rates: Data: 0.00MB + Index: 0.00MB + 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.00MB + Engine MyISAM
    wp_woocommerce_shipping_zone_methods: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wp_woocommerce_payment_tokens: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wp_woocommerce_payment_tokenmeta: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wp_woocommerce_log: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wp_actionscheduler_actions: Data: 5.98MB + Index: 2.51MB + 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: 4.44MB + Index: 3.32MB + Engine MyISAM
    wp_commentmeta: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wp_comments: Data: 0.02MB + Index: 0.02MB + Engine MyISAM
    wp_itsec_bans: Data: 0.00MB + Index: 0.01MB + Engine MyISAM
    wp_itsec_dashboard_events: Data: 0.01MB + Index: 0.01MB + Engine MyISAM
    wp_itsec_distributed_storage: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wp_itsec_fingerprints: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wp_itsec_geolocation_cache: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wp_itsec_lockouts: Data: 0.02MB + Index: 0.01MB + Engine MyISAM
    wp_itsec_logs: Data: 13.25MB + Index: 0.92MB + Engine MyISAM
    wp_itsec_mutexes: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wp_itsec_opaque_tokens: Data: 0.00MB + Index: 0.01MB + Engine MyISAM
    wp_itsec_temp: Data: 0.14MB + Index: 0.14MB + Engine MyISAM
    wp_itsec_user_groups: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wp_links: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wp_options: Data: 3.22MB + Index: 0.20MB + Engine MyISAM
    wp_postmeta: Data: 24.61MB + Index: 9.79MB + Engine MyISAM
    wp_posts: Data: 11.65MB + Index: 1.91MB + Engine MyISAM
    wp_rank_math_404_logs: Data: 0.00MB + Index: 0.01MB + Engine MyISAM
    wp_rank_math_analytics_keyword_manager: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wp_rank_math_analytics_objects: Data: 0.00MB + Index: 0.01MB + Engine MyISAM
    wp_rank_math_internal_links: Data: 0.04MB + Index: 0.01MB + Engine MyISAM
    wp_rank_math_internal_meta: Data: 0.09MB + Index: 0.07MB + Engine MyISAM
    wp_termmeta: Data: 0.61MB + Index: 0.41MB + Engine MyISAM
    wp_terms: Data: 0.85MB + Index: 1.46MB + Engine MyISAM
    wp_term_relationships: Data: 0.91MB + Index: 2.01MB + Engine MyISAM
    wp_term_taxonomy: Data: 0.68MB + Index: 0.49MB + Engine MyISAM
    wp_usermeta: Data: 0.19MB + Index: 0.02MB + Engine MyISAM
    wp_users: Data: 0.00MB + Index: 0.01MB + Engine MyISAM
    wp_wc_admin_notes: Data: 0.02MB + Index: 0.00MB + Engine MyISAM
    wp_wc_admin_note_actions: Data: 0.01MB + Index: 0.00MB + Engine MyISAM
    wp_wc_category_lookup: Data: 0.00MB + Index: 0.01MB + Engine MyISAM
    wp_wc_customer_lookup: Data: 0.00MB + Index: 0.01MB + Engine MyISAM
    wp_wc_download_log: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wp_wc_order_coupon_lookup: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wp_wc_order_product_lookup: Data: 0.00MB + Index: 0.01MB + Engine MyISAM
    wp_wc_order_stats: Data: 0.00MB + Index: 0.01MB + Engine MyISAM
    wp_wc_order_tax_lookup: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wp_wc_product_attributes_lookup: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wp_wc_product_download_directories: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_wc_product_meta_lookup: Data: 0.38MB + Index: 0.50MB + Engine MyISAM
    wp_wc_rate_limits: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wp_wc_reserved_stock: 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
    
    ### Post Type Counts ###
    
    attachment: 5999
    blocks: 2
    itsec-dash-card: 8
    itsec-dashboard: 1
    nav_menu_item: 106
    page: 9
    post: 2
    product: 5425
    revision: 86
    shop_order: 4
    shop_order_refund: 3
    wpcf7_contact_form: 1
    
    ### Security ###
    
    Secure connection (HTTPS): ?
    Hide errors from visitors: ?
    
    ### Active Plugins (10) ###
    
    Classic Editor: by WordPress Contributors – 1.6.2
    Contact Form 7: by Takayuki Miyoshi – 5.5.6
    Easy WP SMTP: by wpecommerce
    alexanderfoxc – 1.4.7
    
    Font Awesome: by Font Awesome – 4.1.1
    iThemes Security Pro: by iThemes – 7.1.0
    Loco Translate: by Tim Whitlock – 2.6.1
    SalesGen - Upsell Blast for Woocommerce: by salesgen.io – 0.3
    Advanced Editor Tools (previously TinyMCE Advanced): by Automattic – 5.6.0
    WooCommerce PayPal Payments: by WooCommerce – 1.8.0
    WooCommerce: by Automattic – 6.5.1
    
    ### Inactive Plugins (3) ###
    
    Rank Math SEO: by Rank Math – 1.0.89.1
    Rank Math SEO PRO: by Rank Math – 3.0.9
    WP Crowdsignal Forms: by Automattic – 1.5.15
    
    ### 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: –
    
    ### WC Pages ###
    
    Shop base: #16 - /shop/
    Cart: #17 - /cart/
    Checkout: #18 - /checkout/
    My account: #19 - /my-account/
    Terms and conditions: ? Page not set
    
    ### Theme ###
    
    Name: Flatsome
    Version: 3.15.4
    Author URL: https://www.uxthemes.com/
    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: 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/emails/customer-completed-order.php
    flatsome/woocommerce/emails/customer-processing-order.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
    
    ### WooCommerce PayPal Payments ###
    
    Onboarded: ?
    Shop country code: VN
    WooCommerce currency supported: ?
    PayPal card processing available in country: –
    Pay Later messaging available in country: –
    Webhook status: –
    Vault enabled: ?
    Logging enabled: –
    Reference Transactions: –
    Used PayPal Checkout plugin: –
    
    ### Action Scheduler ###
    
    Complete: 2,893
    Oldest: 2022-05-04 02:25:01 +0000
    Newest: 2022-05-24 10:02:25 +0000
    
    Pending: 1
    Oldest: 2022-05-25 12:13:37 +0000
    Newest: 2022-05-25 12:13:37 +0000
    
    ### Status report information ###
    
    Generated at: 2022-05-24 07:19:14 -05:00
    
    Thread Starter long0708

    (@long0708)

    Hello,
    I just replied but my comment is being held for approved.
    I tested again and i see that the problem happend with only that Category (parent).
    It works normally for all other categories.

    Hello,

    Thank you for sharing your system status and CSV file. What software did you use to edit your CSV file? When you save CSV, can you please make sure your csv file is in UTF-8 format?

    You can find the general guidelines for CSV files here:
    https://woocommerce.com/document/product-csv-importer-exporter/#general-guidelines

    Thread Starter long0708

    (@long0708)

    @maykato
    Hello,
    Thanks for your repling.
    I used Ms Excel to save csv file.
    My problem has been resolved by typing categories name manually (not copy-paste from any where).
    I don’t know what the problem is.
    P/S:
    – When problem happening, Woocommerce doesn’t show categories Sample when importing csv file.
    – When problem resolved, the categories sample was shown when importing csv file (as the image below)
    https://postimg.cc/nMj658Wv

    Thanks for getting back to us @long0708!

    I used Ms Excel to save csv file.

    If possible, please avoid Microsoft Excel due to formatting and character encoding issues.

    We recommend using:

    My problem has been resolved by typing categories name manually (not copy-paste from any where).

    Glad to hear it – thanks for letting us know!

    I’ll mark this thread as resolved now. If you have any further questions, I recommend creating a new thread.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘I could not import products to exactly child category’ is closed to new replies.