…mentation of a custom shipping method module in OpenCart. In the first part, we enabled and configured our custom shipping method using the configuration form in the back-end. Today, we'll implement the files which are required by OpenCart so that it can detect the custom shipping method and list it…
…ment and software development is making sure anyone and everyone who wants to learn a skill is able to do so.When you provide as much content as Envato, it can often be a challenge to make sure you're educating everyone. This includes people who are already somewhat educated in the field…
…ment (TDD) technique to develop your software by writing tests. Typically, TDD will divide each task of the development into individual units. A test is then written to ensure that the unit behaves as expected. Every project that uses Test-Driven Development follows three simple steps repeatedly: Write a test for…
…me of the basic API usage.The REST APIs allow third-party systems to interact with the OpenCart store seamlessly. How about placing orders in your store using the iOS/Android app? In fact, you could think of any system irrespective of the technology it's built upon! The integration is possible now with…
…ments that describes the structure and the requirements of your JSON data. In this two-part series, you’ll learn how to use JSON-Schema to validate data. Let’s say you have a database of users where each record looks similar to this example: { "id": 64209690, "name": "Jane Smith", "email": "jane.smith@gmail.com", "phone":…
…meworks (Angular, Ember, and Vue, to name a few) being crawled without Google penalty. Beyond search, other web crawlers are important to your site’s visibility—namely rich social-sharing robots that rely on meta tags are still blind to JavaScript. In this tutorial, we will build an alternate route and rendering module…
…ment and customer related data in the cart. Finally, we'll conclude the article by placing an order!If you haven't gone through the first part yet, I would recommend that you go through it. Let's have a quick recap of what we've done so far in this series. We created API…
…ments to such data in one file may lead to very a large schema that may also have a lot of duplication. Structuring Your Schemas The JSON-schema standard allows you to break schemas into multiple parts. Let’s look at the example of the data for the news site navigation: {…
…me, signing up for a blog on WordPress.com is the easiest process for setting up a blog, but if you're looking to download a copy of the WordPress software and install it on a your local machine (that is, your laptop or desktop), then there are some other prerequisites.Throughout this…
…Meteor provides you with a fast development workflow that will create isomorphic web apps that ‘just work’. The Meteor architecture is truly beautiful in that it will update all clients connected to your app simultaneously, straight out of the box. This has huge implications for creating reactive web apps. Installing…