Product Attribute Question

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
8 years ago
Using nopCommerce 3.60.

I have a product that has two product attributes. Attribute A has 13 predefined possible values. Attribute B has 10 predefined possible values.

If my math is right, that gives (13 x 10) 130 possible values. For this particular product, only 7 of those combinations will ever be valid.

On the admin side, for this Product:
I've set up the 'Track inventory by product attributes' and 'Allow only existing attribute combinations' options.
I've also created my 7 valid product attribute combinations. With Stock levels, SKU's, etc. The are both Drop-down lists.

On the product page (customer side):
The two drop downs show all the possible (130) values. When I attempt to add a invalid combination, I get the out of stock message. When I add a valid combination, it appears to work without issue.

My question is: How can I prevent the invalid combinations (123 of 130) from even appearing on the product page?

Thanks
8 years ago
I have an update:


On the Product attributes->Attributes->Attribute ( For attribute A and B)->View/Edit Values.
I removed the options that never would be used, in any combination. (These were originally populated from the 'default' list)
This brought the number of combinations down significantly, but I still have a few combinations that can be selected, but in reality, do not exist.

This makes thing better, but does not fully fix my issue. Can anyone assist?
8 years ago
EdWaltmon wrote:
I have an update:


On the Product attributes->Attributes->Attribute ( For attribute A and B)->View/Edit Values.
I removed the options that never would be used, in any combination. (These were originally populated from the 'default' list)
This brought the number of combinations down significantly, but I still have a few combinations that can be selected, but in reality, do not exist.

This makes thing better, but does not fully fix my issue. Can anyone assist?


It seems like you aren't utilizing the Attribute Combinations properly.

If you aren't, you definitely want to. By doing so, only valid combinations of attributes are ever displayed to the customer. See my posts here where I go into detail about how to configure Attribute Combinations.

After you set up all of the possible Attributes, if you click the Generate all Combinations button, and already have the "only allow valid combinations" checked(and saved), I was under the impression that only valid combinations would be created (and then, only displayed to customers if the stock level of the combination is a positive number)

Steve
8 years ago
Thanks for the reply. I just started over from scratch, and tried again. It still shows the user the product attribute combinations a quantity of 0. And gives the out of stock message when the user tries to add it.

Thanks for the help. Guess I need to dig into the code, and come up with a more custom solution to this.
4 years ago
Hello

Regarding your descried Issue, our development team has created a plugin which might interest you, with this plugin, any attribute which has a stock quantity of zero would not be shown in the product’s page and the customer would not be able to select or view these attributes.
For more information please visit:
Product Inventory Management Based on Product Attribute Plugin

With best regards
HyperNop
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.