[Rakuten RMS] Bookmarklet that prompts confirmation of delivery date information registration
This is a business memo.
Registration of delivery date information is now required for individual product registration in Rakuten RMS.
However, the unfortunate situation is that it does not display an error even if there is an error in the registration, so I made a rush project to create a bookmarklet that prompts you to confirm the delivery date information registration.
Javascript:function rms_nouki(){if(document.regist_newitem.inventory_type[0].checked === true){if(document.regist_newitem.normal_delvdate_id.value == "-" || document.regist_newitem.backorder_delvdate_id.value == "-"){alert("Check delivery date information registration!!");}else{document.regist_newitem.submit();}}else if(document.regist_newitem.inventory_type[1].checked === true){if(document.regist_newitem.backorder_delvdate_id.value == "-"){alert("Please confirm delivery date registration!!");}else{document.regist_newitem.submit();}}else if (document.regist_newitem.inventory_type[2].checked === true){document.regist_newitem.submit();} }rms_nouki();
Use this instead of the confirm button.
If there is no problem with the registration, it will be passed.
If there are any deficiencies,
An alert will appear.