A very common request that my team and I receive at BizStream revolves around adding on a new chunk of functionality to a web site. This request can come in the form of social media integration or a customer feedback form, but 9 times out of 10 it has to do with adding e-commerce functionality to an existing site. This type of work is very common for sites that have been around for awhile or previously acted as just a brochure type site.
These sites commonly already had product pages defined, but were only intended to serve out information about each product or service a company offers. As a web site grows, the logical next steps are to add the infamous “Buy Now” button, configure e-commerce store settings, hook up a payment gateway, and start collecting more revenue (hopefully).
The above steps are all easy to do if the site is built with content management system like Kentico, but what if the site has 100, 500, or even 1,000 products that already exist? I sure would not want to create those SKUs by hand. This scenario is a perfect time to use some automation to solve the problem. Below is an example code snippet that used the Kentico CMS API to accomplish this task.