Jump to content

Problem in importing supply order details from csv


Recommended Posts

  • 1 month later...

Hi, also having very similar problems.

 

You can find Product Attribute ID under Catalog > Product Attributes.

 

When I attempt to import 'Supply order Details' via csv using the attribute ID's however, it returns the message: ERROR - 'Product (10/3) is not available for this order)' implying the attribute does not exist - but it does.

 

Is this a similar scenario to yours?

 

Version 1.6.0.8

 

Thanks

  • Like 1
Link to comment
Share on other sites

Hi, also having very similar problems.

 

You can find Product Attribute ID under Catalog > Product Attributes.

 

When I attempt to import 'Supply order Details' via csv using the attribute ID's however, it returns the message: ERROR - 'Product (10/3) is not available for this order)' implying the attribute does not exist - but it does.

 

Is this a similar scenario to yours?

 

Version 1.6.0.8

 

Thanks

 

public function supplyOrdersDetailsImport() 

...

// checks parameters
 
if (false === ($supplier_reference = ProductSupplier::getProductSupplierReference($id_product, $id_product_attribute, $supply_order->id_supplier)))
 
$this->errors[] = sprintf($this->l('Product (%d/%d) is not available for this order (at line %d).'), $id_product,
$id_product_attribute, $current_line + 1);

 

Above condition found in AdminImportController.php results in the error but am unable to to elaborate on why this condition is not met.

Link to comment
Share on other sites

  • 1 month later...

I am having the exact same problem, seems to work fine whenever i import a product without combinations, but no matter what I try I get the same error as above for any products with combos.

 

Were either of you able to solve the issue? Any advice would be much appreciated! 

Link to comment
Share on other sites

×
×
  • Create New...