diff --git a/packages/app/src/components/OrderSummary/SummaryRows.tsx b/packages/app/src/components/OrderSummary/SummaryRows.tsx index ead5d44..f47deec 100644 --- a/packages/app/src/components/OrderSummary/SummaryRows.tsx +++ b/packages/app/src/components/OrderSummary/SummaryRows.tsx @@ -95,7 +95,7 @@ export const SummaryRows: React.FC<{ order: Order; editable: boolean }> = ({ ) return renderTotalRow({ - label: 'Shipping method', + label: order.shipments?.[0]?.shipping_method?.name ?? 'Shipping method', value: canEditShipments && !hasInvalidShipments ? ( <> @@ -131,7 +131,7 @@ export const SummaryRows: React.FC<{ order: Order; editable: boolean }> = ({ })} {shippingMethodRow} {renderTotalRowAmount({ - label: 'Payment method', + label: order.payment_method?.name ?? 'Payment method', amountCents: order.payment_method_amount_cents, formattedAmount: order.formatted_payment_method_amount })} diff --git a/packages/app/src/components/OrderSummary/hooks/useActionButtons.tsx b/packages/app/src/components/OrderSummary/hooks/useActionButtons.tsx index 123d229..0f2d3cd 100644 --- a/packages/app/src/components/OrderSummary/hooks/useActionButtons.tsx +++ b/packages/app/src/components/OrderSummary/hooks/useActionButtons.tsx @@ -85,7 +85,7 @@ export const useActionButtons = ({ order }: { order: Order }) => { } const continueAction: ActionButtonsProps['actions'][number] = { - label: 'Continue', + label: 'Continue editing', disabled: isLoading || !hasLineItems, onClick: () => { showSelectShippingMethodOverlay() diff --git a/packages/app/src/components/OrderSummary/orderDictionary.ts b/packages/app/src/components/OrderSummary/orderDictionary.ts index 7bf72f8..d71c9bd 100644 --- a/packages/app/src/components/OrderSummary/orderDictionary.ts +++ b/packages/app/src/components/OrderSummary/orderDictionary.ts @@ -73,7 +73,7 @@ export function getTriggerAttributeName( const dictionary: Record = { _approve: 'Approve', _archive: 'Archive', - _cancel: 'Cancel', + _cancel: 'Cancel order', _capture: 'Capture payment', _refund: 'Refund', _unarchive: 'Unarchive'