Jump to content

Zolicad

Members
  • Posts

    1
  • Joined

  • Last visited

Everything posted by Zolicad

  1. Hello, my solution is a following: 1. You need the 'id_attribute' from the 'attribute_lang' table After: $product = new Product( $product->id ); $combinationAttributes = array(); $combinationAttributes[] = 9; //id_attribute $idProductAttribute = $product->addProductAttribute( (float)0, //price (float)0, //weight 0, //unit_impact null , //ecotax (int)0, //quantity "", //id_images "" , //reference strval(""), //suppliers strval(""), //ean13 NULL, //default NULL, //location NULL //upc ); $product->addAttributeCombinaison($idProductAttribute, $combinationAttributes);
×
×
  • Create New...

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More