Skip to main content
Solved

Filter Attribute value based on a previous attribute in product configurator


Forum|alt.badge.img

Hello,

I am trying to limit the available values for an attribute based on a value selected for another attribute.

Eg: If user select TOYOTA in the Make Attribute, the Model attribute shows only the models for TOYOTA

Is there a way to achieve this?

Best answer by SeanCooper

Hi @johnythevara48,

Indirectly, yes. They are using the Attribute selections to resolve their values. In the example shown the configuration is for a car trailer. V6 is checking that the attributes are valid for a 6’ trailer, V7 for 7’ and so on. Each one resolves to either a True or False statement, before finally passing them to the “Valid Selection” formula. If there is a “True” then the selections are OK and we can proceed.

 

View original
Did this topic help you find an answer to your question?

9 replies

angierowley75
Acumatica Moderator
Forum|alt.badge.img+3
  • Acumatica Moderator
  • 817 replies
  • July 26, 2023

I don’t know of a way to do this with Attributes - you would need to do it with Features and Options - using rules of one feature to exclude or include options of another.

In the Acumatica Sales Demo database this is done with the Custom Baseball Bat (AMCTOBAT).


Forum|alt.badge.img

Thank you Angie. 

I started with Attribute since the “Raw Material” is based on a number of attribute values.

Eg: Use 2 qty of PART123 if Color=”Blue”, Size=”M” and Type=”Metal”

Use 3 qty PART986 if Color=”Red”, Size=”M” and Type=”Wood”

Idea is to have a condition in the “quantity required” field of the options tab(something like that you have for “Xircon 1000 Shower Base Tray” item for Shower Kit)

 


  • Jr Varsity I
  • 5 replies
  • July 26, 2023

Hi @johnythevara48 ,

 

Does using a formula in the Qty Required field work? e.g. =IIF(AND([Color]=”Red”, [Size]=”M”,[Type]=”Wood”, 3, 0) against PART986?

The only other alternative that I can offer you is to use a Validation Rule in a formula attribute the checks the correct MODEL is selected for the correct BRAND.

In the screen grab I use a <FORMULA> attribute to resolve to ‘OK’ that is checked using the Validate Rule in the bottom. If the Configuration validates then the user can save and finish it, otherwise they receive an error that it is not correct and they can’t save the configuration. There are some limits that made it difficult - the formula field in the db is not as large as the formula entry box, meaning I had to break up the final formula into several, which is why there are multiple <FORMULA> attributes in the screen shot.

 


Forum|alt.badge.img

Hi @SeanCooper,

Thank you. 

I already have a formula for the Quantity Required field. There I was telling Angine why I used Attribute instead of Features & Options. 

I will check your suggestion of formula attribute. One question there. Are you getting values of V6, V7, V8 etc from user? 

Question since the validation is based on the values of V6, V7, V8 etc ...I assume that they are there but not in the screenshot, right?

 


Chris Hackett
Community Manager
Forum|alt.badge.img
  • Acumatica Community Manager
  • 2750 replies
  • August 22, 2023

Hi @johnythevara48 were you able to find a solution? Thank you!


Forum|alt.badge.img
  • Author
  • Jr Varsity II
  • 15 replies
  • August 23, 2023

Hi @Chris Hackett unfortunately no. I finally using Features and Options…

 


  • Jr Varsity I
  • 5 replies
  • Answer
  • August 28, 2023

Hi @johnythevara48,

Indirectly, yes. They are using the Attribute selections to resolve their values. In the example shown the configuration is for a car trailer. V6 is checking that the attributes are valid for a 6’ trailer, V7 for 7’ and so on. Each one resolves to either a True or False statement, before finally passing them to the “Valid Selection” formula. If there is a “True” then the selections are OK and we can proceed.

 


Forum|alt.badge.img+2

@johnythevara48 I recommend creating community idea for filtering the attribute based on the previous attribute values.


Forum|alt.badge.img
  • Jr Varsity II
  • 31 replies
  • February 20, 2025

I think the solution is not viable for webstore applications. A more simple experience for the user is required.

Also see:

https://community.acumatica.com/ideas/attribute-formulas-for-visibilty-required-data-on-product-configurator-8040

 


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings