custom Magento modules, error at category import: The value "xxxx" for the field "default_sort_by" is not in the selection
- Keywords:
If you get such an error during category import:
Validate Error: The value "editora" for the field "default_sort_by" is not in the selection
Here our Magento has a module/
The good news is that the patch is simple. For us it is as simple as:
=== modified file 'product.py'
--- product.py 2011-02-21 12:46:43 +0000
+++ product.py 2011-02-23 00:28:36 +0000
@@ -67,13 +67,15 @@
- ('price', 'Price')
+ ('price', 'Price'),
+ ("['editora']", 'Editora')
- ('price', 'Price')
+ ('price', 'Price'),
+ ('editora', 'Editora')
}