If you are currently starting to work or have been working with shopify, you may be pretty well aware about the limitations of shopify. Shopify just allows us to modify their template and do basic functioning but there are lots of features and processing that an e-commerce store require which shopify doesn’t provide by default. So basically shopify doesn’t provide us the flexibility to do server side programming or processing. We are bound to the front-end data manipulation only.
This limitation have led most of us to scratch our head on either to choose the platform itself or not for our store development. So as a developer we all have a question if we can power shopify with extended feature
Actually you may have been led to this post with same question in mind as there are not much resource found over internet on this topic. The shopify support themselves don’t provide much information on this level of customization.
So the answer to your question “Are we able to enhance or incorporate the additional functionality in shopify?” is YES!!
So the immediate question that arises in your mind is HOW??
It’s actually a separate middle-ware system or some server side code like PHP hosted on a different server. We then sends an AJAX request to that middle-ware system from shopify. In response to that AJAX request we get the processed data from the server-side code which then can be used with our shopify store.Later we can manipulate and use that data.
The simple example would be to allow customer choose order/shipping related option according to their postcodes. The flow could be customer needs to choose the delivery day during checkout (in cart page). So our middle-ware stores all the information of delivery days associated with the postcode. When the customer types in the postcode on shopify we send an AJAX request and get those dates and make the available delivery day selectable.
This is a basic example, you can think of as many implementation as you can using this way.
This tutorial covers the basics. I will go in details on how to actually do this i.e send across domain AJAX request in shopify in my next post.