Skip to content

Commit cfa991e

Browse files
author
Andrei Kondratiev
committed
BIG-21201 fix Sku options
1 parent e9af38a commit cfa991e

File tree

1 file changed

+0
-11
lines changed
  • src/Bigcommerce/Api/Resources

1 file changed

+0
-11
lines changed

src/Bigcommerce/Api/Resources/Sku.php

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -19,17 +19,6 @@ class Sku extends Resource
1919
'product_id',
2020
);
2121

22-
public function options()
23-
{
24-
$options = Client::getCollection($this->fields->options->resource, 'SkuOption');
25-
26-
foreach ($options as $option) {
27-
$option->product_id = $this->product_id;
28-
}
29-
30-
return $options;
31-
}
32-
3322
public function create()
3423
{
3524
return Client::createResource('/products/' . $this->product_id . '/skus', $this->getCreateFields());

0 commit comments

Comments
 (0)