From 65c513ca931bb0c511ca6ad535e5e3fe029efb77 Mon Sep 17 00:00:00 2001 From: Brian Shim Date: Thu, 22 Aug 2024 17:19:22 -0400 Subject: [PATCH] [#188156382] Select fewer bikes to mark as new. Co-authored-by: Dayo Ajayi Co-authored-by: Carlos Poon --- apps/acme-shopping/public/catalog.html | 11 +++++------ apps/acme-shopping/public/checkout3.html | 4 ---- 2 files changed, 5 insertions(+), 10 deletions(-) diff --git a/apps/acme-shopping/public/catalog.html b/apps/acme-shopping/public/catalog.html index ba843344..bee7c023 100755 --- a/apps/acme-shopping/public/catalog.html +++ b/apps/acme-shopping/public/catalog.html @@ -154,13 +154,12 @@

Products

\ -
\ -
NEW
\ -
\ -
\ - \ '; + if(index < 5){ + content += '
NEW
'; + } + content += ''; + }); $("#rowProducts").append(content); diff --git a/apps/acme-shopping/public/checkout3.html b/apps/acme-shopping/public/checkout3.html index 604244c7..a63fafe2 100755 --- a/apps/acme-shopping/public/checkout3.html +++ b/apps/acme-shopping/public/checkout3.html @@ -165,10 +165,6 @@

Checkout - Payment method