PHPackages                             hashandsalt/kirby-snipcart - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Admin Panels](/categories/admin)
4. /
5. hashandsalt/kirby-snipcart

ActiveKirby-plugin[Admin Panels](/categories/admin)

hashandsalt/kirby-snipcart
==========================

Snipcart Panel Plugin

0.5.0(3y ago)3021[3 issues](https://github.com/HashandSalt/kirby-snipcart/issues)MITVue

Since Nov 10Pushed 11mo ago2 watchersCompare

[ Source](https://github.com/HashandSalt/kirby-snipcart)[ Packagist](https://packagist.org/packages/hashandsalt/kirby-snipcart)[ RSS](/packages/hashandsalt-kirby-snipcart/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (8)Dependencies (1)Versions (10)Used By (0)

Kirby Snipcart
==============

[](#kirby-snipcart)

For Kirby 5 use release 0.7.5+
------------------------------

[](#for-kirby-5-use-release-075)

For Kirby 4 use release 0.5.0
-----------------------------

[](#for-kirby-4-use-release-050)

This plugin helps integrate Snipcart into a Kirby site. We have big plans for this one, but right now it just helps add the default cart and provides blueprints &amp; snippets to take the mandatory data that Snipcart needs in order to work.

It is worth noting that this version is built on Vue, and adding the cart to the template also adds Vue. Therefore, if you need other interactivity (lightboxes, image sliders etc) on the site, it's not a good idea to use jQuery. Go with Vue based plugins.

Planned future features:

- Vue template overrides allowing greater customisation of the cart.
- Panel widgets showing high level info like number of sales, revenue etc.
- Full integration with the relevant parts Snipcart API.
- Reports - export stuff like the sales for the year to CSV.
- Anything else useful!

Built against Kirby 3.8.3+ and PHP 8.1+

Install
-------

[](#install)

### Download

[](#download)

Download and copy this repository to `/site/plugins/kirby3-snipcart`.

### Composer

[](#composer)

```
composer require hashandsalt/kirby3-snipcart

```

---

Commerical Usage
----------------

[](#commerical-usage)

This plugin is free but if you use it in a commercial project please consider to

- [make a donation 🍻](https://paypal.me/hashandsalt?locale.x=en_GB) or
- [buy a Kirby license using this affiliate link](https://a.paddle.com/v2/click/1129/36141?link=1170)

---

Usage
-----

[](#usage)

### Cart Snippet

[](#cart-snippet)

Add the cart just before your closing body tag:

```

```

### Blueprint

[](#blueprint)

Extend the product data blueprint into you product page blueprint:

```
sections:
  productdata:
    type: fields
  fields:
    productinfo: cart/product

```

### Add to Cart Button

[](#add-to-cart-button)

Add the "Add to Cart" button to your product template:

```

```

### Add Checkout Summary

[](#add-checkout-summary)

Add the "Checkout" button and items in basket to your product template:

```

```

Options
-------

[](#options)

The cart will not work without a valid API for the cart on the front end, and you also need a secret key for the Kirby Panel to work with. These can be obtained from within the Snipcart Dashboard.

You can also choose wether or not to use the default css theme for the cart:

```
'hashandsalt.kirby-snipcart.snipcartlive' => false,

'hashandsalt.kirby-snipcart.apikeytest'   => 'XXXX',
'hashandsalt.kirby-snipcart.apikeylive'   => 'XXXX',

'hashandsalt.kirby-snipcart.apisecrettest' => 'XXXX',
'hashandsalt.kirby-snipcart.apisecretlive' => 'XXXX',

```

Change Notes
------------

[](#change-notes)

The following config option has been depricated as it is now a an option on the Snipcart JS call. You can set it in ``

```
'hashandsalt.kirby-snipcart.defaulttheme' => true,

```

###  Health Score

30

—

LowBetter than 64% of packages

Maintenance35

Infrequent updates — may be unmaintained

Popularity12

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity53

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 98.3% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~164 days

Recently: every ~282 days

Total

8

Last Release

1227d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/d18b7200637c15341417dfabb7c51c7ec3fda44f6a24cb4780b5e7c14f309118?d=identicon)[hashandsalt](/maintainers/hashandsalt)

---

Top Contributors

[![HashandSalt](https://avatars.githubusercontent.com/u/28439755?v=4)](https://github.com/HashandSalt "HashandSalt (57 commits)")[![obear](https://avatars.githubusercontent.com/u/814599?v=4)](https://github.com/obear "obear (1 commits)")

### Embed Badge

![Health badge](/badges/hashandsalt-kirby-snipcart/health.svg)

```
[![Health](https://phpackages.com/badges/hashandsalt-kirby-snipcart/health.svg)](https://phpackages.com/packages/hashandsalt-kirby-snipcart)
```

###  Alternatives

[dmstr/yii2-adminlte-asset

AdminLTE backend theme asset bundle for Yii 2.0 Framework

1.1k1.8M67](/packages/dmstr-yii2-adminlte-asset)[dwij/laraadmin

LaraAdmin is a Open source Laravel Admin Panel / CMS which can be used as Admin Backend, Data Management Tool or CRM boilerplate for Laravel with features like CRUD Generation, Module Manager, Media, Menus, Backups and much more

1.6k68.7k](/packages/dwij-laraadmin)[filament/spatie-laravel-media-library-plugin

Filament support for `spatie/laravel-medialibrary`.

1764.8M125](/packages/filament-spatie-laravel-media-library-plugin)[filament/infolists

Easily add beautiful read-only infolists to any Livewire component.

1220.8M36](/packages/filament-infolists)[magefan/module-admin-user-guide

Admin panel user guides.

132.5M1](/packages/magefan-module-admin-user-guide)[pechente/kirby-admin-bar

Kirby Admin Bar

512.2k](/packages/pechente-kirby-admin-bar)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
