• Resolved Augusto Gentile

    (@agugentile)


    Hi, I have been breaking my mind and I couldn’t solve this problem while updating products by csv files.

    At the image row on the excel or google sheet, I have concatenated the fields to get the final path or image name file usig the product title.
    For example domain.com/wp-content/uploads/2022/03/producttitle1.jpg or producttitle1.jpg

    Using this formula: =concatenate(SUBSTITUTE(TRIM (D2), ” “, “-“),”1″,”.jpg”)

    The issue comes when I try to open the URL in a new tab I get error 404 (it is exactly the same path I get from media library). As it does not open in a new tab neither get a successful import after uploading the file.

    The tricky thing is that if I paste the path from media library at the row is does update the image product correctly.

    I have already tried many things:
    – permanent links
    – use google sheets or excel
    – delimiter , or ;
    – copy and paste the concatenation value result on another row
    – changed file and row permissions

    I am getting out of my mind.

    This is the weirdest thing I have ever experienced.

    Hope I was clear enough to explain this issue

Viewing 8 replies - 1 through 8 (of 8 total)
  • Mirko P.

    (@rainfallnixfig)

    Hi @agugentile,

    Thank you for reaching out!

    To get a better understanding, could you please share a sample CSV file? To share files we generally suggest using https://www.file.io/ – you can upload the file then share the URL on this thread.

    Could you also 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”. Once you’ve done that, paste it here in your comment.

    We look forward to your response.

    Thread Starter Augusto Gentile

    (@agugentile)

    Thanks for your quick response.

    I am sharing here the google sheet url file

    Google Sheet Link

    Report:

    
    ### WordPress Environment ###
    
    WordPress address (URL): https://terranovajoyas.com
    Site address (URL): https://terranovajoyas.com
    WC Version: 6.2.1
    REST API Version: ✔ 6.2.1
    WC Blocks Version: ✔ 6.7.3
    Action Scheduler Version: ✔ 3.4.0
    WC Admin Version: ✔ 3.1.0
    Log Directory Writable: ✔
    WP Version: 5.9.1
    WP Multisite: –
    WP Memory Limit: 512 MB
    WP Debug Mode: –
    WP Cron: ✔
    Language: es_ES
    External object cache: –
    
    ### Server Environment ###
    
    Server Info: LiteSpeed
    PHP Version: 7.3.33
    PHP Post Max Size: 256 MB
    PHP Time Limit: 300
    PHP Max Input Vars: 5000
    cURL Version: 7.71.0
    OpenSSL/1.1.1d
    
    SUHOSIN Installed: –
    MySQL Version: 5.5.5-10.5.13-MariaDB-cll-lve
    Max Upload Size: 256 MB
    Default Timezone is UTC: ✔
    fsockopen/cURL: ✔
    SoapClient: ✔
    DOMDocument: ✔
    GZip: ✔
    Multibyte String: ✔
    Remote Post: ✔
    Remote Get: ✔
    
    ### Database ###
    
    WC Database Version: 6.2.1
    WC Database Prefix: wp_
    Tamaño total de la base de datos: 80.61MB
    Tamaño de los datos de la base de datos: 59.48MB
    Tamaño del índice de la base de datos: 21.13MB
    wp_woocommerce_sessions: Datos: 0.02MB + Índice: 0.02MB + Motor InnoDB
    wp_woocommerce_api_keys: Datos: 0.02MB + Índice: 0.03MB + Motor InnoDB
    wp_woocommerce_attribute_taxonomies: Datos: 0.02MB + Índice: 0.02MB + Motor InnoDB
    wp_woocommerce_downloadable_product_permissions: Datos: 0.02MB + Índice: 0.06MB + Motor InnoDB
    wp_woocommerce_order_items: Datos: 0.02MB + Índice: 0.02MB + Motor InnoDB
    wp_woocommerce_order_itemmeta: Datos: 0.02MB + Índice: 0.03MB + Motor InnoDB
    wp_woocommerce_tax_rates: Datos: 0.02MB + Índice: 0.06MB + Motor InnoDB
    wp_woocommerce_tax_rate_locations: Datos: 0.02MB + Índice: 0.03MB + Motor InnoDB
    wp_woocommerce_shipping_zones: Datos: 0.02MB + Índice: 0.00MB + Motor InnoDB
    wp_woocommerce_shipping_zone_locations: Datos: 0.02MB + Índice: 0.03MB + Motor InnoDB
    wp_woocommerce_shipping_zone_methods: Datos: 0.02MB + Índice: 0.00MB + Motor InnoDB
    wp_woocommerce_payment_tokens: Datos: 0.02MB + Índice: 0.02MB + Motor InnoDB
    wp_woocommerce_payment_tokenmeta: Datos: 0.02MB + Índice: 0.03MB + Motor InnoDB
    wp_woocommerce_log: Datos: 0.02MB + Índice: 0.02MB + Motor InnoDB
    wp_actionscheduler_actions: Datos: 2.52MB + Índice: 3.20MB + Motor InnoDB
    wp_actionscheduler_claims: Datos: 0.02MB + Índice: 0.02MB + Motor InnoDB
    wp_actionscheduler_groups: Datos: 0.02MB + Índice: 0.02MB + Motor InnoDB
    wp_actionscheduler_logs: Datos: 2.52MB + Índice: 2.03MB + Motor InnoDB
    wp_commentmeta: Datos: 0.02MB + Índice: 0.03MB + Motor InnoDB
    wp_comments: Datos: 0.02MB + Índice: 0.09MB + Motor InnoDB
    wp_links: Datos: 0.02MB + Índice: 0.02MB + Motor InnoDB
    wp_litespeed_url: Datos: 0.02MB + Índice: 0.03MB + Motor InnoDB
    wp_litespeed_url_file: Datos: 0.02MB + Índice: 0.08MB + Motor InnoDB
    wp_ms_snippets: Datos: 0.02MB + Índice: 0.00MB + Motor InnoDB
    wp_options: Datos: 13.42MB + Índice: 1.19MB + Motor InnoDB
    wp_postmeta: Datos: 23.55MB + Índice: 9.97MB + Motor InnoDB
    wp_posts: Datos: 8.48MB + Índice: 2.20MB + Motor InnoDB
    wp_snippets: Datos: 0.02MB + Índice: 0.00MB + Motor InnoDB
    wp_termmeta: Datos: 0.06MB + Índice: 0.06MB + Motor InnoDB
    wp_terms: Datos: 0.06MB + Índice: 0.03MB + Motor InnoDB
    wp_term_relationships: Datos: 0.30MB + Índice: 0.22MB + Motor InnoDB
    wp_term_taxonomy: Datos: 0.06MB + Índice: 0.06MB + Motor InnoDB
    wp_usermeta: Datos: 0.05MB + Índice: 0.03MB + Motor InnoDB
    wp_users: Datos: 0.02MB + Índice: 0.05MB + Motor InnoDB
    wp_user_registration_sessions: Datos: 0.02MB + Índice: 0.02MB + Motor InnoDB
    wp_wc_admin_notes: Datos: 0.06MB + Índice: 0.00MB + Motor InnoDB
    wp_wc_admin_note_actions: Datos: 0.02MB + Índice: 0.02MB + Motor InnoDB
    wp_wc_category_lookup: Datos: 0.05MB + Índice: 0.00MB + Motor InnoDB
    wp_wc_customer_lookup: Datos: 0.02MB + Índice: 0.03MB + Motor InnoDB
    wp_wc_download_log: Datos: 0.02MB + Índice: 0.03MB + Motor InnoDB
    wp_wc_order_coupon_lookup: Datos: 0.02MB + Índice: 0.03MB + Motor InnoDB
    wp_wc_order_product_lookup: Datos: 0.02MB + Índice: 0.06MB + Motor InnoDB
    wp_wc_order_stats: Datos: 0.02MB + Índice: 0.05MB + Motor InnoDB
    wp_wc_order_tax_lookup: Datos: 0.02MB + Índice: 0.03MB + Motor InnoDB
    wp_wc_product_meta_lookup: Datos: 0.39MB + Índice: 0.61MB + Motor InnoDB
    wp_wc_rate_limits: Datos: 0.02MB + Índice: 0.02MB + Motor InnoDB
    wp_wc_reserved_stock: Datos: 0.02MB + Índice: 0.00MB + Motor InnoDB
    wp_wc_tax_rate_classes: Datos: 0.02MB + Índice: 0.02MB + Motor InnoDB
    wp_wc_webhooks: Datos: 0.02MB + Índice: 0.02MB + Motor InnoDB
    wp_wfblockediplog: Datos: 0.02MB + Índice: 0.00MB + Motor InnoDB
    wp_wfblocks7: Datos: 0.02MB + Índice: 0.05MB + Motor InnoDB
    wp_wfconfig: Datos: 0.47MB + Índice: 0.00MB + Motor InnoDB
    wp_wfcrawlers: Datos: 0.02MB + Índice: 0.00MB + Motor InnoDB
    wp_wffilechanges: Datos: 0.02MB + Índice: 0.00MB + Motor InnoDB
    wp_wffilemods: Datos: 4.52MB + Índice: 0.00MB + Motor InnoDB
    wp_wfhits: Datos: 0.17MB + Índice: 0.05MB + Motor InnoDB
    wp_wfhoover: Datos: 0.02MB + Índice: 0.02MB + Motor InnoDB
    wp_wfissues: Datos: 0.02MB + Índice: 0.06MB + Motor InnoDB
    wp_wfknownfilelist: Datos: 1.52MB + Índice: 0.00MB + Motor InnoDB
    wp_wflivetraffichuman: Datos: 0.02MB + Índice: 0.02MB + Motor InnoDB
    wp_wflocs: Datos: 0.02MB + Índice: 0.00MB + Motor InnoDB
    wp_wflogins: Datos: 0.06MB + Índice: 0.03MB + Motor InnoDB
    wp_wfls_2fa_secrets: Datos: 0.02MB + Índice: 0.02MB + Motor InnoDB
    wp_wfls_settings: Datos: 0.02MB + Índice: 0.00MB + Motor InnoDB
    wp_wfnotifications: Datos: 0.02MB + Índice: 0.00MB + Motor InnoDB
    wp_wfpendingissues: Datos: 0.02MB + Índice: 0.06MB + Motor InnoDB
    wp_wfreversecache: Datos: 0.02MB + Índice: 0.00MB + Motor InnoDB
    wp_wfsnipcache: Datos: 0.02MB + Índice: 0.05MB + Motor InnoDB
    wp_wfstatus: Datos: 0.14MB + Índice: 0.13MB + Motor InnoDB
    wp_wftrafficrates: Datos: 0.02MB + Índice: 0.00MB + Motor InnoDB
    wp_wpforms_tasks_meta: Datos: 0.02MB + Índice: 0.00MB + Motor InnoDB
    wp_wpmailsmtp_debug_events: Datos: 0.02MB + Índice: 0.00MB + Motor InnoDB
    wp_wpmailsmtp_tasks_meta: Datos: 0.02MB + Índice: 0.00MB + Motor InnoDB
    
    ### Post Type Counts ###
    
    attachment: 3391
    custom_css: 2
    customize_changeset: 3
    et_body_layout: 15
    et_footer_layout: 1
    et_template: 93
    et_theme_builder: 1
    nav_menu_item: 154
    page: 12
    post: 2
    product: 2637
    product_variation: 979
    revision: 336
    seedprod: 1
    user_registration: 1
    wcpa_pt_forms: 2
    wp_global_styles: 1
    
    ### Security ###
    
    Secure connection (HTTPS): ✔
    Hide errors from visitors: ✔
    
    ### Active Plugins (19) ###
    
    Payment Gateway Based Fees and Discounts for WooCommerce: por Tyche Softwares – 2.6.4
    Code Snippets: por Code Snippets Pro – 2.14.3
    Coming Soon Page, Maintenance Mode, Landing Pages & WordPress Website Builder by SeedProd: por SeedProd – 6.10.0
    Jetpack: por Automattic – 10.7
    LiteSpeed Cache: por LiteSpeed Technologies – 4.5.0.1
    Mime Types Plus: por Katsushi Kawamori – 2.03
    Really Simple SSL: por Really Simple Plugins – 5.2.3
    User Registration: por WPEverest – 2.1.4.1
    Checkout Field Editor for WooCommerce: por ThemeHigh – 1.5.3
    Woocommerce Custom Product Addons: por Acowebs – 3.9.8
    WPC Fly Cart for WooCommerce: por WPClever – 4.2.5
    Mercado Pago payments for WooCommerce: por Mercado Pago – 5.7.4
    WooCommerce Visibility: por codemine – 4.6
    WooCommerce Wholesale Prices: por Rymera Web Co – 2.0.1
    WooCommerce: por Automattic – 6.2.1
    Wordfence Security: por Wordfence – 7.5.8
    WP Mail SMTP: por WPForms – 3.3.0
    Social Chat: por QuadLayers – 5.0.1
    YITH WooCommerce Waiting List: por YITH – 1.13.0
    
    ### Inactive Plugins (0) ###
    
    ### Settings ###
    
    API Enabled: –
    Force SSL: –
    Currency: ARS ($)
    Currency Position: left_space
    Thousand Separator: .
    Decimal Separator: ,
    Number of Decimals: 0
    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)
    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 ###
    
    Base de la tienda: #36 - /tienda/
    Carrito: #37 - /carrito/
    Finalizar compra: #38 - /finalizar-compra/
    Mi cuenta: #39 - /mi-cuenta/
    Términos y condiciones: ❌ Página sin definir
    
    ### Theme ###
    
    Name: Divi_child
    Version: (la actualización a la versión 0 está disponible)
    Author URL: 
    Child Theme: ✔
    Parent Theme Name: Divi
    Parent Theme Version: 4.14.8
    Parent Theme Author URL: http://www.elegantthemes.com
    WooCommerce Support: ✔
    
    ### Templates ###
    
    Overrides: –
    
    ### Action Scheduler ###
    
    Cancelada: 1
    Oldest: 2022-03-03 00:08:42 +0000
    Newest: 2022-03-03 00:08:42 +0000
    
    Completo: 8.871
    Oldest: 2022-02-09 14:22:29 +0000
    Newest: 2022-03-03 00:08:42 +0000
    
    Pendiente: 3
    Oldest: 2022-03-03 10:25:42 +0000
    Newest: 2022-03-07 18:05:10 +0000
    
    ### Status report information ###
    
    Generated at: 2022-03-02 23:55:28 -03:00
    

    Hello there,

    Thanks for sending this information.

    I checked the file, it looks that the issue is because it is using the character ñ.

    I can see the product link (with the “ñ”):
    https://terranovajoyas.com/wp-content/uploads/2022/03/Esclava-de-Plata-Media-Caña-12mm1.jpg

    Is converted into (Which technically is a different link, note the %CC%83):
    https://terranovajoyas.com/wp-content/uploads/2022/03/Esclava-de-Plata-Media-Can%CC%83a-12mm1.jpg

    Did you try this one last link in your file? Can you please check if it works for you?

    Let us know 🙂

    • This reply was modified 4 years, 3 months ago by Igor H.
    • This reply was modified 4 years, 3 months ago by Igor H.
    Thread Starter Augusto Gentile

    (@agugentile)

    It did work! Many Thanks.

    I think I will have trouble with other characters like “Dublé”.

    Do you know how can I know the conversion of those characters?

    Hi Augusto,

    You are very welcome.

    It depends on the type of Unicode being used.

    To learn more about this you can refer to this page.

    Also, this Stack overflow article explains the situation.

    I hope this provides clarity.

    Thread Starter Augusto Gentile

    (@agugentile)

    Perfect! I will check that out.

    I really appreciate your help. It’s great to find people like you.

    We’re glad to be of help!

    Do keep us posted on whether the problem was solved.

    Thanks

    We haven’t heard back from you in a while, so I’m marking this thread as resolved – we’ll be here if and/or when you are ready to continue.

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

The topic ‘CSV import images’ is closed to new replies.