PHPackages                             hashandsalt/kirby3-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/kirby3-snipcart

Abandoned → [hashandsalt/kirby-snipcart](/?search=hashandsalt%2Fkirby-snipcart)Kirby-plugin[Admin Panels](/categories/admin)

hashandsalt/kirby3-snipcart
===========================

Snipcart Panel Plugin

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

Since Nov 10Pushed 1y ago2 watchersCompare

[ Source](https://github.com/HashandSalt/kirby-snipcart)[ Packagist](https://packagist.org/packages/hashandsalt/kirby3-snipcart)[ RSS](/packages/hashandsalt-kirby3-snipcart/feed)WikiDiscussions master Synced 3w 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

32

—

LowBetter than 69% of packages

Maintenance33

Infrequent updates — may be unmaintained

Popularity20

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity54

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

1279d 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-kirby3-snipcart/health.svg)

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

###  Alternatives

[getkirby/cms

The Kirby core

1.5k584.8k474](/packages/getkirby-cms)[medienbaecker/kirby-modules

Easily add modules to your pages

895.5k1](/packages/medienbaecker-kirby-modules)[sylvainjule/matomo

Matomo helpers, panel area and sections for Kirby

14512.6k](/packages/sylvainjule-matomo)[grommasdietz/kirby-blueprint-areas

Add custom Panel areas via blueprints on Kirby CMS

211.2k](/packages/grommasdietz-kirby-blueprint-areas)[pechente/kirby-admin-bar

Kirby Admin Bar

532.8k](/packages/pechente-kirby-admin-bar)[visionbites/usage-reference

Show references to a page or file on the objects blueprint.

268.1k](/packages/visionbites-usage-reference)

PHPackages © 2026

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