Importar STOCK desde archivo CSV

  • Posts: 266
  • Thank you received: 7
  • Hikashop Business
2 years 7 months ago #335122

Hola, buenos días.
Tengo un programa de facturación que me permite exportar en formato CSV el stock de los artículos de Hikashop.
¿Cómo puedo importar este stock desde el archivo CSV a HIKASHOP?
GRACIAS.

Please Log in or Create an account to join the conversation.

  • Posts: 81504
  • Thank you received: 13064
  • MODERATOR
2 years 7 months ago #335125

Hi,

The simplest is to have a CSV with 2 columns:
product_code and product_quantity
Then, you can use the "filter" "import CSV file" of a mass action via the menu System>Mass actions to import the CSV file which will update the quantity of each product in the CSV based on its product_code.

Please Log in or Create an account to join the conversation.

  • Posts: 266
  • Thank you received: 7
  • Hikashop Business
2 years 7 months ago #335127

GRACIAS NICOLÁS.

Please Log in or Create an account to join the conversation.

  • Posts: 266
  • Thank you received: 7
  • Hikashop Business
2 years 7 months ago #335161

Hola Nicolás.
¿Puedes darme un ejemplo de archivo CSv?
He probado con el stock de 1 artículo y no coge los datos.
Primero he seleccionado el archivo.
Verídico los datos con las columnas product_code y product_quantity, ejecuto la acción, da resultado OK pero no cambia el stock del artículo.
Gracias.

Please Log in or Create an account to join the conversation.

  • Posts: 81504
  • Thank you received: 13064
  • MODERATOR
2 years 7 months ago #335163

Hi,

You can see attached an example.
You need to change myproductcode by the code of the product and 10 by the new stock you actually want.

File Attachment:

File Name: example.csv
File Size:0 KB

Attachments:
Last edit: 2 years 7 months ago by nicolas.

Please Log in or Create an account to join the conversation.

  • Posts: 266
  • Thank you received: 7
  • Hikashop Business
2 years 7 months ago #335186

Hola Nicolás, buenos días.
No consigo que actualice los datos.
¿Podrías enviarme un pantallazo con la configuración completa?
Muchas gracias.
Un saludo.

Please Log in or Create an account to join the conversation.

  • Posts: 81504
  • Thank you received: 13064
  • MODERATOR
2 years 7 months ago #335190

Hi,

Here is a screenshot of a massaction with that CSV file:
i.imgur.com/FEG3eZS.png
I tested it myself before posting this message, and I can confirm this works fine.

Please Log in or Create an account to join the conversation.

Time to create page: 0.068 seconds
Powered by Kunena Forum