I have a feature that I have created a "sale_range" which I used to use as a sorted feature Is set to However, when I select it from the product list, then I am not expecting how I expect. Upon further investigation, it appears that it is not classified as text field and is not in the form of number which means that it is 101, 1014, 102, 1035, 104, 11, 1204, etc .... How do I fix this? While creating the attribute, there is no way to tell that it is a number. You can choose "Integer" from the "Input Validation" box, so is this the answer? I have not tried it yet ... Any thoughts? Thank you! Try it out and if it does not work then come back. The data field can be saved in multiple tables, and it seems that you are saving this field as a string (as it is proved by alphabetical order). If you really want to know where it is left, then run this query against your database: You want to say that number / integer, etc.
Select backend_type from eav_attribute where attribute_code = 'sales_rank ';
Comments
Post a Comment