@@ -215,8 +215,11 @@ async def get_all_indexed_products():
continue
for product in data:
- if product["attributes"]["enableQrMenu"]:
- products[product['id']] = product
+ if product["attributes"]["active"]:
+ if product["attributes"]["enableQrMenu"]:
+ products[product['id']] = product
+ else:
+ logger.warning(f"Product {product['id']}:{product['attributes']['name']} is not QR-enabled. enableQrMenu={product['attributes']['enableQrMenu']}")
# Lógica de parada
if empty_page_found:
@@ -17,8 +17,8 @@
href="https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@300;400;500;600;700&family=Noto+Sans:wght@300;400;500;600;700&family=Material+Symbols+Outlined:opsz,wght,FILL,GRAD@20..48,100..700,0..1,-50..200&display=swap"
rel="stylesheet"
/>
- <script type="module" crossorigin src="/express/assets/index-Mvh6wKvT.js"></script>
- <link rel="stylesheet" crossorigin href="/express/assets/index-A5yVUWR3.css">
+ <script type="module" crossorigin src="/express/assets/index-DF6ujk0z.js"></script>
+ <link rel="stylesheet" crossorigin href="/express/assets/index-CRUsByxL.css">
</head>
<body>
<div id="root"></div>