Skip to content
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

Eliminate unavailable combinations from product page #61

Open
marktnz1 opened this issue Nov 14, 2022 · 7 comments
Open

Eliminate unavailable combinations from product page #61

marktnz1 opened this issue Nov 14, 2022 · 7 comments
Labels
enhancement New feature or request

Comments

@marktnz1
Copy link

Users trying to choose combinations on the product page currently get presented with all created combinations for that product. They should only be shown those combinations that are available for that product and not receive a "This combination does not exist for this product. Please select another combination" warning.

@getdatakick
Copy link
Contributor

Combination selection is theme responsibility, moving this issue to niara

@getdatakick getdatakick transferred this issue from thirtybees/thirtybees Nov 14, 2022
@getdatakick getdatakick added the enhancement New feature or request label Nov 14, 2022
@getdatakick
Copy link
Contributor

This is a tricky on, and requires a very good UX design.

The problem is that there can be multiple attribute input selectors. To ensure that only valid combination can be selected, page javascript would have to filter available attribute options every time some other attribute selector changes. But that can have negative impact on user experience.

Consider this interaction:

  1. User starts by selecting blue color
  2. after color selection, size attribute options was filtered, and option 'XL' was removed from list (because combination Blue,XL does not exists).
  3. unfortunately, user needs XL, and they don't really care that much about the color. Howerver, because of the color selection, they are not able to choose XL size, even if it exists in other combination
  4. they first need to got back to color, and change it something else, and hope that XL size will be available for that

That's not very user friendly.

We would probably have to allow some on-page faceted combination search.

@marktnz1
Copy link
Author

Yes true, that would be both perfect and difficult... plus all the warehousing options if ASM is selected or not and optionally display available quantities of each combo.

There are available modules on "the market" that claim to deal with this but I do think this should be core function.

@marktnz1
Copy link
Author

marktnz1 commented Dec 9, 2022

It could be argued that this is not an enhancement, its a bug fix.

Preferences/ Products has the option to do exactly this task, however it doesnt actually work properly.

Screenshot from 2022-12-09 13-00-36

@getdatakick
Copy link
Contributor

Bug is when something does not work as intended. This was designed this way, and works properly. It can be improved to make a better user experience, hence the enhancement.

@marktnz1
Copy link
Author

Screenshot from 2022-12-10 16-09-56

The feature specifically says "Display unavailable product attributes on the product page" Ive set it to NO. This means literally "DO NOT display unavailable product attributes on the product page". If this was designed to do something else, I suggest you clarify on the site what the function is, because to me there's no argument at all, the function is NOT working as described since unavailable attributes are being displayed despite me switching that OFF.

@getdatakick
Copy link
Contributor

This option works on attributes, not on combinations, and is based on available quantity.

With this option disabled:
For any attribute value, if all combination using this attribute value are not available (0 quantity on stock), then this attribute will be hidden. This is kind of pre-filtering.

With this option enable:
all attribute values (used by product) will be always displayed

This works as designed.

This is just a static optimization to limit the amount of combinations that user can choose from. But they still can choose invalid combination.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants