Update ProductTransformer.php
Additional fields for Product transformer.
This commit is contained in:
parent
6041c42270
commit
81b8f43122
1 changed files with 2 additions and 0 deletions
|
|
@ -32,6 +32,8 @@ class ProductTransformer extends EntityTransformer
|
|||
'tax_rate2' => (float) $product->tax_rate2,
|
||||
'updated_at' => $this->getTimestamp($product->updated_at),
|
||||
'archived_at' => $this->getTimestamp($product->deleted_at),
|
||||
'custom_value1' => $product->custom_value1,
|
||||
'custom_value2' => $product->custom_value2,
|
||||
]);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue