Commit d19ab02
Improve missing product error messages
Update error messages to be more concise and user-friendly:
- For generic errors (when specific product can't be identified):
Use "A product in the cart is no longer available."
instead of "Unknown Product is no longer available..."
- For all error messages:
Remove "and couldn't be added to the order" suffix
to make messages clearer and less repetitive
Changes:
- Add subtitleGenericProduct localization for unknown products
- Update subtitleSingular: remove "and couldn't be added to the order"
- Update subtitlePlural: remove "and couldn't be added to the order"
- Update subtitle computed property to use subtitleGenericProduct
when product name is "Unknown Product"
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <[email protected]>1 parent 3c3df4c commit d19ab02
File tree
1 file changed
+14
-5
lines changed- Modules/Sources/PointOfSale/Presentation/Order Messages
1 file changed
+14
-5
lines changedLines changed: 14 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
91 | 91 | | |
92 | 92 | | |
93 | 93 | | |
94 | | - | |
95 | | - | |
96 | | - | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
97 | 100 | | |
98 | 101 | | |
99 | 102 | | |
| |||
144 | 147 | | |
145 | 148 | | |
146 | 149 | | |
147 | | - | |
| 150 | + | |
148 | 151 | | |
149 | 152 | | |
150 | 153 | | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
151 | 160 | | |
152 | 161 | | |
153 | | - | |
| 162 | + | |
154 | 163 | | |
155 | 164 | | |
156 | 165 | | |
| |||
0 commit comments