Jump to content

some advice please


Recommended Posts

can anyone tell me why i am getting this when importing thanks:

 

 

831.

832. $message = $this->validateField($field, $this->$field);

833. if ($message !== true)

834. {

835. if ($die)

836. throw new PrestaShopException($message);

837. return $error_return ? $message : false;

838. }

839. }

840.

841. return true;

Link to comment
Share on other sites

am still getting this, (hmm) there is something i am missing and tried all of most of the fixes now, it is beginning to annoy me and wind me up, anyone please:-

Property ProductSupplier->id_product is not valid

at line 837 in file classes/ObjectModel.php

 

831.

832. $message = $this->validateField($field, $this->$field);

833. if ($message !== true)

834. {

835. if ($die)

836. throw new PrestaShopException($message);

837. return $error_return ? $message : false;

838. }

839. }

840.

841. return true;

Link to comment
Share on other sites

  • 2 weeks later...

Hi, sorry i have worked it out now, it was with my csv. file, it was not done correct, i downloaded the sample of csv that i want to upload and splits all fields in excel, and put them all in order of how it is shown in csv,

 

look at this attachment images 1st, then look how i set it up in the 2nd attachment,

 

then when you have done save as csv.file,

 

when uploading in your office, you get a choice of how to split the pages, in image 3 i put a red box, if you change that from ; to this , and click this option:- Delete all products before import?

 

When you get to next page you will see this: attachment 4, select the option for the choice you want, then finish and it should be all done, good luck and hope some of this helps

post-469738-0-79019100-1361359963_thumb.png

post-469738-0-97177800-1361360003_thumb.png

post-469738-0-07701100-1361360303_thumb.png

post-469738-0-74451400-1361360449_thumb.png

  • Like 1
Link to comment
Share on other sites

  • 2 weeks later...

Same problem!!

 

 

 

[PrestaShopException]

Property ProductSupplier->id_product is not valid

at line 837 in file classes/ObjectModel.php

 

831.

832. $message = $this->validateField($field, $this->$field);

833. if ($message !== true)

834. {

835. if ($die)

836. throw new PrestaShopException($message);

837. return $error_return ? $message : false;

838. }

839. }

840.

841. return true;

Link to comment
Share on other sites

  • 1 month later...
  • 8 months later...
  • 2 weeks later...

Followed your steps and did a Test, awesome it works (but i skipped delete all products and just skipped the lines which I knew were correct)

Now to add the rest :)

 

Hi, sorry i have worked it out now, it was with my csv. file, it was not done correct, i downloaded the sample of csv that i want to upload and splits all fields in excel, and put them all in order of how it is shown in csv,

look at this attachment images 1st, then look how i set it up in the 2nd attachment,

then when you have done save as csv.file,

when uploading in your office, you get a choice of how to split the pages, in image 3 i put a red box, if you change that from ; to this , and click this option:- Delete all products before import?

When you get to next page you will see this: attachment 4, select the option for the choice you want, then finish and it should be all done, good luck and hope some of this helps

Link to comment
Share on other sites

×
×
  • Create New...