Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

...

...

...

Table of Contents

Table of Contents

...

For discovery information check: Improving delivery fee UX

...

  • The actual fee

  • What’s the discount (if exists)

Tasks breakdown

...

Improve the information about delivery fee information (WIP)

[WIP - Add Figma screen proposed here]

From what I saw all the places that will show a Delivery Fee information will do that in a similar way. Normally isFreeDelivery will be true when delivery fee value is equal to zero

...

With all the details we need to (WIP - Add Figma proposals here too):

  • Adjust the checkout page

    • Changing src/pages/cart/your-cart/totals/delivery-fees.tsx and src/pages/cart/your-cart/totals/taxes-and-fees.tsx as needed (we can also change something in the parent comp if necessary src/pages/cart/your-cart/totals/index.tsx)

  • Adjust the receipt details information on the recent orders page

    • Changing the isFreeDeliverycondition block on src/pages/account/account-orders/details-modal/receipt-details/receipt-details.tsx

  • Adjust the delivery confirmation page on the order details sectionAdjust the receipt details information on the recent orders page

    • Changing the Delivery render function on src/pages/order-confirmation/delivery/delivery-details.tsx

DOD-LIKE

  • Adjust the UI to show the informations as the Figma proposal

  • No need to adjust the unit tests. From what I saw we don’t have tests covering this. Just check if anything will be good (precaution)