In Sandbox…my code ran a little crazy… (its now fixed)
Background: Project needs to have a product created, stock assigned an option flat rate shipping created. It needs to be accessible for short time, then when the “sale” is over, the product gets deleted.
Got it handled. no issue.
however, accidentally created couple thousand of the same items without deleting them while testing.
so, in an attempt to remove the items, I exported the library, and attempted to batch-delete the tokens listed in exported csv in sets of 200.
got responses back that the object_id’s had been deleted.
when looking at the items list again, for each item, all parent objects had been removed, however a line item with the value “variable” under price remained.
again exported library… checked to see that type of each id was denoted as “variable” in csv.
attempted to batch delete ids from export…
recieved 200 with deleted id’s
again, all line items remained, with new ids…
I have sorted out the code, which now works fine, and would be fine with simply deleting the current library all together. I tried to import a single line to the library and replace the existing library, that as well is not working…