hello i need help implementing a product filter based on a custom field. Specifically, I want to filter products by the custom field “État produit” with values such as “NEUF”, “BONNE OCCASION”, and “RECONDITIONNÉ”.
Could you please provide guidance on the correct way to implement this filtering functionality within the XStore theme? I want to ensure that the products are filtered correctly based on the “État produit” custom field without causing any syntax errors.
Thank you for your assistance!