magmi-git icon indicating copy to clipboard operation
magmi-git copied to clipboard

Existing custom options are deleted

Open kaushalsutharhs opened this issue 7 years ago • 1 comments

I've prepared simple CSV to import Product custom options

CSV 1:

"sku","Testing Type:drop_down:1"
"NK215","TEST1::::1|TEST2::::2|TEST3::::3|TEST4::::4"

After executing profile it successfully create custom option Testing Type, Now If I change CSV as following

CSV 2:

"sku","Check Type:drop_down:1"
"NK215","CHECK1::::1|CHECK2::::2|CHECK3::::3|CHECK4::::4"

After executing above the Testing Type custom options are removed, Now how can import custom option in which existing custom get not removed?

kaushalsutharhs avatar Jun 28 '17 08:06 kaushalsutharhs

This issue should probably be closed. But to answer the question the plugin's code is explicitly removing custom options prior to import the new ones.

See https://github.com/dweeves/magmi-git/blob/2adca1daced76f5388d2f256bac8aa7063121946/magmi/plugins/extra/itemprocessors/customoptions/pablo_customoptions.php#L277

ghost avatar Dec 18 '19 13:12 ghost