This commit is contained in:
2026-09-03 16:23:29 +05:30
parent 0d17f46fcf
commit 18a0f9b34d
3 changed files with 96 additions and 0 deletions

View File

@@ -402,6 +402,10 @@ func (ctl *ProductController) GetAllProducts(c *fiber.Ctx) error {
if err == nil && isAppRequest(c) {
details = services.InStockOnlyGrouped(details)
// And nothing a shopper cannot be charged for. An unpriced product is
// unfinished, not free, and ₹0 on a phone reads as the latter.
details = services.PricedOnly(details)
// One product, three sizes — not three products.
//
// A shop stocking Aachi Baby Fryums in 100g, 500g and 1kg has three