Description
TODO
Acceptance criteria
Review
- Paula Winter
Sanity:
Fee Config
This feature will be in the path:
RBI Sanity Studio > Marketing Content > Features > Feature Fees > Fee Config
This menu needs to be shown just IBERIA markets
The fields:
Default Config
It is a boolean
It isn’t required
Disable toggle, in other words, the configuration isn't a default configuration;
Enabled toggle, in other words, the configuration is a default configuration;
Configuration Title
It is a string field
It is required
When there is a value
Fee Type
It is a list field
It is required
When there is a value
Possible values:
Delivery Fee
Service Fee
Fee Expiration Date
It is a date field with mask YYYY-MM-DD
When the the Default Config toggle field disabled
It isn’t required
Will be hidden
When the the Default Config toggle field enabled
It is required
Will be shown
When there is a value
Just in the start date field
Just in the end date field
There is value in both field
Fee Discount Message
It is a translation field
In this field, there will be possibility add the discount message with all language enabled to this market;
It is required
When there is value
As the Fee Config document is used in the Fee Restaurant Config document the user can change the toggle even if the document is already published. As we don't find a way to control this we need to ensure that the user will not be able to change the value of the toggle after the first publish.
After the first publish, will disable the fields:
Default Config
Fee Type
Like that the video:
If there is a need to change the value field (Default Config or Fee Type), delete the specific document and create a new one with the new values.
This is a page with all fields
Fee Restaurant Config
This feature will be in the path:
RBI Sanity Studio > Marketing Content > Features > Feature Fees > Fee Restaurant Config
This menu needs to be shown just IBERIA markets
The fields:
Fee Restaurant Configuration Title
It is a string field
It is required
When there is value
Restaurants Group
It is a list item field
It is required
When there is an item
Delivery Fee Config
It is collapsed
When collapse is disabled
When collapse is enabled
It is required
Default Config
It is a list item field
It is required
The list must filter and show just the default config on the Delivery Fee types
Will be able to add just ONE Default Config
If Add more the 1, will validate the field
Other Config
It is a list item field
It isn’t required
When there is an item
The list must filter and show just the default config on the Delivery Fee types
Will be able to add just ONE Other Config
If Add more the 1, will validate the field
Service Fee Config
It is collapsed
When collapse is disabled
When collapse is enabled
It is required
Default Config
It is a list item field
It is required
The list must filter and show just the default config on the Service Fee types
Will be able to add just ONE Default Config
If Add more the 1, will validate the field
Other Config
It is a list item field
It isn’t required
When there is an item
The list must filter and show just the default config on the Service Fee types
Will be able to add just ONE Other Config
If Add more the 1, will validate the field
This is a page with all fields
Whitelabel:
Toggle Enabled or Disabled:
The Fee discount description will show on the fee table modal when the Sanity toggle is enabled;
When the Sanity toggle is disabled, the Fee discount description will hide on the fee table modal;
This improvement:
isn’t responsible for changing any Fee tiers values or promotion values (https://app.launchdarkly.com/intl-guest-app/dev-plk-es/features/tiered-delivery-fees/variations);
0 Comments