MED-104: create booking view with categories

This commit is contained in:
Danel Kungla
2025-08-28 14:11:54 +03:00
parent 31bc4b6cff
commit ad28352fc8
9 changed files with 72 additions and 18 deletions

View File

@@ -8,7 +8,7 @@ async function ttoServicesLoader() {
const response = await getProductCategories({
fields: '*products, is_active, metadata',
});
console.log('response.product_categories', response.product_categories);
const heroCategories = response.product_categories?.filter(
({ parent_category, is_active, metadata }) =>
parent_category?.handle === 'tto-categories' &&