Add costum fields using a CSV file

We're shifting our Forum based support to a more dedicated support system!

We'll be closing our Forum support from 10th June, 2020 and move to Email Support assistance.

  • If you are a WCFM premium add-ons user, contact us- here
  • Want to know more before buying our add-ons? Send Pre sale queries- here
  • If you are a WCFM free user, please open a support ticket at WordPress.org
  • For WCFM App related queries, reach us- here
From now the forum will be read-only!

Viewing 10 reply threads
  • Author
    Posts
    • #66544
      r_guayaquil
      Participant

      Hi,

      Is there a way to add the custom fields information to each product using a csv file? A have a lot of products to uplaod and adding that information one by one in the dashboard is a lot of work.

      I added a test product with some custom fields and exported it as cvs files to see which fields i will have to fill in the file to upload the custom fields information at once, but it doesnt show the fields for the custom fields.

      How can i do it with the csv file?

      Thanks for the help

    • #67016
      WCFM Forum
      Keymaster

      Hi,

      Custom fields are product meta field, so you upload those using CSV. WC Product Importer support this.

      Thank You

    • #67068
      r_guayaquil
      Participant

      Hi,

      I tried to upload the custom fields using meta product field but still doesnt show.

      I exported it the csv file with the meta fields, and even de file doesnt show the ones i created. Please see image 1

      Image 2 is how i am trying to uplaod the custom field “Precio con envio”

      Thank you for the help!

      Attachments:
      You must be logged in to view attached files.
    • #67449
      WCFM Forum
      Keymaster

      HI,

      Where it’s not showing ?

      Thank You

    • #67469
      r_guayaquil
      Participant

      Hi,

      As i mentioned before i created a new product with the custom fields, and exported it as csv file to see all the fields to upload the information at once.

      I am trying filling the csv file with all the product information including the custom fields. I am using the column header as “meta: precio con envio” which is a field i created.

      But once i upload the csv file, the custom fields dont show in the product detail page. I have to do it manually one by one.

      These are the fields i have created:

      Group name: datos_adicionales
      Field name:
      -Precio_con_envio
      -Tiempo_de_entrega
      -Formas_de_pago
      -Garantía

    • #67689
      r_guayaquil
      Participant

      Hi,

      i attached the file i exported and dont have the custom field information that i added to the product.

      Attachments:
      You must be logged in to view attached files.
    • #68293
      WCFM Forum
      Keymaster

      HI,

      Group name: datos_adicionales
      Field name:
      -Precio_con_envio
      -Tiempo_de_entrega
      -Formas_de_pago
      -Garantía

      – Do not create custom fields as Group. Keep as simple.

      It will be exported.

      Thank You

    • #68416
      r_guayaquil
      Participant

      Hi,

      I created the custom fields as simple as you suggested. I created one block that include all the custom fields, and i disabled “Fields as Group” checkbox.

      I was able to export the csv file with the meta column header but if i upload it, the custom fields still dont show in the detail product page. Please see image 1

      This is what i have:

      Block name: Datos Adicionales
      Fields as Group: Unchecked
      Fields:
      Precio_con_envio
      Tiempo_de_entrega
      Formas_de_pago
      Garantía

      Why is that?

      Thanks for the help!

      Attachments:
      You must be logged in to view attached files.
    • #68927
      WCFM Forum
      Keymaster

      HI,

      Do you have added any value for this product’s custom fields?

      https://wclovers.com/wp-content/uploads/2019/06/image-1-2.jpg – First is Block name, what is second? Is this value of any of those 4 custom fields?

      Add this line to your child theme’s functions.php if you do not want to show “Block Name” here –

      add_filter( 'wcfm_is_allow_custom_field_block_name_display', '__return_false' );

      Thank you

    • #69090
      r_guayaquil
      Participant

      Hi!

      I have added values for 2 products. It shows in one product but not in the other one. I exported the csv file again and it seems like the custom fields have repeated themselfs. Please see the file attached and help me fix it.

      Now I have to check the “Fields as Group” box if i want the custom fields to show in the product “Proyector Samsung”, If it is not checked they dont show. Please see image 1

      This is how i have set it up:

      Block name: Datos Adicionales
      Fields as Group: Unchecked
      Fields:
      Precio_con_envio
      Tiempo_de_entrega
      Formas_de_pago
      Garantía

      Attachments:
      You must be logged in to view attached files.
    • #69213
      r_guayaquil
      Participant

      Hi,

      I was able to fix it.

      Thanks!

Viewing 10 reply threads
  • The topic ‘Add costum fields using a CSV file’ is closed to new replies.