Present for Craft CMS

Installation

Requirements

  • Craft CMS 5.3 or later
  • Craft Commerce 5.0 or later
  • PHP 8.2 or later

Install

composer require justinholtweb/craft-present
php craft plugin/install present

Or find Present in the Plugin Store.

First run

  1. Present → Bundle Types → New bundle type. A bundle type is the mould: its field layout, its URLs, and what its bundles are priced like by default. Drag What's in the box and Bundle pricing into the field layout — they are native fields, so you choose where they sit.
  2. Present → Bundles → New bundle. Give it a title, a SKU and a price, then add slots.
  3. Point a template at it. The fastest route is {{ craft.present.builder(bundle) }}.

Editions

Present installs as Lite. Switch to Pro from the Plugin Store or with:

php craft plugin/switch-edition present pro

Pro settings saved while on Pro are kept if you drop back to Lite — they are ignored, not deleted, and the control panel tells you which ones are being ignored.

Uninstalling

php craft plugin/uninstall present

This drops Present's five tables, which deletes every bundle and bundle type. Orders keep their line items: components are ordinary Commerce line items and survive untouched, and the container line item survives as a record of what was bought, minus the bundle element it pointed at.