diff --git a/backend/src/products/torob.controller.ts b/backend/src/products/torob.controller.ts index 5292f1cd..ac0c420e 100644 --- a/backend/src/products/torob.controller.ts +++ b/backend/src/products/torob.controller.ts @@ -186,6 +186,8 @@ export class TorobController { const isInStock = product.stockStatus !== 'DISCONTINUED' && + product.stockStatus !== 'OUT_OF_STOCK' && + (product.packageSize === null || Number(product.packageSize) > 0) && String(product.stockStatus || '') .toLowerCase() .includes('in');