Import orders via CSV and auto-fill customer address from user_id?

  • Posts: 2
  • Thank you received: 0
  • Hikashop Business
1 day 5 hours ago #367839

Hello,

When importing orders via CSV, I assign the user_id correctly and the user is properly linked to the order in the backend. However, the customer’s address data is not automatically filled in on the order.

In the backend, when assigning a user manually to an order, a popup appears with a switch called "Enter user address" which allows loading the user's address data into the order.

Is there a way to trigger this same behavior automatically during CSV import? That is, to have the address fields filled in when the user_id is assigned, just like when that switch is enabled manually.

Thank you.

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

  • Posts: 84079
  • Thank you received: 13634
  • MODERATOR
1 day 1 hour ago #367847

Hi,

There is no CSV order import in HikaShop.
So I don't know how you're importing your orders via CSV.
The hikashop_order table in the database has columns order_billing_address_id and order_shipping_address_id.
If the tool you're using to import the orders supports all the columns of HikaShop, then you can fill these columns with the id of the address you want to be used.
If you want this id to be filled automatically during the import, then that's something you need to ask to the developer of that tool.
Supposing you're using the RO CSVI import tool, then you need to talk to Roland, the developer of RO CSVI:
extensions.joomla.org/extension/ro-csvi/

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

Time to create page: 0.055 seconds
Powered by Kunena Forum