Zero One Kirby CMS theme (in a plugin)

Hi there!

I would like to present to you Zero One | Multi-purpose Ecommerce Kirby CMS starter theme
It is built almost two years ago, but in the latest update, we integrated Snipcart.

You can see the shop demo at

And documentation pages Shop page - Zero One Documentation

For those who are not acquainted with Kirby CMS, it is a flat-file PHP CMS. It is an unopinionated system, with an optional Vue JS panel, and over the years it grew to be one of the best of its kind.
You can check out its powers at their website.

Zero One is a Kirby CMS plugin

Zero One is the most popular Kirby CMS theme, but it is actually a plugin. This is great, because of some functionalities Kirby has. Because you can overwrite any plugin file by copying it to your theme folder. Change it, extend it, and safely update Zero One to new versions without worry. Your changes will stay untouched. Like a WordPress child theme, but more powerful. Learn more.

Developer features.

Zero One is created to be customized, extended, and scaled. No restraints whatsoever. It is also a gold mine for Kirby beginners because it offers solutions for various common problems.

Learn more

Content editing features.

Custom-made panels for every content type. Kirby Editor, Kirbytext, and Page Builder in just the right places to extend flexibility to maximum.

Learn more

SEO/SEM master features.

There’s no need for a plugin to manage and update your site’s SEO settings. From page titles to meta descriptions, URLs to Open Graph settings — it’s easy to optimize every page of your site for search.

Learn more

Zero One has a theme styler (and compiler)
Zero One theme has in-built Theme styler. And it is not just a simple styler, it is actually a stylesheet compiler, which means, it compiles all Less/CSS into one minified CSS file. Which adds greatly to website speed.

I must note that Kirby is a premium CMS and every install needs a Kirby license. You can learn more at getkirby.com/buy.

5 Likes

I wish that this integration was around couple of years back, when we were building the webshop with these exact tools :slight_smile:

Great theme btw - nice design, clean code (the most important part for me tbh, :clap:), bunch of features out-of-box, worth every cent!

Hi, @srdjanr! Thank you, I’m glad you like it. :blush:

Did you use Kirby too with Snipcart?

Yup, Kirby + Snipcart (+Braintree as a payment gateway). :slight_smile:

1 Like

New Zero One theme demo, featuring properly Snipcart and its superb features

Hi there, I’ve just tried using this theme to integrate with Snipcart but I’m getting an error on cart validation saying it cannot find the product id ('Please make sure the product is correctly defined. ')… am I missing something obvious?!

snipcart.js:1 A ‘cart-confirmation’ error occured in Snipcart.

Reason: ‘product-crawling-failed’

— Item 1 —
[Item ID] wine-bottle-lantern
[Item Unique ID] cc06eacb-1fb7-4fe0-a48b-8d679c9774c2
[Item Name] Wine bottle lantern
[Url] https://studio42.infinityfree.me/shop/wine-bottle-lantern
[Status] NotFound
[Price in cart] 399
[Crawled prices] []

[Details] We have not been able to find item with id ‘wine-bottle-lantern’ at ‘https://studio42.infinityfree.me/shop/wine-bottle-lantern’. Please make sure the product is correctly defined. We suggest you take a look at this section of our documentation:

Hi @cearles!

I just tested your page, and didn’t get an error.

Where did you find: [Item Unique ID] cc06eacb-1fb7-4fe0-a48b-8d679c9774c2

Your product ID is ‘wine-bottle-lantern’.

Just set up your own products and don’t worry. It works fantastic, there are numerous websites using the Zero One Kirby theme as a shop, I also created two for clients.

Make sure to check the documentation Snipcart | Zero One Documentation

Also, if you need support write on our support email Support | Zero One Documentation

Hi Mr Freedom, thanks for your quick reply and reassurance. Yes I have read all the support docs thanks. I chose the theme as I wanted something simple to set up but sadly it hasn’t been as straightforward as I thought. Strange that it is working for you though. The products go into the cart ok it is only when I try to process a payment it throws out that error - the unique ID was shown in the console with the rest of the text when I tried to work out what was wrong.

Hi @cearles,

Ah, I understand, I now went to the checkout process and see what you mean.

Did you add some custom code?
I don’t know why Snipcart is trying to get [Item Unique ID] d852eec9-f3c7-4a1e-b796-d5fecfb0e568 when that’s not your product ID. That’s the issue here. And that ID can’t be found anywhere in the page source code.

Did you maybe imported product to Snipcart but with a different ID and the same URL?

Can I get panel access to your website?

I just tested several products on Kirby CMS Ecommerce shop | Zero One Kirby CMS Theme, checkout process worked on every one of them.

The other thing that comes to my mind is that your server firewall is blocking Snipcart’s crawling of your page.

It is hard for me to know what is happening on your page because I have never seen or experienced something like that, and I can’t reproduce it.

You can create a new product and make a new, fresh test.

hi thanks for coming back to me. No, I haven’t put any custom code or anything lik e that in, I was literally just testing out the functionality on the demo. I can see the demo you link to works fine but I can’t reproduce it. I tried creating new products too but it keeps coming up with that unique ID. You can access the panel on the site if it helps - email test@gmail.com password admin2025.

thanks for the suggestion I will maybe try hosting somewhere else to see if that gets around the issue

Hi @cearles, sorry for the delay, I had many other things to finish first.

I just went in your demo website, tested various things, and there is always the same issue at checkout.

The similar error I get when I try to finish checkout in my local development environment, because Snipcart can’t access my website locally. Which is normal. But it is not normal that it happened the public server.

So, I don’t know, the only thing I can think of is that your server firewall is blocking Snipcart from crawling your page.

Snipcart must crawl the product page in response to a purchase request for security reasons, to avoid a customer hacker from modifying the cart.

So, yeah, the only solutions I could suggest are:

  • writing to your hosting provider about the issue
  • or trying another hosting solution

thanks for following this up Mr Freedom. I tried another hosting solution but am unfortunately getting the exact same problem so not too sure what to do about this now as this is the code straight from the demo (without me changing anything at all). I guess I just need to go with a different solution if I want to integrate Snipcart. Thanks a bunch anyway for trying to help though

Hm, sorry to hear that.

Unfortunately, whatever I do in my tests, I get a working result.

Although I see you are using the older Zero One version 5, released almost two years ago. But, that version also worked without issues in all tests.

To know deeper, I would need to have access to your server, and the install code, but that would go out of regular support.

yeah no problem, I understand. I don’t mind upgrading to the new version but not sure that’s necessarily going to help as (as you say) I’m sure the old version worked fine when it was set up too… I was really just playing with this to see if it could work for my needs. No worries, hopefully I’ll figure something out. Many thanks for your time anyway

Hi @cearles,

I just created a test shop with the older Zero One 5.2.1 version (Kirby 4) on this URL https://hello.thezero.dev/.

It works.

But I had to allow that subdomain in the Snipcart account ofcourse Login - Snipcart

And I just remembered I didn’t ask you have you done that for your website. Have you?

Hi thanks for following this up for me, I really appreciate it. Yes I did update/ allow the domains on the snipcart dashboard, so it’s not that. I’ve tried a few different things and can’t get it to work so I must somehow have the wrong files or be doing something else wrong… thanks anyway for your time and for trying to help though—testing on my local environment I can see that the theme is a really helpful/ versatile tool and your support is top notch so I definitely recommend Zero One to others