In the BO => Catalog => Products page => Product details page => when we try to delete a related product, a product feature, a product brand, a product image, a product combination and bulk delete product combinations, a customization field, a virtual product associated file, a product in a pack, a specific price we have an incorrect wording
We should have this message "Are you sure you want to delete this item?" in Admin.Notifications.Warning (updated by @LouiseBonnard on August 25th)
Steps to reproduce the behavior:
Screenshots
https://drive.google.com/file/d/1UfHPy6_CHhN3mXO8meh1KJOZUBUJX9SC/view?usp=sharing
For QA to check, you must try to delete:
Thanks for opening this issue! We will help you to keep its state consistent
This issue is reported by @SimonGrn
Ping @LouiseBonnard @Junebyun
Thanks!
Hi @khouloudbelguith I managed to reproduce the issue and indeed the wording is not correct! It should be modified to:
"_Are you sure you want to delete this?_" in _Admin.Notifications.Warning.
@Junebyun, I would even be more precise and write _Are you sure you want to delete this related product?_, what do you think? Localize it in _Admin.Notifications.Warning_ sounds perfect. ;-)
@Junebyun, I would even be more precise and write _Are you sure you want to delete this related product?_, what do you think? Localize it in _Admin.Notifications.Warning_ sounds perfect. ;-)
@LouiseBonnard yes, sounds good to me! :)
There is the same bad wording when we try to delete a product feature, a product brand, a product combination and bulk delete product combinations, a customization field, a virtual product associated file
@LouiseBonnard @Julievrz
As this does not only concern related products, do we define a specific message for each element (related products, combinations, brands, features, customizations fields, virtual product associated file) or do we define a standard message for all?
@marionf @LouiseBonnard I think the more specific the better, but I don't know how much technical work it represents ?
If that's too much work, maybe we can stick with a standard message.
@Julievrz, @marionf, we already have the same kind of generic message, displayed in the confirmation modal window when the user deletes one or several rows in the tables of the back office. See here. Maybe we can stick to this wording or adjust it a bit, like _Are you sure you want to delete this item/it?_.
Hey, i found the mentioned string in /admin-dev/themes/default/js/bundle/product/form.js, i changed it from
"are you sure to delete?" to
"Are you sure you want to delete this item?"
i will submit a pull request in a bit
Hello @ThanasisMpalatsoukas
thank you for your interest in this issue, but we already have a PR in QA state here.
Sorry @SimonGrn just noticed that now
Most helpful comment
@Julievrz, @marionf, we already have the same kind of generic message, displayed in the confirmation modal window when the user deletes one or several rows in the tables of the back office. See here. Maybe we can stick to this wording or adjust it a bit, like _Are you sure you want to delete this item/it?_.