@tsuyoidesigns It helps to see these screen shots, but it also raises some questions and comments:
-
In the batteryfitment collection what is the battery field referencing? I see the “Group Size” values. It seems like you have to be storing that in the only other custom collection named “Products”.
-
Does the data in the VINInfo array make sense to you? Value is the make obviously, but is ValueId the model? Is there enough information in the array item to be able to identify the appropriate battery.
-
Ultimately, you will need to establish a connection between the Wix Stores products collection and your custom collection named “Products” either by storing the Wix Stores product ID in one of your collections or via reference.