Magento2 PRD orderfill Bookmarklet

Account for making Magento2 ordering

Source (www.tele2.nl)


Download Bookmarklet:


View Bookmarklet Code:

Bookmarklet Source Code:

javascript%3A%28function%28%29%257Bjavascript%253A%2520%28function%28%29%2520%257B%27use%2520strict%27%253Bvar%2520data%2520%253D%2520%255B%257Bcustomer_title%253A%2520%27male%27%252Cfirstname_initials%253A%2520%27R%27%252Cfirstname%253A%2520%27Regression%27%252Clastname_prefix%253A%2520%27%27%252Clastname%253A%2520%27Legend%27%252Cdate_of_birth%253A%2520%2721%2520juli%25201965%27%252C%257D%252C%2520%257Bemail%253A%2520%27RegressionLegend%2540gmail.com%27%252Cemail_confirmation%253A%2520%27RegressionLegend%2540gmail.com%27%252Czipcode%253A%2520%271112XS%27%252Chouse_number%253A%2520%2758%27%252Cphone%253A%2520%270634567890%27%257D%252C%2520%257Bid_type_dutch%253A%2520%27driving_license%27%252Cdocument_number_dutch%253A%2520%273456789012%27%252Ciban%253A%2520%27NL27ABNA0505526050%27%252Ccurrent_mobile_number%253A%2520%270634567890%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%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.