• Resolved Saket Jajodia

    (@dzire2dzine)


    I am trying to list thousands of products and I started with about 500 but it listed only 1 product I tried to cut down the file to 50 products still only listed 1 product. I understand it could be related to my server performance, but I am not sure what exactly I need to do here to fix this.
    Its a multisite setup, I have already deleted most of the tables I could think of using Garbage Collector plugin.

    max_execution_time = 300
    max_input_time = 300
    max_input_vars = 1000
    memory_limit = 512M
    post_max_size = 512M
    session.gc_maxlifetime = 1440
    upload_max_filesize = 512M

Viewing 5 replies - 1 through 5 (of 5 total)
  • Hi @dzire2dzine

    Thanks for reaching out!

    If I understand you correctly, you are importing thousands of products to your site, however, only one is being imported. Even cutting to 50 products yields the same result, right?

    As a first step, can you please share how are you importing products to your site? Is it thru the built-in Product CSV Importer and Exporter? If so, can you please share with us the CSV file you are using so that we could check this further?

    Meanwhile, please make sure that you are following the steps in creating the CSV file to ensure a successful import.

    Furthermore, I’d like to understand your site properly. Please share your System Status Report that you can find via WooCommerce > Status. Select Get system report and then Copy for support. Once you’ve done that, you can paste it into your reply here.

    If you could also provide the fatal error logs (if any) under WooCommerce > Status > Logs.

    You could copy and paste your reply here or paste it via https://gist.github.com/ and send the link here.

    Otherwise, if this was added thru a third-party plugin or a custom code, it would be best to reach out to the developers for further assistance here.

    Thanks!

    Thread Starter Saket Jajodia

    (@dzire2dzine)

    Sometimes it imports 5, 10, 1, randomly. Yes I am using the above method only and there is no fatal error logs.

    `
    ### WordPress Environment ###
    
    WordPress address (URL): https://ssfurnishings.com
    Site address (URL): https://ssfurnishings.com
    WC Version: 7.5.1
    REST API Version: ? 7.5.1
    WC Blocks Version: ? 9.6.6
    Action Scheduler Version: ? 3.5.4
    Log Directory Writable: ?
    WP Version: 6.2
    WP Multisite: ?
    WP Memory Limit: 1 GB
    WP Debug Mode: –
    WP Cron: ?
    Language: en_US
    External object cache: –
    
    ### Server Environment ###
    
    Server Info: Apache mod_bwlimited/1.4 Phusion_Passenger/6.0.17
    PHP Version: 8.1.17
    PHP Post Max Size: 1 GB
    PHP Time Limit: 600
    PHP Max Input Vars: 10000
    cURL Version: 7.84.0
    OpenSSL/1.1.1p
    
    SUHOSIN Installed: –
    MySQL Version: 5.7.41
    Max Upload Size: 15 MB
    Default Timezone is UTC: ?
    fsockopen/cURL: ?
    SoapClient: ?
    DOMDocument: ?
    GZip: ?
    Multibyte String: ?
    Remote Post: ?
    Remote Get: ?
    
    ### Database ###
    
    WC Database Version: 7.5.1
    WC Database Prefix: *_7_
    Total Database Size: 51.73MB
    Database Data Size: 43.40MB
    Database Index Size: 8.33MB
    *_7_woocommerce_sessions: Data: 1.85MB + Index: 0.04MB + Engine MyISAM
    *_7_woocommerce_api_keys: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    *_7_woocommerce_attribute_taxonomies: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    *_7_woocommerce_downloadable_product_permissions: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    *_7_woocommerce_order_items: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    *_7_woocommerce_order_itemmeta: Data: 0.02MB + Index: 0.02MB + Engine MyISAM
    *_7_woocommerce_tax_rates: Data: 0.02MB + Index: 0.02MB + Engine MyISAM
    *_7_woocommerce_tax_rate_locations: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    *_7_woocommerce_shipping_zones: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    *_7_woocommerce_shipping_zone_locations: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    *_7_woocommerce_shipping_zone_methods: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    *_7_woocommerce_payment_tokens: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    *_7_woocommerce_payment_tokenmeta: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    *_7_woocommerce_log: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    *_7_actionscheduler_actions: Data: 2.42MB + Index: 0.59MB + Engine MyISAM
    *_7_actionscheduler_claims: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    *_7_actionscheduler_groups: Data: 0.00MB + Index: 0.01MB + Engine MyISAM
    *_7_actionscheduler_logs: Data: 1.38MB + Index: 0.89MB + Engine MyISAM
    *_7_blc_filters: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    *_7_blc_instances: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    *_7_blc_links: Data: 0.00MB + Index: 0.01MB + Engine MyISAM
    *_7_blc_synch: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    *_7_commentmeta: Data: 0.06MB + Index: 0.01MB + Engine MyISAM
    *_7_comments: Data: 0.03MB + Index: 0.01MB + Engine MyISAM
    *_7_commercekit_searches: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    *_7_commercekit_swatches_cache_count: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    *_7_commercekit_waitlist: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    *_7_commercekit_wishlist: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    *_7_commercekit_wishlist_items: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    *_7_e_events: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    *_7_jetpack_waf_blocklog: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    *_7_links: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    *_7_loginlog: Data: 0.21MB + Index: 0.04MB + Engine MyISAM
    *_7_options: Data: 9.15MB + Index: 0.16MB + Engine MyISAM
    *_7_postmeta: Data: 20.34MB + Index: 3.12MB + Engine MyISAM
    *_7_posts: Data: 4.54MB + Index: 0.36MB + Engine MyISAM
    *_7_rank_math_404_logs: Data: 0.00MB + Index: 0.01MB + Engine MyISAM
    *_7_rank_math_analytics_gsc: Data: 0.37MB + Index: 0.14MB + Engine MyISAM
    *_7_rank_math_analytics_inspections: Data: 0.27MB + Index: 0.08MB + Engine MyISAM
    *_7_rank_math_analytics_objects: Data: 0.30MB + Index: 0.11MB + Engine MyISAM
    *_7_rank_math_internal_links: Data: 0.04MB + Index: 0.01MB + Engine MyISAM
    *_7_rank_math_internal_meta: Data: 0.02MB + Index: 0.02MB + Engine MyISAM
    *_7_rank_math_redirections: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    *_7_rank_math_redirections_cache: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    *_7_shortpixel_queue: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    *_7_termmeta: Data: 0.07MB + Index: 0.05MB + Engine MyISAM
    *_7_terms: Data: 0.01MB + Index: 0.04MB + Engine MyISAM
    *_7_term_relationships: Data: 0.74MB + Index: 1.58MB + Engine MyISAM
    *_7_term_taxonomy: Data: 0.02MB + Index: 0.02MB + Engine MyISAM
    *_7_wcpdf_invoice_number: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    *_7_wcpdf_packing_slip_number: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    *_7_wc_admin_notes: Data: 0.04MB + Index: 0.00MB + Engine MyISAM
    *_7_wc_admin_note_actions: Data: 0.02MB + Index: 0.01MB + Engine MyISAM
    *_7_wc_category_lookup: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    *_7_wc_customer_lookup: Data: 0.00MB + Index: 0.01MB + Engine MyISAM
    *_7_wc_download_log: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    *_7_wc_order_coupon_lookup: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    *_7_wc_order_product_lookup: Data: 0.00MB + Index: 0.01MB + Engine MyISAM
    *_7_wc_order_stats: Data: 0.00MB + Index: 0.01MB + Engine MyISAM
    *_7_wc_order_tax_lookup: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    *_7_wc_product_attributes_lookup: Data: 0.70MB + Index: 0.77MB + Engine MyISAM
    *_7_wc_product_meta_lookup: Data: 0.08MB + Index: 0.07MB + Engine MyISAM
    *_7_wc_reserved_stock: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    *_7_wc_tax_rate_classes: Data: 0.00MB + Index: 0.01MB + Engine MyISAM
    *_7_wc_webhooks: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    *_blogmeta: Data: 0.00MB + Index: 0.01MB + Engine MyISAM
    *_blogs: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    *_registration_log: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    *_signups: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    *_site: Data: 0.00MB + Index: 0.01MB + Engine MyISAM
    *_sitemeta: Data: 0.56MB + Index: 0.03MB + Engine MyISAM
    *_usermeta: Data: 0.13MB + Index: 0.04MB + Engine MyISAM
    *_users: Data: 0.01MB + Index: 0.01MB + Engine MyISAM
    
    ### Post Type Counts ###
    
    attachment: 1812
    ckit_size_guide: 1
    custom_css: 3
    customize_changeset: 49
    elementor_library: 9
    jb_store_css: 10
    jetpack_migration: 2
    mailpoet_page: 1
    nav_menu_item: 245
    oembed_cache: 33
    page: 43
    post: 5
    product: 932
    product_variation: 11
    revision: 325
    shop_coupon: 3
    shop_order: 12
    shop_order_refund: 1
    wp_block: 1
    wp_global_styles: 2
    wp_navigation: 5
    wpc_product_faq: 9
    wpclv: 36
    
    ### Security ###
    
    Secure connection (HTTPS): ?
    Hide errors from visitors: ?
    
    ### Active Plugins (20) ###
    
    Claim Gst: by Cozy Vision Technologies Pvt. Ltd. – 1.3.2
    CommerceGurus CommerceKit: by CommerceGurus – 2.2.2
    Elementor: by Elementor.com – 3.12.1
    Kirki Customizer Framework: by David Vongries – 4.1.1
    Rank Math SEO: by Rank Math – 1.0.111
    Razorpay for WooCommerce: by Team Razorpay – 4.4.3
    WooCommerce Google Analytics Integration: by WooCommerce – 1.7.0
    PDF Invoices & Packing Slips for WooCommerce: by WP Overnight – 3.5.1
    WooCommerce Unit Of Measure: by Bradley Davis – 3.0.3
    WooCommerce: by Automattic – 7.5.1
    Asset CleanUp: Page Speed Booster: by Gabe Livan – 1.3.9.1
    WPC Linked Variation for WooCommerce: by WPClever – 4.0.3
    WPC Product FAQs for WooCommerce: by WPClever – 2.1.1
    Akismet Anti-Spam: by Automattic – 5.1
    CAPTCHA 4WP: by WP White Security – 7.1.1
    Limit Login Attempts Reloaded: by Limit Login Attempts Reloaded – 2.25.15
    WP-DBManager: by Lester 'GaMerZ' Chan – 2.80.9
    Login Logger: by Stephen Merriman – 1.2.1
    Jetpack: by Automattic – 12.0
    W3 Total Cache: by BoldGrid – 2.3.1
    
    ### Inactive Plugins (30) ###
    
    ****
    
    
    ### Dropin Plugins (3) ###
    
    advanced-cache.php: advanced-cache.php
    db.php: db.php
    maintenance.php: maintenance.php
    
    ### Must Use Plugins (1) ###
    
    Health Check Troubleshooting Mode: by  – 1.8.1
    
    ### Settings ###
    
    API Enabled: –
    Force SSL: –
    Currency: INR (?)
    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: ?
    Order datastore: WC_Order_Data_Store_CPT
    
    ### WC Pages ###
    
    Shop base: #5 - /shop/
    Cart: #6 - /my-account/cart/
    Checkout: #7 - /my-account/checkout/
    My account: #8 - /my-account/
    Terms and conditions: #112 - /policy/terms/
    
    ### Theme ###
    
    Name: Shoptimizer Child Theme - SSF
    Version: 1.2.1.D2D.4
    Author URL: 
    Child Theme: ?
    Parent Theme Name: Shoptimizer
    Parent Theme Version: 2.6.5
    Parent Theme Author URL: https://www.commercegurus.com/
    WooCommerce Support: ?
    
    ### Templates ###
    
    Overrides: shoptimizer-child-ssf/woocommerce/single-product/product-attributes.php
    
    ### Admin ###
    
    Enabled Features: activity-panels
    analytics
    coupons
    customer-effort-score-tracks
    import-products-task
    experimental-fashion-sample-products
    shipping-smart-defaults
    shipping-setting-tour
    homescreen
    marketing
    multichannel-marketing
    mobile-app-banner
    navigation
    onboarding
    onboarding-tasks
    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
    product-variation-management
    settings
    
    Daily Cron: ? Next scheduled: 2023-04-11 17:59:24 +05:30
    Options: ?
    Notes: 95
    Onboarding: completed
    
    ### Action Scheduler ###
    
    Complete: 6,469
    Oldest: 2023-03-11 21:30:16 +0530
    Newest: 2023-04-11 10:34:58 +0530
    
    Failed: 1,079
    Oldest: 2022-09-15 07:51:29 +0530
    Newest: 2023-04-11 08:30:46 +0530
    
    Pending: 4
    Oldest: 2023-04-12 01:58:42 +0530
    Newest: 2023-05-03 05:32:21 +0530
    
    
    ### Status report information ###
    
    Generated at: 2023-04-11 12:57:07 +05:30
    `

    Here is the file: https://drive.google.com/file/d/1Ej6zaj_RaYXg-u1KiEnbBxLRk_XBAaXg/view?usp=sharing

    I even tried this code woocommerce_background_image_regeneration but didn’t seems to work for me, even updated php.ini

    max_execution_time = 30000
    max_input_time = 30000
    max_input_vars = 10000
    memory_limit = 1024M
    post_max_size = 1024M
    session.gc_maxlifetime = 1440
    upload_max_filesize = 512M


    Hi @dzire2dzine

    Thanks for sharing the requested information above.

    I tried to import the CSV file on my personal site, and I was able to import 29 products successfully as you can see below:

    As for the error logs, this is what I see since I already have these products:

    Here’s the Products page at the back-end:

    Front-end:

    For us to investigate this further, can you please try to switch to the default Storefront theme and only WooCommerce plugin is enabled, import the CSV file again and see if this works?

    If so, then this kind of problem is usually caused by your theme or a third-party plugin present on your site. We can run a conflict test to verify this. I’d recommend cloning your site to a staging environment and performing the tests described on this guide without modifying your live site or impacting customers. Many hosts provide staging facilities, so it’s worth checking in with them. It’s also possible to do it using the free WP Staging plugin.

    If this was caused by a third-party plugin present on your site, it would be best to reach out to the developers for further assistance here.

    Let us know how it goes!

    Thread Starter Saket Jajodia

    (@dzire2dzine)

    @xue28 thanks, it seems to be server problem maybe, for now I managed to import all the product, I will have to do it multiple times in small chunks it seems. Thanks alot

    Hi,

    Glad to hear that you have found a work-around.

    If you have a few minutes, we’d love it if you could share your experience with the community by leaving a review here, this is optional.

    If you have any other questions, feel free to create a new thread.

    Best.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘product import only imported 1 product’ is closed to new replies.