price and name

This commit is contained in:
Edward Yang 2022-08-03 18:15:01 +08:00
parent 7cabf52ec7
commit 918d3b385d
1 changed files with 1 additions and 1 deletions

View File

@ -125,7 +125,7 @@ class DesignService
$tabs[$index]['title'] = $tab['title'][locale()];
$productsIds = $tab['products'];
if ($productsIds) {
$tabs[$index]['products'] = ProductRepo::getProductsByIds($productsIds);
$tabs[$index]['products'] = ProductRepo::getProductsByIds($productsIds)->jsonSerialize();
}
}
$content['tabs'] = $tabs;