Versions Compared

Key

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

This is a template that should be used to document each feature. It’s meant to be easy, not prescriptive - change it at will!

Table of contents

Table of Contents

Definition

Status

Status
titleNOT STARTED
Status
colourBlue
titleIN DESIGN
Status
colourBlue
titleIN DEVELOPMENT
Status
colourGreen
titleCOMPLETED

RBIberia Owner

RBI Owner

❓ Open questions

Info

We need to constantly make this section empty.

  • If the product wasn´t paid 100% by rewards, Does the plastic tax be charged?

  • When the regular product tax (not plastic/sugar tax) is set separately in the POS and there are multiple items in the cart, is the tax a sum of all the items' taxes?

  • When there‘s a less than 100% discount applied to an item that has extra modifiers, are the extra modifiers discounted?

Requirements

Problem statement

Acceptance criteria (WIP)

MVP

  • There should be a respective modifier in Sanity for each franchisee Plastic Tax and Sugar Tax

    • There should be a corresponding PLU configured for Plastic Tax and Sugar Tax in the franchisee rPOS

    • Plastic Tax and Sugar Tax modifiers should be retrieved to be displayed in the DOP products list so it can be configured their prices and availability

  • The Plastic Tax and Sugar Tax modifiers should not be displayed in the options of a product

  • In the details card of an item in the checkout screen, there should be displayed the Plastic Tax and Sugar Tax modifiers if they are configured for that respective item in Sanity

  • In the details of an item in the receipt screen of an order, there should be displayed the Plastic Tax and Sugar Tax modifiers if they are configured for that respective item in Sanity

  • If the LD flag enable-hide-tax-line is off there should be a tax line displayed in the order price summary breakdown of both checkout and receipt screens

    • This tax line should not include the taxes from the Plastic Tax and Sugar Tax modifiers

  • If there‘s a reward applied that gives a 100% discount to an item, all its taxes should be zero

    • If all the items in the cart have a 100% discount applied the cart total should be zero

      • The total cart amount should be displayed as “Free”

  • If there‘s a reward applied that gives less than a 100% discount, the additional taxes (plastic, sugar, etc) should not be discounted

Enhancement

  • Move additional taxes (plastic, sugar, etc) to POS

  • Remove additional taxes (plastic, sugar, etc) modifiers from POS, DOP, and Sanity

  • Convert the LD flag enable-hide-tax-line into a Sanity configuration

Success metrics

🤔 Assumptions

  1. All the cart flow will have the plastic tax.

Solution

Scenarios

Info

Note: these are high-level scenarios that must pass testing before we can release the feature. They should also be used to drive design. Note that we do not specify user interface details in these steps - that is deliberate so that we focus on the process and not on the UI since the UI can change throughout design and development.

Scenario 1: xxx

Steps

Expected results

Do this

Expect that

Design

Figma design

Development

Release