We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d9ca433 commit c9301d1Copy full SHA for c9301d1
app/javascript/components/server-components/CheckoutDashboard/UpsellsPage.tsx
@@ -271,11 +271,18 @@ const UpsellsPage = (props: {
271
aria-selected={selectedUpsellId === upsell.id}
272
>
273
<td>
274
- <div>
+ <div className="flex gap-4">
275
<div>
276
- <b>{upsell.name}</b>
+ <div>
277
+ <b>{upsell.name}</b>
278
+ </div>
279
+ <small>{formatOfferedProductName(upsell.product.name, upsell.product.variant?.name)}</small>
280
</div>
- <small>{formatOfferedProductName(upsell.product.name, upsell.product.variant?.name)}</small>
281
+ {!upsell.is_active && (
282
283
+ <span className="pill small danger">Inactive</span>
284
285
+ )}
286
287
</td>
288
{statistics ? (
0 commit comments