CMXX - Categories and catalog enhancements
This commit is contained in:
@@ -128,10 +128,15 @@ foreach ($pricelist as $price) {
|
||||
$keys_to_remove = ['status','item_status','group_status','version','config','sn','build','softwareversion','healthindex','salesflag','configurable','updatedby','createdby','updated','created'];
|
||||
removeKeysRecursive($catalog,$keys_to_remove);
|
||||
|
||||
//------------------------------------------
|
||||
//Catalog processor to split versions as new product
|
||||
//------------------------------------------
|
||||
$messages = processProductCollection($catalog);
|
||||
|
||||
//------------------------------------------
|
||||
//JSON_ENCODE
|
||||
//------------------------------------------
|
||||
$messages = json_encode($catalog, JSON_UNESCAPED_UNICODE);
|
||||
$messages = json_encode($messages, JSON_UNESCAPED_UNICODE);
|
||||
|
||||
//------------------------------------------
|
||||
//Send results
|
||||
|
||||
Reference in New Issue
Block a user