-
Notifications
You must be signed in to change notification settings - Fork 86
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: order recurrence (subscription support) #1690
base: develop
Are you sure you want to change the base?
Conversation
48251ed
to
8404556
Compare
8404556
to
17e950c
Compare
1d1fc88
to
4be7a4a
Compare
3358318
to
d4125b1
Compare
7d8e9c0
to
cec66f0
Compare
Azure Demo Servers are available: |
5b90b6f
to
9ee5d14
Compare
Azure Demo Servers are available: |
|
src/assets/i18n/en_US.json
Outdated
"account.recurring_order.details.inactive-by-system.message": "The last planned order could not be placed and the recurring order has been deactivated.", | ||
"account.recurring_order.details.inactive.message": "Your recurring order is currently inactive. Activate it now to continue receiving regular deliveries and exclusive discounts.", | ||
"account.recurring_order.details.inactive.text": "Inactive", | ||
"account.recurring_order.details.info_message": "Please note: Orders are created even if prices or the availability of subscribed items have changed. See the order confirmation for details.", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
As we want to get rid of the word "subscription": I'd suggest changing "of subscribed items" to "of included items" here.
src/assets/i18n/en_US.json
Outdated
"account.recurring_order.details.inactive.message": "Your recurring order is currently inactive. Activate it now to continue receiving regular deliveries and exclusive discounts.", | ||
"account.recurring_order.details.inactive.text": "Inactive", | ||
"account.recurring_order.details.info_message": "Please note: Orders are created even if prices or the availability of subscribed items have changed. See the order confirmation for details.", | ||
"account.recurring_order.details.last_order_date.label": "Last order date", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Shouldn't it be only "Last order"?
src/assets/i18n/en_US.json
Outdated
"account.recurring_order.details.last_order_date.label": "Last order date", | ||
"account.recurring_order.details.last_placed_orders.label": "Last five orders", | ||
"account.recurring_order.details.links.return_to_orders": "Back to recurring orders", | ||
"account.recurring_order.details.next_order_date.label": "Next order date", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Shouldn't it be only "Next order"?
Azure Demo Servers are available: |
I will ask Ami to double-check French localization. Please do not consider localizations done before approval. |
…text within generated forms
…ges) * implemented as standalone component
* checks for an enabled server setting before routing
6745253
to
b82b990
Compare
* create recurring order during checkout * handle recurring orders in requisition/approval listings * recurring orders listing in my account * recurring order details Co-authored-by: Susanne Schneider <s.schneider@intershop.de>
Azure Demo Servers are available: |
b82b990
to
6948724
Compare
It turns out that the wording "taxation ID" is not ideal as it doesn't clearly refer to the intended number: We could adjust it for PWA in the course of this pull request, but it may probably be better to do it in a separate branch, as we would not only touch your new localization keys by that change but all occurrences in the localization file. |
@mglatter Please make sure that the changes are also made in the ICM and CEC. Thanks! |
We will handle this in a separate ticket covering all these. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please see my comments at formly.md
Localization can be considered done and approved.
src/assets/i18n/de_DE.json
Outdated
"account.recurring_order.details.shipping_method.heading": "Shipping method", | ||
"account.recurring_order.details.status.label": "Status", | ||
"account.recurring_order.details.taxationId.label": "Taxation ID:", | ||
"account.recurring_order.heading": "Recurring Order Details", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sentence case: Recurring order details
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Adjusted in EN where this remark should have been written.
src/assets/i18n/de_DE.json
Outdated
"account.recurring_order.details.taxationId.label": "Taxation ID:", | ||
"account.recurring_order.heading": "Recurring Order Details", | ||
"account.recurring_order.subtitle": "Below are details about the item(s) in your recurring order. If you ordered more than one item, please note that some items may display a different shipping method and/or status because they are shipped in a separate package.", | ||
"account.recurring_orders.breadcrumb": "Recurring Order", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sentence case: Recurring order
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Adjusted in EN where this remark should have been written.
src/assets/i18n/de_DE.json
Outdated
"account.recurring_order.details.status.label": "Status", | ||
"account.recurring_order.details.taxationId.label": "Taxation ID:", | ||
"account.recurring_order.heading": "Recurring Order Details", | ||
"account.recurring_order.subtitle": "Below are details about the item(s) in your recurring order. If you ordered more than one item, please note that some items may display a different shipping method and/or status because they are shipped in a separate package.", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"Please find details about the item(s) in your recurring order below. If you ordered more than one item, please note that some items may display a different shipping method and/or status because they are shipped in a separate package."
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Adjusted in EN where this remark should have been written.
src/assets/i18n/de_DE.json
Outdated
"account.recurring_orders.link.title.remove": "Delete recurring order \"{{0}}\"", | ||
"account.recurring_orders.navigation.link": "Recurring orders", | ||
"account.recurring_orders.no_placed_orders_message": "You have not placed a recurring order yet.", | ||
"account.recurring_orders.subtitle": "Your most recent recurring order appears first. Please allow up to 5 minutes for new orders to appear below.", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"Your most recent recurring order appears first. It may take up to 5 minutes for new orders to appear."
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Adjusted in EN where this remark should have been written.
src/assets/i18n/de_DE.json
Outdated
"account.recurring_order.details.inactive.text": "Inactive", | ||
"account.recurring_order.details.info_message": "Please note: Orders are created even if prices or the availability of subscribed items have changed. See the order confirmation for details.", | ||
"account.recurring_order.details.last_order_date.label": "Last order date", | ||
"account.recurring_order.details.last_placed_orders.label": "Last placed orders", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"Last 5 orders"
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Adjusted in EN where this remark should have been written.
docs/guides/formly.md
Outdated
| ish-html-text-field | Only display the form value as html | ---- | | ||
| ish-date-picker-field | Basic datepicker | `minDays`: Computes the minDate by adding the minimum allowed days to today. `maxDays`: Computes the maxDate by adding the maximum allowed days to today. `isSatExcluded`: Specifies if saturdays can be disabled. `isSunExcluded`: Specifies if sundays can be disabled. | | ||
| ish-date-range-picker-field | Datepicker with range | `minDays`: Computes the minDate by adding the minimum allowed days to today. `maxDays`: Computes the maxDate by adding the maximum allowed days to today. `startDate`: The start date. `placeholder`: Placeholder that displays the date format in the input field. | | ||
| Name | Description | Relevant props | |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Relevant props → Better to write "Relevant properties" because props has many different meanings.
| ish-date-range-picker-field | Datepicker with range | `minDays`: Computes the minDate by adding the minimum allowed days to today. `maxDays`: Computes the maxDate by adding the maximum allowed days to today. `startDate`: The start date. `placeholder`: Placeholder that displays the date format in the input field. | | ||
| Name | Description | Relevant properties | | ||
| --------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------ | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | ||
| ish-text-input-field | Basic input field, supports all text types | `type`: 'text (default),'email','tel','password'. `mask`: input mask for a needed pattern (see [ngx-mask](https://www.npmjs.com/package/ngx-mask) for more information) | |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It seems that there is an apostrophe missing here: 'text (default)
Should it be added after "text" or after "(default)"?
| ish-date-range-picker-field | Datepicker with range | `minDays`: Computes the minDate by adding the minimum allowed days to today. `maxDays`: Computes the maxDate by adding the maximum allowed days to today. `startDate`: The start date. `placeholder`: Placeholder that displays the date format in the input field. | | ||
| Name | Description | Relevant properties | | ||
| --------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------ | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | ||
| ish-text-input-field | Basic input field, supports all text types | `type`: 'text (default),'email','tel','password'. `mask`: input mask for a needed pattern (see [ngx-mask](https://www.npmjs.com/package/ngx-mask) for more information) | |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can the 'email' property (in 3rd column) be spelled 'e-mail', or is it written in the code like this and spelling needs to remain as is?
PR Type
[x] Feature
What Is the Current Behavior?
The PWA does not support recurring orders/subscriptions.
What Is the New Behavior?
The PWA supports recurring orders/subscriptions.
Does this PR Introduce a Breaking Change?
[x] No
TODOs
see IAD https://www.figma.com/design/dyViJpIjdQbAHbdhr8z6iw/Recurring-orders?node-id=3-503&t=bTzn9muQiMK1AiKi-0
Other Information
AB#97622