Pokupo plugin for PicoCMS

in pokupo •  7 years ago  (edited)

Hello everybody.

May be you have already heard about PicoCMS. If not - it simple flat file CMS designed to be "stupidly simple, blazing fast". And its true. Every page in Pico is just a plain text file with Markdown formatting, that you can open in any editor.

I like Pico very much and some times use it in different projects. Pico CMS have a lot of plugins but it lacks of some functions that I periodically need. For example - simple shop functions.

Other project what I like very much is Pokupo. It is SAAS service for making your own internet shop wich supports a lot of payment methods and of course cryptocurrencies such as STEEM. A little later I will tell more about this startup. At the moment, Pokupo is focused on the Russian-speaking audience, but works on localization and adaptation to the international market are already underway.

So one day I decided to combine these two projects. And the natural solution for this was the creation of a plug-in for Pico CMS. The plugin will receive data from Pokupo via the API calls and embed it in Pico pages via shortcodes.

To the text of any page is added shortcode [pkp_shop_1234] or [pkp_good_1234] where 1234 is id of the store or product in Pokupo. After that, the plugin replaces these shortcodes with a list of products from the store or for individual products. Shortcodes can be combined, combining products from different stores.

The plugin does not require any settings. It is simply added to the plugins Pico cms folder.

Unfortunately I have not yet added my plugin to the official Pico CMS catalog (someday i will do), so for now you can find it in my github repositriy

That's all for now and thanks for reading.

Authors get paid when people like you upvote their post.
If you enjoyed what you read here, create your account today and start earning FREE STEEM!