Product Attribute Combinations Issue

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
7 years ago
a.m. wrote:
Is this issue now available in ver. 3.80
It was implemented in version 3.30 (as per posts above).

Now product details has "Allow only existing attribute combinations" checkbox (visible when "Inventory method" set to "Track inventory by product attributes"). This property indicate whether to allow adding to the cart/wishlist only attribute combinations that exist and have stock greater than zero. In this case you have to create all existing product attribute combinations that you have in stock.

Hello,

i have the same problem (using version 3.80) When using Track inventory by product attribute ALL option (over 30 options) from attribute records are displayed, not just defined attribute combination with stock>0. It's really disturbing for users when guessing which attribute option has stock>0. It must add desired option to cart to get message that option is out of stock.

Thanks for your help and kind regards, Boris
7 years ago
a.m. wrote:
Is this issue now available in ver. 3.80
It was implemented in version 3.30 (as per posts above).


When using Track inventory by product attribute ALL option from attribute records are displayed, not just defined attribute combination with stock>0. Is there a chance to fix this?

Thanks and kind regards, Boris
7 years ago
[email protected] wrote:
Hello Adrei,

Thank you for your response. So it does work for Add To Cart. Is there away to hide or disabled attributes?

Regards,
Dzung


Hello Dzung,

did you solve this problem somehow?

Kind regards, Boris
5 years ago
borisvel wrote:
Hello Adrei,

Thank you for your response. So it does work for Add To Cart. Is there away to hide or disabled attributes?

Regards,
Dzung


Hello Dzung,

did you solve this problem somehow?

Kind regards, Boris


For anyone that ends up down this rabbit-hole, I've created an extension to address this issue.
In short, I had to override the ProductModelFactory's PrepareProductDetailsModel to filter down the returned product values to only include those that match the product's valid ProductAttributeCombinations.

It's a hack (had to copy-pasta the relevant functions to override an inner function, so any core-updates to these functions will need to be updated) - but it works!
4 years ago
Upgraded the plugin/extension to v4.2
4 years ago
Hello everybody,

Has anyone tested this plugin?

Best Regards,
luis404
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.