Improve listing page

This commit is contained in:
2022-07-27 12:59:59 +02:00
parent 863829d291
commit bd7f230fe1
5 changed files with 78 additions and 9 deletions

View File

@@ -86,6 +86,7 @@ abstract class Product implements JsonSerializable {
public function jsonSerialize() : mixed {
return [
'id' => $this->getProductId(),
'sku' => $this->getSKU(),
'name' => $this->getName(),
'price' => $this->getPrice(),