PrestaShop / PrestaShop

PrestaShop is the universal open-source software platform to build your e-commerce solution.
https://www.prestashop-project.org/
Other
8.08k stars 4.79k forks source link

Discounts > Cart rules > Actions > Apply discount to > Selected product(s) is undefined behavior #36225

Open fulldecent opened 3 months ago

fulldecent commented 3 months ago

Prerequisites

Describe the bug and add attachments

When setting up a discount, there is an option to define a discount based on "selected product(s)".

However, the in-line documentation (i.e. hover over this option) and the "help" button/screen on the right side of the page do not define this behavior.

Perhaps this discount applies to the "Condition > production selection" items. If so, it should specifically say that.


Applicable best practice / mantra

Any error when pricing products can be very bad for a merchant. Therefore software for setting up pricing should be reliable and unambiguous.

Expected behavior

An in-line popup clearly and unambiguously explains how the pricing discount will be applied.

Steps to reproduce

Go here and click this:

Screenshot 2024-05-23 at 16 08 25

PrestaShop version(s) where the bug happened

8

PHP version(s) where the bug happened

No response

If your bug is related to a module, specify its name and its version

No response

Your company or customer's name goes here (if applicable).

No response

AureRita commented 3 months ago

Hi @fulldecent

Thank you for your report, currently, when we want to select this behavior, we have a little details under the behavior as you can see :

recording(222).webm

If you are aggree with that I think I can close this issue

Waiting for your feedback

fulldecent commented 3 months ago

That additional information is only show if no products have been selected.

In the case that products have been selected, (screenshot at top) this context is missing.

A good fix here would be to show a similar tip like "This applies to products selected on the CONDITIONS tab" in the situation at top.