Skip to content

Instantly share code, notes, and snippets.

@josuehenrique
Last active May 17, 2019 18:47
Show Gist options
  • Save josuehenrique/4557e1ebaf4bb348eb55b9a628cc41a7 to your computer and use it in GitHub Desktop.
Save josuehenrique/4557e1ebaf4bb348eb55b9a628cc41a7 to your computer and use it in GitHub Desktop.
disable stolen products
skus = [331500003, 371940020, 266570050, 290430019, 321200017, 393450021, 241940008, 255660025, 256640019, 260710021, 260710014, 266690004, 266660053, 272060011, 280750054, 289870022, 288510021, 288510027, 292030009, 293370079, 293370026, 291550009, 295030031, 299690003, 299960021, 296760050, 303370005, 304380023, 305010012, 306570009, 306580012, 307340005, 307340019, 307340012, 309670004, 310760010, 311800023, 313080027, 312010301, 314690018, 316100008, 313300006, 314660160, 318190038, 312560117, 322990004, 319260003, 324460046, 324460030, 327710011, 326930013, 331140018, 329550021, 331300005, 333000026, 335820015, 334690016, 333130010, 338700001, 301720009, 340950005, 339160062, 345900018, 346600010, 347850008, 351530010, 352340027, 352840005, 356300020, 357070004, 359140005, 357390004, 357610026, 358360008, 359160003, 360850036, 362260150, 364100169, 364430026, 365240034, 365460011, 365690059, 373060002, 340960023, 374340026, 376610007, 369200211, 376970011, 379650014, 294270013, 317850002, 382090019, 385830127, 391490002, 389700014, 395190023, 397320082, 397350022, 397680004, 399140018, 399960001, 407570018, 408950009, 409510011, 325790011, 349480012, 284660048, 333660021, 392940004, 297290016, 228480038, 332100042, 324820110, 247990028, 287340045, 399690055, 277070019, 276850020, 298160020, 407640006, 266570016, 293560089, 291030004, 309390007, 368740084, 328260027, 333140047, 338810022, 340470014, 370820013, 365860009, 402150032, 360380014, 363960025, 349460004, 408690021, 355280011, 329110007, 302660010, 299460014, 379530070, 348740004, 266570052, 349420046, 290340039, 329630038, 339040094, 256820035, 294380001, 293560038, 340690011, 355100013, 275920018, 335170079, 338500015, 361020036, 300280046, 353960047, 374850027, 374770010, 279460068, 368640006, 305420037, 367310015, 368150011, 342590025, 365430008, 296760014, 242480058, 254020003, 274730046, 277120006, 293370017, 290750011, 290570033, 297270051, 298370014, 298160007, 299650019, 302980023, 302980025, 296760059, 304180023, 305370086, 307340045, 307340043, 307340016, 310610007, 313080014, 313400025, 313650026, 313960032, 314380035, 318090023, 319340145, 319340141, 323590022, 321320010, 322420008, 325290010, 324460062, 323380014, 323380016, 327380006, 327130137, 327060012, 328810004, 328100022, 331970008, 329670012, 294630086, 330390009, 335190045, 375880002, 342850030, 342720016, 344060017, 343610009, 346650006, 345580005, 344600772, 344600793, 351450039, 351110001, 352420023, 352450003, 355500050, 355430049, 353150006, 353060012, 350990021, 356910018, 358090026, 356740019, 358410010, 363460002, 363280016, 364100140, 364880047, 364610019, 365490028, 365460012, 365860017, 366000011, 365890060, 365850003, 368290020, 368740010, 375450013, 375950023, 379290020, 294270303, 381620076, 381790175, 385930013, 387600002, 395680048, 389880003, 260220009, 397000007, 399070025, 400970002, 401630013, 404600065, 321320006, 309670013, 243150052, 316740014, 391190007, 360430024, 318090027, 381700009, 365420005, 364100168, 402270011, 317980013, 321860027, 393420034, 386430007, 393440014, 357290005, 289800005, 404390008, 279070029, 403570001, 408950001, 408100006, 296760035, 291230010, 314690011, 291440012, 361930054, 293710008, 299650030, 307170009, 365480002, 370390072, 313080010, 318140029, 324760027, 321710038, 341180065, 349560364, 329370021, 333800009, 337810023, 325850002, 399610112, 394020012, 341990024, 379430041, 265310004, 321320002, 364740012, 333700017, 369130040, 355160051, 365560002, 321230026, 299740074, 346330039, 233380012, 357420022, 354130012, 302290020, 263220023, 303990018, 301690018, 367660023, 247830021, 327370069, 298430074, 241940021, 245250011, 254020071, 266570021, 266570008, 261630035, 273570013, 284190004, 290290001, 297210003, 299000005, 299650020, 298920012, 303590001, 304170005, 304170006, 305540002, 307340015, 307340007, 307820015, 305830062, 306660009, 307340064, 307340055, 307340023, 307430012, 310620002, 311910004, 314690008, 314690006, 314370029, 318250003, 294310133, 306800016, 322430008, 325290001, 324460049, 330460023, 327060010, 328850026, 333500072, 331420007, 334430006, 333130007, 299780030, 340920008, 340460006, 336490015, 339620108, 338960005, 341620091, 340150010, 342830041, 344730009, 347050044, 347050079, 344600831, 344600818, 344600585, 344600741, 346330023, 350450015, 344640036, 352200020, 355480009, 356470056, 357460004, 357820013, 358500008, 364070014, 364970001, 364900019, 364770002, 255210086, 369110021, 309870004, 374100034, 374230020, 347030015, 375520004, 376790026, 376800021, 317850031, 380070025, 389940005, 386560022, 381790483, 386330014, 389440136, 392720012, 396240009, 397930095, 397830014, 397920042, 402980047, 339080002, 360140008, 407950051, 408920011, 408860038, 323590038, 365240009, 318090002, 340970007, 396870010, 309370013, 368240028, 403570009, 317070030, 320770007, 401470003, 305420041, 357150020, 244680031, 313630014, 367310014, 324460009, 231450045, 321730020, 365490008, 257760006, 290340043, 288510026, 321320030, 376140019, 340790003, 302980022, 303690002, 307420002, 393440016, 357630065, 371890006, 365900135, 324160007, 388440017, 325600063, 330720036, 340150007, 349250030, 324460041, 379650007, 289330046, 317850233, 409510006, 357620041, 308950008, 270270006, 349210007, 311960020, 351210012, 351770022, 354160005, 309670006, 247790054, 363090008, 304890038, 257920009, 305540003, 340550022, 313610001, 239060025, 369820017, 243870017, 373050012, 339220010, 354830046, 373030018, 379530068, 373540005, 265160017, 359670019, 375110016, 308300011, 318180021, 335690054, 352060025, 233120040, 243810056, 254020022, 254020007, 257760039, 266230021, 291480042, 291460003, 298160023, 299000008, 305370129, 303400033, 306780007, 307340067, 307340031, 307340021, 308830017, 308260053, 309390028, 313080005, 313040006, 312510053, 314690019, 314690017, 314690015, 318020006, 318090018, 318090012, 317990014, 312560025, 318140023, 320810022, 320410026, 319340105, 323870033, 289850041, 324460039, 324460019, 323380017, 326720018, 329140009, 331140041, 334270028, 331180008, 333000032, 335420006, 339150136, 339570002, 335170020, 341280036, 344480002, 348470044, 344250002, 349230005, 348770016, 344600790, 346330053, 346330056, 350300014, 350880004, 352050005, 351700005, 353260027, 354920005, 354880012, 354230028, 355910019, 355910030, 356380005, 359560008, 362120009, 362220006, 364380018, 365220038, 365560003, 365690164, 368960020, 369620021, 379530058, 374420005, 375270030, 376170021, 355600024, 369200067, 377400074, 294270319, 381280004, 384920030, 260220001, 260220012, 392890080, 373290005, 392750064, 395520052, 396450053, 397320084, 396870011, 398800006, 352710011, 402030002, 405040056, 409240023, 400030203, 325790010, 365690152, 325790019, 338170013, 356470003, 358530034, 308130008, 382010047, 299930006, 365690108, 395160007, 357800006, 389810009, 393700007, 299780002, 266570014, 348930201, 403850012, 409240066, 319980025, 347060006, 367340069, 401040009, 402270001, 294330142, 318030017, 323380001, 381120005, 319400034, 309370004, 313590006, 320030010, 378790020, 373130010, 398960060, 359950023, 343900050, 373610023, 305780040, 318090015, 313590014, 318090017, 408700003, 329860047, 285660031, 352770003, 266570007, 303750009, 320510054, 322680005, 335580015, 303440015, 302400016, 356870031, 360830074, 373180015, 338930035, 361750021, 374130052, 364100121, 357600016, 357600024, 365080024, 369520005, 268320036, 362680026, 348500027, 362560004, 363270035, 309670010, 381880007, 379530050, 279360069, 308300013, 232410017, 254400008, 254390007, 256190002, 257760023, 264180032, 270990013, 276430019, 281030009, 285210029, 288940004, 289300008, 291210004, 297290032, 298160034, 299650024, 308020003, 296760007, 301200041, 303630008, 303690007, 303690006, 305470008, 307340052, 305780051, 307340062, 349560374, 309040016, 309080011, 308260063, 308260018, 310620023, 393440017, 310610009, 312110071, 311590056, 313080023, 315550007, 315570036, 315350011, 318090030, 317510007, 235300037, 318090025, 317300046, 318140008, 323590014, 321320020, 323260019, 324440015, 324460023, 324460003, 275130012, 326140008, 327750003, 326990008, 327000004, 329610012, 328070087, 328070072, 329960023, 329550006, 331930006, 333140052, 333870008, 339020002, 339140007, 338550038, 340960012, 340060025, 341480013, 338350027, 339160143, 339160012, 337430011, 343920006, 344720013, 344380064, 344520035, 344710015, 333520009, 331630027, 347650012, 348370021, 344600796, 350860009, 346330005, 350330004, 344640042, 352050007, 352920019, 355910029, 355910012, 357070005, 363170012, 364100133, 365690178, 365890107, 368860003, 368980024, 369000039, 369020017, 309870009, 375950034, 376420009, 375890002, 369200109, 379610041, 379710006, 381660004, 386010010, 307110008, 392910005, 394550036, 394060003, 349560004, 400020001, 400550069, 333490025, 406190063, 406040008, 407930012, 325790005, 331250018, 395350002, 365110059, 374360030, 291460061, 390300021, 350330009, 349790015, 390570003, 399580051, 392740029, 323590029, 318140017, 400670007, 260220011, 257350036, 349560350, 351760016, 312010034, 314410011, 291020007, 319340138, 353540050, 378260010, 275930014, 364020035, 359850012, 289330069, 293560046, 288510025, 312700009, 359940007, 291210007, 302170014, 306580008, 313080029, 368400031, 319420002, 321320013, 311660025, 276960084, 351930004, 346330007, 289770031, 290340052, 352160024, 407490121, 400030204, 290410016, 376070027, 361040006, 350330016, 404220002, 294300109, 379530046, 344090039, 349560368, 291440018, 356370023, 367480021, 307650001, 352350021, 329490003, 313400003, 379530039, 257760022, 365690158, 294320200, 314750001, 355910005, 271370073, 374170034, 323590037, 346330014, 365690168, 368960003, 251530043, 317650008, 316910006, 355910015, 330040008, 238430016, 341980009, 298160036, 400030209, 251530004, 247370002, 256610021, 258800018, 277640003, 284190022, 291440013, 293560115, 298390003, 298160004, 299000013, 299650017, 299650026, 299780020, 299500018, 296760065, 302970035, 303630017, 305380006, 306850002, 305910047, 307340014, 307340009, 307070009, 308860007, 310760007, 311190012, 312250001, 313060015, 313080026, 312010277, 315750001, 318090028, 318090026, 318090024, 318090007, 295020051, 297270007, 320780032, 321320024, 321320001, 324490023, 287190014, 324460014, 325190049, 323380018, 326480002, 327370021, 333070037, 331750029, 333990051, 338240011, 343510003, 345970006, 331630029, 349790010, 348690005, 318140025, 344600280, 344600565, 346330046, 346330011, 349920010, 349080138, 351570004, 353940026, 355110008, 352870001, 355680002, 355910036, 355910002, 357600017, 357840027, 358040016, 357570094, 362460012, 363980106, 364100165, 364880046, 363780032, 365240004, 365980001, 365860034, 366400010, 367810006, 367910010, 368740072, 369140007, 369130028, 368790011, 370140053, 370340028, 369440031, 370130042, 373580019, 374110020, 376230006, 376140029, 376500014, 379310010, 377340002, 378600009, 379720042, 294270071, 335010301, 380490012, 381850029, 382480035, 382610032, 381790369, 388220017, 388280001, 391640001, 390300017, 393110049, 246200034, 394870007, 400000330, 396870016, 399560005, 401990010, 404670007, 407330020, 408950002, 408950005, 409510008, 409510003, 400030202, 354130010, 408980015, 379070094, 369200198, 314350030, 319340142, 349950024, 291440014, 348900187, 257920005, 387590005, 398080017, 398960004, 401680016, 350990016, 378320022, 308310024, 344600542, 280750061, 397920013, 356980032, 342960008, 359190009, 296760004, 362950019, 257920011, 265390018, 282730002, 263250023, 266570002, 307340059, 307340046, 309550017, 373580021, 328580035, 325240014, 355470031, 289660013, 399610088, 397320083, 317850161, 345460016, 361920014, 342800001, 260220016, 384950017, 306150010, 349920006, 289740011, 395300002, 287080005, 232730021, 312230012, 349490016, 304500011, 266570037, 359150012, 339460018, 342740004, 379530024, 273120023, 289950003, 310600011, 328100007, 379530049, 345940002, 307340032, 365530016, 355910004, 241540007, 335750015, 346330019, 375220012, 368160018, 279460009, 358370013, 386430010, 275930002, 365520013, 379530067, 313080011, 400320017, 310030004, 329780010, 240920021, 266570024, 266570047, 265360014, 271340062, 275090009, 275420035, 282460021, 291210012, 291210010, 293260024, 300130015, 298160001, 302980010, 296760033, 301200023, 356400004, 303210017, 304270015, 305010015, 307340026, 306650015, 308300008, 309340018, 311770014, 312250005, 311960060, 309860018, 313220006, 314690005, 311520045, 318000018, 318140013, 324640007, 325360003, 328360021, 328260008, 329490027, 332580013, 331020043, 331500032, 328110028, 332510032, 333490016, 337740005, 339150124, 342980015, 343140002, 344960041, 342840106, 345530008, 347570047, 349430023, 345350033, 344600332, 344600827, 344600850, 346330043, 346330047, 346330052, 346330035, 377770008, 349940052, 351120005, 353210009, 353260030, 354380017, 354950042, 356490015, 357130031, 359870009, 361670035, 361760001, 366410005, 367910025, 367690004, 368810024, 369130065, 309870005, 372530007, 373100034, 376150019, 375720016, 375290075, 377260001, 379130003, 377400078, 378600002, 317850193, 317850052, 380730093, 381660002, 383390010, 385200011, 386160014, 386060040, 391300005, 396750017, 398260016, 397920040, 400110004, 404810001, 404900071, 405780050, 406350010, 400030208, 409280009, 305540005, 285260021, 334650008, 357570054, 367940036, 266570043, 379720041, 407320023, 229490033, 359180017, 322870003, 316410022, 326430041, 328940013, 344830087, 353970007, 338010017, 364060006, 250850035, 408160013, 355690008, 409230018, 373360015, 318140007, 288870007, 344600066, 325290008, 405060020, 252050042, 251940017, 391630019, 298160009, 299650028, 350430002, 303540012, 296770306, 368740092, 321230028, 329160014, 331210011, 346330028, 354820021, 365160004, 365240104, 368250031, 347530019, 355910003, 402580059, 305120029, 339080052, 316960035, 333140066, 324260004, 340910008, 358190013, 364080015, 349590041, 229240018, 363940013, 395150035, 365120058, 338170002, 362920002, 352610001, 325850007, 346400013, 344600520, 361020012, 296760041, 368570028, 369590002, 318090009, 341370002, 299820010, 310780058, 324520013, 360220036, 236410014, 355470042, 275210008, 382480011, 366460004, 243150059, 353690004, 240900006, 249530035, 251530001, 254020039, 249180040, 259720023, 259720004, 266570046, 266570038, 266570015, 266570005, 265360001, 267410033, 268260023, 275430028, 281430014, 282730001, 287220010, 287940002, 289300022, 291440001, 293010002, 298160037, 299000006, 299650014, 300480004, 308020001, 302980003, 296760094, 301050034, 296410030, 303410001, 305010016, 305010002, 302810019, 308020002, 304970026, 303990026, 307340003, 307340001, 306000073, 307340057, 301820011, 309490010, 313950083, 314690016, 314690014, 317300053, 318090013, 318090011, 318300030, 318140032, 319340143, 320480002, 321680006, 321130018, 291990026, 324460024, 324460025, 324460012, 388720007, 327280009, 330720038, 328330023, 329860016, 327030092, 335700007, 335390047, 334320011, 333050047, 334710006, 341460002, 347340013, 349500019, 350200014, 318140024, 350820021, 354860032, 355410019, 355910025, 357390001, 357840034, 359200042, 365480008, 361440004, 364100128, 367640019, 369130084, 309080032, 374100007, 378600004, 381960020, 381790448, 387130071, 397790006, 393110057, 393530004, 395420009, 394320007, 348900197, 399780010, 401020011, 401240026, 404700028, 405330034, 405040081, 405720060, 409820015, 409510005, 325790002, 305010013, 351130010, 352010015, 327860003, 347910015, 389700013, 400540034, 243440011, 314380041, 336310016, 325310002, 328070043, 362260037, 360110047, 320990025, 320510037, 392870007, 371920024, 394820011, 303590007, 406200051, 251390004, 408120013, 409430046, 344210017, 365520007, 400710034, 289330070, 266570012, 292000050, 400030199, 405040014, 405470007, 296690009, 406130002, 290750008, 294310160, 368240060, 320130004, 312560179, 378230001, 329880015, 331840005, 346330017, 265910036, 358320002, 369590015, 308300005, 403630012, 307340034, 355200018, 360170040, 322300044, 317820335, 355910031, 357750012, 360640005, 398280013, 337350004, 345940013, 406100144, 362450013, 349430019, 308130020, 373490020, 359180025, 266570041, 250370009, 253800006, 321320025, 361990004, 339250002, 364880006, 368860009, 307340041, 357050041, 318090006, 241940015, 361360015, 353820001, 320810062, 368210021, 348890103, 361650007, 277410052, 385990029, 356950011, 408860031, 402660019, 254020001, 360220039, 234410010, 239500020, 240310052, 243150093, 251530024, 257760037, 249350049, 262440037, 243150074, 285970018, 288510024, 291990082, 296760045, 304980020, 305010007, 305420058, 306580011, 306580005, 306580001, 307340025, 306660014, 307700006, 307690005, 308300003, 310780041, 313820071, 313080002, 313080007, 313080019, 313940011, 315900009, 316280019, 324630003, 318090022, 317300011, 318270033, 317590020, 318200009, 319340140, 321100015, 291030017, 321320017, 321320009, 323380013, 326790021, 328810002, 331110006, 331100007, 328870034, 331140007, 330000007, 332360003, 334270011, 334270005, 335370002, 339510015, 338570002, 337790016, 344650023, 340150063, 344220004, 342840054, 345460040, 344970098, 346320009, 347280028, 348390019, 345830001, 350560029, 346330050, 350220006, 350760005, 351680018, 352200005, 355410017, 356890057, 357810003, 359630029, 360450022, 361710012, 364100096, 365240107, 364520007, 365520039, 365690156, 365890046, 367120037, 368570008, 305780047, 373250002, 374230023, 375290042, 379070087, 369200218, 378600007, 381600032, 381790436, 260220022, 391290022, 394450015, 396240039, 397320077, 397210017, 396400024, 399780048, 402170017, 406730005, 407490159, 407330022, 325790016, 400310011, 338260002, 333140023, 373040009, 289990038, 328090042, 319770015, 287940003, 403960008, 362200017, 300910004, 307810004, 406430036, 363560009, 357120018, 375390010, 405650028, 349560194, 373070033, 296500012, 379530033, 336490016, 391690027, 363220019, 405670014, 227620073, 406990003, 294270026, 254020024, 393110002, 325850001, 298160022, 360110012, 284190005, 292020008, 298160025, 266570009, 363780014, 313940008, 381710001, 369200210, 379930009, 322300024, 335420020, 343500010, 359890005, 360690019, 369200209, 349560015, 260220014, 254020011, 350560028, 350000050, 321210012, 341530003, 275930024, 311800017, 373380009, 391230027, 254020069, 297570022, 268820033, 264080026, 357120021, 239350020, 329910017, 379530072, 372030021, 350550025, 338520016, 340540144, 355910037, 309670012, 372060012, 374950005, 379530066, 349400008, 346330003, 346330034, 367490002, 254020047, 344860027, 299650023, 315970001, 360220038, 318140034, 339330015, 359860013, 341180064, 296760013, 241940009, 241940033, 255660043, 256820031, 266570051, 266570059, 284190006, 284190008, 292020006, 263350079, 298510015, 298490024, 299650025, 299650015, 302980018, 303730001, 303690012, 307340035, 307340022, 306200019, 307120020, 310150004, 308260057, 312370058, 311960021, 314410022, 318090019, 317300068, 318090014, 318090001, 316980025, 320300013, 318140030, 317330092, 324460057, 324460053, 324460022, 324460005, 325930006, 323380003, 327130083, 327840007, 330000021, 330330031, 330800019, 335640037, 334550008, 335420063, 339280036, 339220013, 339160177, 344040012, 345810009, 344600313, 344600146, 346330036, 352420138, 353940018, 355390013, 354960014, 353760006, 355490019, 356220003, 357810042, 357430016, 359460002, 359940001, 359630012, 360110017, 361320010, 336160020, 362600006, 363080009, 363930012, 294240326, 247350258, 364430010, 358420007, 365610017, 368730025, 369250005, 370880009, 371350019, 368990044, 374420010, 369200121, 294330080, 380800005, 254020028, 381290035, 391440004, 307340066, 397920015, 400640164, 400470028, 402410054, 405440002, 405470045, 409360005, 325790009, 325790015, 361930031, 383730002, 288470006, 386830030, 290820028, 243150049, 399600038, 402270021, 277670074, 330840009, 356090016, 363100002, 268320044, 399610022, 334340033, 404330002, 314690009, 306700012, 345460009, 360120012, 273250011, 322890064, 323180003, 375530024, 328330016, 360160026, 333400007, 368240047, 314690007, 317850036, 360780022, 343060051, 312560198, 396590013, 347680004, 359650016, 365690088, 309870010, 371120007, 363200032, 362700003, 311510073, 355910008, 357440004, 373020056, 368740066, 346330018, 318090021, 266420001, 354870002, 365760023, 263660009, 318090005, 357690063, 337730002, 239660005, 242220021, 251260026, 249180022, 251530019, 253800034, 254020072, 257760020, 266570049, 265170040, 282730026, 289340013, 263440075, 298080024, 279400097, 299650021, 296360049, 303750011, 303590005, 303590006, 303690010, 303690003, 303690001, 307340044, 307340040, 305780046, 305780029, 305990050, 308300012, 309780009, 312570032, 313960012, 231450008, 318090031, 317300045, 318840016, 318140010, 321280011, 318930017, 299650029, 320020052, 322250004, 322550004, 325290009, 325760006, 324260005, 323380009, 328260009, 329380010, 329670035, 330330007, 328070107, 372660083, 328910013, 332560008, 331020059, 335740013, 279450052, 338790037, 337410027, 338350002, 341220001, 342700009, 345680015, 332020025, 344600877, 346330041, 346330026, 346330045, 351130011, 352950005, 354030009, 352290151, 354130042, 354960016, 353480029, 355910026, 356390022, 357390003, 357430020, 364010015, 364100019, 363220035, 364430015, 365690124, 367810016, 367880009, 367540009, 369210041, 294270099, 317850190, 382110018, 382090023, 383670003, 385630001, 260220002, 395170010, 394930029, 395790001, 399280013, 400990008, 401990005, 402530014, 406430027, 409240093, 408860028, 409510004, 313840001, 338180058, 357570059, 396870014, 385760024, 397430007, 239670037, 305040007, 254540036, 298160039, 398960085, 334700042, 315270005, 364120001, 397170005, 303290004, 289660048, 354830042, 373020061, 369370015, 370710004, 312560059, 346070009, 277120004, 288510031, 389380049, 299780025, 275750032, 289020020, 339600044, 302970033, 365690133, 316070016, 324460002, 326270004, 325050004, 321320003, 351480011, 351180007, 361040021, 383310019, 360720020, 244740036, 367820008, 357870240, 338960009, 402820022, 356050002, 251530030, 318150001, 365120049, 349270001, 324460028, 326970072, 363000001, 313850003, 366470009, 360750009, 340630007, 324460050, 256760045, 369580034, 379530076, 360380021, 365530014, 289130002, 275370056, 373180023, 232360032, 321130041, 328100052, 307340010, 231660028, 312250003, 325140005, 278130043, 241940019, 245550018, 248800005, 251530025, 253800029, 266570017, 266570001, 267700003, 312960043, 288510015, 288910019, 299590046, 298430104, 298160012, 299000001, 299650016, 299780021, 303750014, 302450015, 303420015, 306780017, 306580003, 307340002, 307190001, 305700018, 307340058, 307910004, 311820035, 313840010, 313960045, 316180005, 318090029, 362470022, 317300070, 321150018, 323590010, 321320012, 322790017, 323860002, 323870008, 324140012, 324460060, 324810040, 326810007, 326210075, 328240049, 328930010, 331100079, 332680002, 334660016, 334780048, 335140011, 338320024, 340810008, 326990055, 339040079, 338140012, 338610021, 342830076, 343510007, 342840052, 344600429, 344600329, 346330032, 346330044, 346330054, 341260001, 352070019, 353000027, 352300013, 353250020, 353730010, 352290107, 353480023, 353480022, 352710033, 353320018, 355910010, 357130038, 358360006, 357840006, 358780034, 359980002, 360660011, 361000024, 361030012, 361930049, 362390172, 362430008, 363250009, 363910027, 364160017, 364100186, 366000009, 368450003, 368250052, 369140001, 371370048, 371380006, 371910008, 372670009, 375940006, 378130012, 404690018, 378600008, 378600001, 380060021, 390110007, 388720005, 260220021, 390680060, 391340015, 349560191, 396720005, 397740051, 397650006, 398010008, 398960037, 406520013, 335580012, 400030212, 325790018, 333690021, 391900004, 340150073, 254020070, 399030005, 406190066, 263320109, 333490017, 395090006, 291440020, 364380008, 373070028, 328100029, 385760015, 407440023, 402370018, 307120029, 401160012, 307020007, 309430032, 253800040, 253800049, 386130018, 240930020, 250370004, 409240074, 397740052, 388150012, 328580032, 263410077, 314690002, 260920031, 303590004, 293980016, 307340024, 374760012, 323380008, 335760043, 339100074, 349920001, 409510012, 355910009, 334020020, 352010002, 231270014, 263360084, 263650001, 270650007, 390330051, 349200029, 360650024, 280840023, 394630006, 231450042, 266570025, 241940029, 329020023, 319170038, 307430008, 403550005, 357390006, 392750063, 356220033, 318140018, 335750014, 277030016, 311210005, 349500031, 294630027, 324810051, 365510049, 250450003, 321700005, 298160024, 319770008, 355910018, 346330049, 402970014, 375420006, 299060006, 292020007, 362260102, 385280023, 244410040, 242570019, 253080069, 254020006, 247400047, 261390008, 266430021, 272900081, 284190002, 284620032, 286400029, 289770023, 290340064, 290530006, 291460057, 268280076, 294480027, 302980017, 302980020, 296760022, 303690011, 303430036, 304380028, 306580010, 307340028, 301790101, 304900026, 307340048, 307340029, 309110015, 314750023, 310620011, 312250009, 313080033, 313850032, 318090016, 318090010, 318090004, 316980022, 318140011, 318140019, 318140012, 290570004, 324460061, 324460043, 323380015, 324890085, 327410006, 326480010, 328100019, 330330021, 327030091, 329550007, 333160053, 334630002, 335200002, 329170009, 335810005, 333130057, 335690034, 337850007, 336730015, 338230008, 337410059, 344650004, 344480009, 346800011, 345460002, 347790006, 347340011, 344600312, 346330055, 346330031, 346770033, 350520019, 353940006, 354130007, 354210004, 355910007, 355910034, 352900018, 356910008, 360230021, 361210004, 362150029, 362260062, 363000005, 363950005, 364880027, 366460011, 365170003, 365110013, 365460005, 366090014, 365840016, 368020032, 360160044, 370800014, 309870001, 379530060, 375270011, 376840005, 376800026, 378370004, 378600010, 378600006, 378600005, 377250006, 380550017, 382690005, 381620062, 388760015, 389380054, 392250002, 395210004, 348950073, 396340010, 398960118, 399790002, 399560024, 401310003, 401960007, 402340076, 403850010, 403960049, 404520015, 405430014, 407330058, 325790003, 283520011, 400100002, 305420068, 294310126, 307290011, 303020007, 258790048, 382470016, 362080042, 345190015, 397340121, 386290022, 313080003, 408050002, 329860061, 397920025, 399560026, 277410017, 305420039, 331830007, 352420077, 234600034, 291210006, 318140006, 282260014, 307430017, 354210015, 260220015, 361930032, 305910050, 309760007, 313080001, 378600003, 324260012, 381220030, 394310007, 409510007, 323140009, 321320023, 398730027, 232360020, 329950001, 345150030, 340380045, 294940008, 399610033, 360140013, 339950003, 323080007, 324460042, 335430015, 339990020, 332360019, 323190028, 308300010, 356300050, 299000003, 366270005, 328200003, 324460007, 369130051, 270880009, 323380005, 303420012, 267480008, 373950005, 347050093, 333220003, 340610006, 350460022, 336730006, 358250010, 305010010, 355910027, 321180051, 305850014, 231610031, 276850011, 388970005, 299740059, 367900022, 289330061, 241940027, 250370008, 255840002, 249180046, 263150032, 265360013, 406240002, 276850007, 288840023, 288510016, 288510010, 289110005, 289770026, 292000078, 293710005, 302980001, 292940019, 297270039, 298160032, 298160010, 299180004, 302980015, 302980024, 305270009, 307340047, 307340013, 307210003, 307340006, 307340065, 312250010, 312110062, 311960019, 311960017, 311210029, 279850041, 313080028, 314690001, 318140004, 320900038, 287520042, 320330016, 321860018, 323590032, 321320019, 324460054, 324460004, 323380006, 323380002, 323380007, 327360013, 329080004, 326840018, 328130010, 334270031, 333160005, 330390017, 333040008, 331660007, 327720027, 335490002, 338420065, 336050007, 339300020, 340100014, 347570024, 346620026, 348230069, 296400059, 351230042, 352660004, 360140012, 353730003, 353940024, 354980008, 355090067, 359170023, 361020014, 361710019, 362390031, 247350242, 368740034, 360160047, 373490043, 371390006, 371350016, 373580001, 375540010, 375440011, 376450024, 369200155, 377430014, 378960001, 379520045, 307340038, 385830043, 385890017, 386790030, 389440101, 390680055, 395670006, 351440006, 398310008, 399240019, 399790008, 400620008, 404570002, 405440005, 368760018, 311800004, 408590012, 325790012, 325790001, 325790004, 355890010, 318840022, 306200007, 409240071, 404870004, 402260011, 368770010, 335740142, 317300072, 323380004, 379920002, 239670041, 294250118, 246810012, 348520045, 367470012, 333890002, 251530042, 405470010, 342720009, 357700005, 299780029, 361930050, 303400038, 329210018, 345460027, 344030038, 348230057, 358370018, 351190007, 357740037, 318140003, 330260037, 369200201, 313080025, 307340030, 355910024, 381260005, 379530071, 360140002, 374320086, 405520009, 359140010, 353230004, 373770066, 315820008, 365440003, 361960011, 363000010, 356220012, 367310026, 316980048, 320000002, 322340002, 355910020, 359750053, 368840030, 284190014, 368350016, 372010056, 365900010, 327000013, 319930129, 365520068, 344600316, 374950001, 368740065, 400990002, 255210004, 314690013, 400640037, 349560017, 242800062, 231450034, 238380015, 243620050, 251550003, 249180019, 260910013, 270820032, 271840031, 274290049, 283150019, 289100006, 288510028, 288510037, 289770019, 293530023, 294990028, 299650027, 296760034, 303590008, 303760005, 305280002, 306690003, 306130054, 307340063, 308300006, 311930002, 313080030, 313080024, 313080016, 314710030, 315460008, 316790005, 317320010, 319250041, 319730003, 321320018, 321320027, 325540002, 324460064, 324460058, 324460055, 324460040, 325190011, 327840003, 329020030, 331020040, 329190048, 329390020, 338550067, 253800026, 344080037, 343900043, 345770031, 344730013, 347810017, 346410018, 347100008, 344600519, 344600737, 346330038, 350210013, 351160010, 352010007, 353030021, 355040008, 356430009, 357050017, 357420024, 358090014, 359250016, 360080004, 360430022, 362260096, 364100092, 365530027, 365120061, 371170020, 381270061, 381000009, 390760019, 260220013, 234340026, 396870013, 399330018, 397620016, 399830006, 399610017, 401020067, 249460025, 408770009, 400030207, 325790014, 324460059, 355100005, 306580004, 260220023, 360230009, 369200138, 260220020, 399200013, 393490032, 344600852, 361790012, 400640162, 355760010, 279920107, 344600830, 352650056, 321320016, 305150138, 335670006, 339410004, 290820043, 323590007, 298140043, 266570042, 331090008, 335100028, 364440012, 348470046, 363780050, 366300008, 362440007, 378870005, 271340059, 305690035, 401680085, 408090003, 270140073, 393030013, 324490021, 377300045, 365690167, 341600019, 336460007, 358020015, 324460015, 314660026, 322920018, 322720001, 293560021, 262440005, 335630035, 260220006, 322300047, 334800020, 311620024, 354130026, 290250040, 338930050, 307400023, 356320007, 279370012, 345320024, 287340029, 356960011, 318140026, 289850011, 363900038, 368740019, 379530064, 346330051, 346330013, 308950011, 374130072, 404700077, 396870012, 238390007, 251530002, 251000055, 254020045, 284190025, 284190007, 288510040, 289700022, 291650050, 289900019, 293560061, 293560048, 263460049, 263360003, 291210005, 290570039, 261930006, 295030021, 299780026, 303240006, 303690013, 303430016, 310020017, 305010003, 304760036, 306580002, 305980013, 307000004, 308320019, 306310001, 311960046, 313080022, 318270020, 317290003, 320630066, 323590024, 322460027, 324460066, 324460045, 323030015, 325140013, 322880097, 330890032, 331100053, 331020054, 330870028, 333290025, 335820007, 333820006, 338170005, 338420008, 339400007, 340800037, 339210016, 324460001, 339160114, 343040024, 344110027, 344500009, 344380030, 340380126, 346410013, 344660021, 344600517, 348750038, 284190026, 351670010, 351240046, 351810006, 352310022, 351920004, 349680105, 353190008, 356220028, 360170036, 362260072, 364960003, 368200004, 368250043, 368540004, 257950013, 370390085, 346530015, 377400026, 380520005, 379520038, 379470004, 279440109, 386250067, 386650012, 396480001, 401910018, 357560015, 406350013, 405760002, 302980014, 408560011, 325790013, 329580005, 386740010, 280750044, 400030210, 313080021, 353940004, 319340144, 368960017, 348930156, 302050028, 317850245, 314660121, 329080005, 406680006, 349560010, 371830035, 296760006, 400550032, 270140083, 337850019, 355590025, 394660006, 344600442, 288970042, 340510005, 327030020, 288510035, 291720034, 299000011, 388720019, 313080015, 379530057, 321320015, 331040002, 338220055, 357390005, 308300009, 297210001, 398960040, 311160010, 369200133, 348190001, 254550010, 358180022, 398000006, 317110027, 357620023, 392780039, 341990041, 376920031, 362390023, 365690179, 328810019, 257220065, 357870244, 328580034, 293560078, 342840022, 355910016, 366470021, 241940035, 363950001, 374390041, 329490026, 307340008, 365840018, 370360020, 290300004, 365900032]
product_ids = InventoryItem.where(sku: skus).map { |inventory_item| inventory_item.product&.id }.compact
ActiveRecord::Base.transaction do
products = Product.published.where(id: product_ids)
products.each(&:disable)
end
@andersondias
Copy link

👍 rev 10

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment