Jump to content

supplier import is not working


dasom

Recommended Posts

  • 3 weeks later...
  • 3 weeks later...
  • 2 weeks later...
  • 6 months later...

Good morning.

You just need to add a row to the ps_address table (change bold values to your corresponding ids):

INSERT INTO `ps_address`(`id_country`, `id_state`, `id_customer`, `id_manufacturer`, `id_supplier`, `id_warehouse`, `alias`, `company`, `lastname`, `firstname`, `address1`, `address2`, `postcode`, `city`, `other`, `phone`, `phone_mobile`, `vat_number`, `dni`, `active`, `deleted`) VALUES (id_country ,id_state,0, 0, id_supplier ,0 , 'supplier', '', 'supplier', 'supplier' ,'', '', '', '', '', '', '', '', 0, 1, 0);

I hope this helps you.

Best regards.

Link to comment
Share on other sites

  • 1 year later...
  • 3 weeks later...
On 1/1/2021 at 7:48 AM, dasom said:

"The address for this supplier has been deleted."

 

Hi,

Clear the cache and check once.

Else, Verify that the supplier's address is correctly entered in the PrestaShop database. Make sure that the address fields are complete and accurate. You may need to re-enter or update the address if it's missing or incorrect.

If you've recently imported suppliers, there could have been an issue with the import process. Double-check your supplier import file for any errors or missing data. Ensure that the addresses are properly formatted and correspond to the correct supplier.

Thanks!

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...