Hello, I’m implementing a custom products filter for a client and it is necessary to filter on some of the custom product options they have. I have seen the documentation that explains how to do this, but it only explains how to do it with simple option names like “Size” and “Colour”. My clients names are a little more complex and include numbers, symbols and spacing. I tried the regular old javascript way of accessing the value like productOptions["Option Name"].value
but unfortunately that isn’t acceptable syntax. I also tried separating the display name and database name but it doesn’t seem possible.
So any help with this?
Thank you