magento-configurator
magento-configurator copied to clipboard
Sort order and default attribute option
Added the option to specify a default attribute option for select type (only):
options:
- S
- M
- L|default
- XL
The old implementation would not take into account the sort order.
Additionally unified: insert, update, delete into one process
Hi @mblarsen,
We have just made a major update to configurator. Would you be able to resolve any conflicts in the code and pass it over?
Many thanks :)
@chevli sure I'll look into it
I've merged master-branch now. Great work by the way.
@chevli btw, your code will use the following code to set backend_type
which is fine:
$data['backend_type'] = $attribute->getBackendTypeByInput($data['frontend_input']);
However this value is easily be added to the yaml-file which gives you a load of trouble if you don't know what you are doing.
I didn't: http://magento.stackexchange.com/questions/98279/option-false-for-configurable-associated-products-imported-with-magmi
Perhaps it would be wise to throw an exception for types: dropdown, multiselect if it is not int
There might be other backend types that shouldn't be messed with.