Magento one page checkout bookmarklet
Ever needed to test a new payment module, or shipping rate? Hate going through the checkout multiple times? Well, I’ve put together this simple little bookmarklet:
To use, simply create a new bookmark, and enter the above code into the URL section of the bookmark and keep the bookmark in your bookmarks toolbar. Now, when you hit the first stage of the onepage checkout, click your bookmarklet. It will populate your fields, and progress you to the payment stage. Easy!
Word of warning: This bookmarklet is not perfect, and feel free to tailor the information contained, this has been put together for UK stores which doesn’t require a region (I entered dummy data anyway, but if you are for example a US user, you will need to change this value in relation to the states drop-down menu.)
Other solutions? yes, you could just create an account, and use that. However sometimes we need to test as a guest user.
Don’t want to skip shipping methods? Simply remove lines 16 – 23.
Looking for an expert Magento 2 Developer to help with your project?Contact Me Today