Magento2 orderflow Bookmarklet

T2 test order

Source (tele2.nl)


Download Bookmarklet:


View Bookmarklet Code:

Bookmarklet Source Code:

javascript%3A%28function%28%29%257B%252F%252F%2520%253D%253DUserScript%253D%253D%252F%252F%2520%2540name%2520%2520%2520%2520%2520%2520%2520%2520%2520Magento%25202%2520Checkout%252F%252F%2520%2540namespace%2520%2520%2520%2520http%253A%252F%252Ftele2.nl%252F%252F%252F%2520%2540version%2520%2520%2520%2520%2520%25200.1%252F%252F%2520%2540description%2520%2520Fill%2520checkout%2520form%252F%252F%2520%2540author%2520%2520%2520%2520%2520%2520%2520Fortunato%2520Geelhoed%252F%252F%2520%2540match%2520%2520%2520%2520%2520%2520%2520%2520http%253A%252F%252F*%252F*%252F%252F%2520%2540grant%2520%2520%2520%2520%2520%2520%2520%2520none%252F%252F%2520%253D%253D%252FUserScript%253D%253D%28function%28%29%2520%257B%27use%2520strict%27%253Bvar%2520data%2520%253D%2520%255B%257B%252F%252F%2520Persoonlijke%2520gegevenscustomer_title%253A%2520%27male%27%252Cfirstname_initials%253A%2520%27F%27%252Cfirstname%253A%2520%27Test%27%252Clastname_prefix%253A%2520%27%27%252Clastname%253A%2520%27Test%27%252Cdate_of_birth%253A%2520%272%2520september%25201945%27%252C%257D%252C%2520%257B%252F%252F%2520Contactgegevensemail%253A%2520%27test%2540test.com%27%252Cemail_confirmation%253A%2520%27test%2540test.com%27%252Czipcode%253A%2520%271112XS%27%252Chouse_number%253A%2520%2758%27%252Cphone%253A%2520%270640000000%27%257D%252C%2520%257Bid_type_dutch%253A%2520%27passport%27%252Cdocument_number_dutch%253A%2520%27ABC123456%27%252Ciban%253A%2520%27NL98INGB0000000002%27%252Cnumber_protection%253A%2520true%252Cnumber_mapping%253A%2520true%257D%252C%2520%257Bfamily_status%253A%2520%27married%27%252Cmonthly_income%253A%25203000%252Cmonthly_expenses%253A%25201000%257D%252C%2520%257Bagreement%253A%2520true%257D%255D%253Bfunction%2520populateField%28key%252C%2520value%29%2520%257Bvar%2520ctrl%2520%253D%2520document.getElementsByName%28key%29%255B0%255D%253Bif%2520%28ctrl.type%2520%253D%253D%253D%2520%27checkbox%27%2520%257C%257C%2520ctrl.type%2520%253D%253D%253D%2520%27radio%27%29%2520%257Bctrl.checked%2520%253D%2520value%253Breturn%253B%257Dctrl.value%2520%253D%2520value%253Bvar%2520blurEvt%2520%253D%2520document.createEvent%28%2522HTMLEvents%2522%29%253BblurEvt.initEvent%28%27blur%27%252C%2520false%252C%2520true%29%253Bctrl.dispatchEvent%28blurEvt%29%253Bvar%2520changeEvt%2520%253D%2520document.createEvent%28%2522HTMLEvents%2522%29%253BchangeEvt.initEvent%28%27change%27%252C%2520false%252C%2520true%29%253Bctrl.dispatchEvent%28changeEvt%29%253B%257Dfunction%2520populateStep%28step%252C%2520_data%29%2520%257Bconsole.log%28%27populateStep%2520%253A%253A%2520%27%252C%2520step%252C%2520_data%29%253BObject.keys%28_data%29.forEach%28function%2520%28key%29%2520%257BpopulateField%28key%252C%2520_data%255Bkey%255D%29%253B%257D%29%253Bif%2520%28data%255Bstep%255D%2520%21%253D%253D%2520undefined%29%2520%257Bvar%2520panels%2520%253D%2520document.querySelectorAll%28%27.panel-collapse.in%27%29%253Bvar%2520currentPanel%2520%253D%2520panels%255Bpanels.length%2520-%25201%255D%253BcurrentPanel.querySelector%28%27.t2-btn-next%27%29.click%28%29%253BpollForStep%28step%2520%252B%25201%252C%2520function%28%29%2520%257BpopulateStep%28step%2520%252B%25201%252C%2520data%255Bstep%255D%29%253B%257D%29%253B%257D%257Dfunction%2520pollForStep%28step%252C%2520callback%29%2520%257Bvar%2520panels%2520%253D%2520document.querySelectorAll%28%27.panel-collapse.in%27%29%253Bvar%2520stepPanelOpen%2520%253D%2520panels%255Bstep%2520-%25201%255D%2520%21%253D%253D%2520undefined%2520%253F%2520true%2520%253A%2520false%253Bif%2520%28%21document.getElementsByName%28Object.keys%28data%255Bstep%2520-%25201%255D%29%255B0%255D%29.length%2520%257C%257C%2520%21stepPanelOpen%29%2520%257BsetTimeout%28function%28%29%2520%257BpollForStep%28step%252C%2520callback%29%253B%257D%252C%2520100%29%253B%257D%2520else%2520%257Bcallback%28%29%253B%257D%257DpollForStep%281%252C%2520function%28%29%2520%257BpopulateStep%281%252C%2520data%255B0%255D%29%253B%257D%29%253B%257D%29%28%29%257D%29%28%29


Rate it:


Tags:

Comments

Comments so far. Add yours.