File tree 1 file changed +6
-0
lines changed
1 file changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -84,6 +84,8 @@ private function resetSKUs(){
84
84
unset($ this ->options [$ op ]);
85
85
}
86
86
}
87
+ //remove Category-specific name
88
+ unset($ this ->options ['SellerSKU ' ]);
87
89
}
88
90
89
91
/**
@@ -125,6 +127,8 @@ private function resetASINs(){
125
127
unset($ this ->options [$ op ]);
126
128
}
127
129
}
130
+ //remove Category-specific name
131
+ unset($ this ->options ['ASIN ' ]);
128
132
}
129
133
130
134
/**
@@ -394,9 +398,11 @@ protected function prepareCategories(){
394
398
if (array_key_exists ('SellerSKUList.SellerSKU.1 ' ,$ this ->options )){
395
399
$ this ->options ['Action ' ] = 'GetProductCategoriesForSKU ' ;
396
400
$ this ->resetASINs ();
401
+ $ this ->options ['SellerSKU ' ] = $ this ->options ['SellerSKUList.SellerSKU.1 ' ];
397
402
} else if (array_key_exists ('ASINList.ASIN.1 ' ,$ this ->options )){
398
403
$ this ->options ['Action ' ] = 'GetProductCategoriesForASIN ' ;
399
404
$ this ->resetSKUs ();
405
+ $ this ->options ['ASIN ' ] = $ this ->options ['ASINList.ASIN.1 ' ];
400
406
}
401
407
}
402
408
You can’t perform that action at this time.
0 commit comments