Skip the setup. Our team will have you taking orders in 24 hours. Get started →
Themes

Plum

Installation Usage Customizing the theme Setting featured items Homepage slider and banners Dish and category photos Dark mode Navigation menus and static...

If you haven't already bought the TastyIgniter Plum Theme, you can purchase it from the TastyIgniter Marketplace.

After purchasing the theme, add composer.tastyigniter.com as a repository in your composer.json file to allow Composer to find the package. This is done automatically when you install the theme via the TastyIgniter Admin.

"repositories": {
    "tastyigniter": {
        "type": "composer",
        "url": "https://composer.tastyigniter.com"
    }
},

Next, navigate to Manage > Updates, click the Attach Carté Key button, enter your carte key, and click Attach Carté Key. After the carté key is attached, click the Check Updates button to create your auth.json file. Composer uses that file to authenticate your site with the marketplace so you can install paid extensions.

After the auth.json file is created, you'll be able to install the theme via composer using the following command:

composer require igniterlabs/ti-theme-plum -W

Then go to Design > Themes in the admin area and activate Plum Theme. Plum theme needs these extensions installed and enabled: igniter.cart, igniter.coupons, igniter.frontend, igniter.local, igniter.pages, igniter.payregister, igniter.reservation and igniter.user. Plum is locked and does not allow a child theme; change it from Customize.

This section covers how to use the Plum theme in your TastyIgniter installation.

Theme options live under Design > Themes > Plum Theme > Customize:

  • General - The logo, favicon and home screen icon, whether the restaurant name sits next to the logo, a Google Font (DM Sans when empty), how many items each list shows per page, whether dish and category photos are shown, address suggestions, single location mode, and the homepage order button.
  • Colors - Primary, button, footer, headings, body text, background and focus ring. Lighter and darker shades, including the dark mode version of the primary colour, are derived from these.
  • Homepage - The site description, hero heading and text, the hero slider, homepage banners and featured dishes.
  • Checkout - The terms and conditions page, whether a phone number is required, and whether to show the order notes and driver notes fields.
  • Social - Links shown as icons in the footer (Instagram, Facebook, X, TikTok, YouTube, LinkedIn, WhatsApp or any other URL).
  • Cookie banner - Whether to show the cookie banner, its message, button text and a link to a cookie policy page.

Open the Homepage tab, pick the dishes under Featured dishes and set how many to show with Featured dishes to show. Dishes appear on the homepage in the order they were picked. Leave the list empty to hide the section.

Create a slider under Design > Sliders & Banners, then choose it as the Hero slider under Design > Themes > Plum Theme > Customize > Homepage. The first image becomes the hero photograph, washed with plum so the white heading stays readable. Each image's title and description become its caption, and Seconds per slide sets how long each one shows when the slideshow is on screen. Without a slider, the hero uses a default restaurant photograph.

On a large screen, up to three featured dishes float beside the heading. When none are featured and the slider has more than one image, those slides play in a frame beside the heading instead. The last phrase of the hero heading, after a comma, a full stop or an em dash, is set in italic.

Below the hero, Plum shows a card for the current location, then any homepage banners, the featured dishes, and a dark booking panel with the location's address, hours and phone number.

Banners from Marketing > Banners can be shown below the hero by ticking them under Homepage banners. Image banners link to their click URL, and custom banners render their HTML (cleaned before it is shown).

Show dish images and Show category images are under General. Dish photos appear on the order page, in the dish window and in the cart. With Show category images on, each category on the order page has a banner. The banner uses the category's own image, then a dish photo from the category, and a plum gradient when neither exists. Turn the switch off to hide the banners.

The header has a button that switches the storefront between light and dark. The choice is remembered in that browser. Until someone chooses, Plum follows the device's light or dark setting. The dark shades of links, prices and buttons follow Primary and Button under Colors. Keep Footer dark: it colours the footer and the booking panels, where the text is white.

Plum adds three menus under Design > Static Pages > Static Menus the first time they are needed:

  • Main menu (main-menu) - The header links. Items with children become dropdowns.
  • Footer menu (footer-menu) - The footer columns. Each top-level item is a column heading.
  • Pages menu (pages-menu) - The sidebar shown on static pages.

Static pages from Design > Static Pages are rendered by the theme at their own permalink, with the pages menu beside them.

Plum adds a Locations item to the Main menu the first time that menu is created. To take it out of the header, go to Design > Static Pages > Static Menus, open Main menu, delete the Locations item and save. The header reads that menu, so the link disappears straight away. The footer menu does not include Locations.

The listing at /locations is part of the theme, not a static page, so it has no Status switch. Deleting the menu item removes it from the navigation. Anyone who already has the address can still open /locations.

To turn off a static page, such as About or a policy, open it under Design > Static Pages, switch to the Manage tab and turn Status off. The page then returns not found. Hide in Navigation only affects menus that list static pages on their own. A link added by hand still has to be deleted from the menu.

Single location hides the Locations link in the menus and returns a not-found page for /locations. Homepage order button replaces the address search on the homepage with a button that opens the default location's menu.

Customers enter their delivery address on the homepage or in the order details modal. They can type an address, pick a saved address, or tap Use my current location to drop a pin on a map and drag it to their exact address. The map uses Google Maps when a Maps API key is set and the geocoder is Google or Chain under System > Settings > General, and OpenStreetMap otherwise.

As the customer types, Plum suggests matching addresses below the field. Suggestions start after three characters and come from the same geocoder, so they need the Google Places API enabled on your key when the geocoder is Google. Picking one, with a click or the arrow keys and Enter, uses that place's exact coordinates: on the homepage it finds the nearest restaurant straight away, and in the order details modal it fills in the address. Customers can still ignore the list and search with what they typed. Turn Address suggestions off under General to remove the list; it is on by default.

When the location has delivery areas, Plum theme tells customers whether it delivers to their address and shows the area's delivery conditions. Orders outside the delivery areas are blocked only when Reject Orders Outside Delivery Area is turned on in the order settings.

The checkout form is built with the cart extension's CheckoutForm, so fields and rules that extensions add through the checkout.form.extendFieldsBefore and checkout.form.extendFields events show up automatically.

Stripe (Payment Element), Square and Authorize.Net (Accept Hosted form) collect card details in the browser with the gateway's own script, just like the Orange theme. Signed-in customers can save a card and remove it later. Offsite gateways such as PayPal, Mollie and Stripe Checkout send the customer back to the order confirmation page, or to checkout if they cancel.

The basket drawer and checkout explain why an order can't be placed yet, for example when the location is closed, the minimum order isn't met, or delivery isn't available for the address.

When reviews are allowed under System > Settings > Review Settings, customers can leave a rating and comment on the order confirmation and reservation confirmation pages once the order or reservation is completed.

Install the Socialite extension, then turn on each network under Manage > Settings > Configure Social Login Providers. Plum shows a button for every enabled provider on the sign-in page. There is nothing to add to the page. When a provider does not share an email address, the customer is asked to confirm one before the account is created.

Install the Dine-In extension, then enable it for a location under Manage > Locations, open the location settings, and turn on Enable Dine-In under Dine-In settings. Tables come from Manage > Locations > Dining Areas.

When dine-in is enabled, it appears as an order type in the order details modal. An area that has a floor plan shows that room, and the customer taps a free table. An area without a floor plan keeps the dining area and table dropdowns. Tables that are already seated or reserved stay visible and cannot be chosen. The customer enters how many guests are sitting down, and that count has to fit the table.

Scanning a table QR opens the menu already on that table. While the visit is locked to dine-in, delivery, collection, and the table picker are hidden. The menu can be limited to the categories chosen for that dining area.

Sending the order to the kitchen starts one bill for the table and clears the basket. Another round from the same table is added to that bill. The customer can pay now or, when the location allows it, pay later. They can request the bill, call a waiter, or ask for water from the menu. The account order page shows whether the tab is received, preparing, served, or waiting for the bill.

Each dish can be fired now, with the mains, or held. A confirmed reservation that already has a table can start an order for that table from the booking confirmation.

Install the Loyalty Points extension and switch on Enable Loyalty Points under Manage > Settings > Loyalty Points Settings. Signed-in customers can redeem points from the basket once they have at least the minimum and the basket is not empty. Their history is at /account/points, and that page is added to the account menu while loyalty is enabled.

Install the Gift Up! extension and paste the API key under Manage > Settings > Gift Up! Settings. Enable the Gift Up! cart condition under Manage > Settings > Cart Settings.

The purchase page is at /gift-cards once the account is connected. It is not in the header until you add it: under Design > Static Pages > Static Menus, add a URL item pointing at /gift-cards. Customers redeem a card by entering its code in the basket voucher field.

Install the Multi Vendor extension and keep the site in multiple location mode (IGNITER_LOCATION_MODE=multiple in .env, which is the default). Plum then serves the registration form at /vendor/register. You do not create a theme page for it.

Add a link the same way as gift cards, with the URL /vendor/register. Require approval for registered vendor accounts under Manage > Settings > Multi Vendor Settings decides whether a new restaurant can take orders immediately or waits for approval. The page is hidden when the extension is not installed or the site is in single location mode.

Add your reCAPTCHA keys under System > Settings > reCaptcha Settings (from the frontend extension) to protect the contact, register and booking forms. Without keys the forms work without a captcha.

Plum renders its pages with Inertia instead of theme components, so there is nothing to configure per page. Each route below is named igniter.theme.{name}, so route('igniter.theme.checkout.checkout') works the same as in the Orange theme.

Path Route name Page
/ home Homepage with a photographic hero, address search, banners, featured dishes and a booking panel
/{location}/order order Menu for that location. /order redirects to the current one
/checkout checkout.checkout Checkout
/checkout/success/{hash} checkout.success Order confirmation, with reorder, cancel and review
/book-table booking Table booking
/book-table/success/{hash} booking.success Reservation confirmation, with review
/contact contact Contact form
/locations locations Location listing. Remove the header link from the Main menu
/gift-cards gift-cards Gift Up! purchase page, once that extension is connected
/vendor/register vendor.register Vendor registration, when Multi Vendor is in multiple location mode
/login account.login Sign in, with social login buttons when providers are enabled
/register account.register Create an account and activate it from the emailed link
/forgot-password account.forgot Request a password reset link
/forgot-password/{code} account.reset Set a new password
/account account.account Profile details and account deletion
/account/orders account.orders Order history
/account/order/{hash} account.order Order details, with reorder and cancel
/account/reservations account.reservations Reservation history
/account/reservation/{hash} account.reservation Reservation details
/account/address account.address Address book
/account/points account.points Loyalty points history, when loyalty is enabled
/confirm-email account.confirm Email confirmation after a social login that did not share one

The account pages need a signed-in customer; guests are sent to the sign-in page.

Plum fires the same events as the Orange theme, so extensions written for Orange keep working.

Use the cart extension's checkout form events to add or change fields. Rules added to the form config are used to validate the order.

Event::listen('checkout.form.extendFieldsBefore', function (CheckoutForm $form) {
    $form->fields['company'] = [
        'label' => 'Company',
        'type' => 'text',
        'tab' => 'details',
    ];
    $form->config['rules']['company'] = ['nullable', 'string', 'max:128'];
});

The tab decides where a field appears on the checkout page: details (Your details), comments (Notes) or terms (above the Place order button). Text, email, telephone, number, textarea, select, radio and checkbox fields are supported.

igniter.orange.validateCheckout runs before the order is saved, with the posted data and the order. Throw an ApplicationException to stop the order and show the message to the customer.

Event::listen('igniter.orange.validateCheckout', function (array $data, Order $order) {
    if ($order->order_total > 500) {
        throw new ApplicationException('Call us to place orders over £500.');
    }
});

Customers delete their account with the user extension's DeleteCustomer action, which fires igniter.user.beforeDeleteAccount and igniter.user.deleteAccount. Plum listens to the first one to remove the customer's saved cards. Listen to it to remove your own customer data.

Storefront text comes from the theme's own language file, under the igniterlabs.plum namespace. To change a line, go to Manage > Languages, edit a language and pick the igniterlabs.plum group. Edits apply to the storefront straight away, and the same screen is used to translate the theme into another language.

The hero heading, hero text, featured dishes heading, site description and cookie banner are saved with the theme under Design > Themes > Plum Theme > Customize. The Homepage tab points to Manage > Languages for everything else.

Lines can include placeholders such as :name or :count, which the theme fills in. Lines with two forms separated by |, such as :count item|:count items, pick the first form for one and the second for anything else. Checkout field labels and some order messages come from the Cart extension's own language strings, which can be edited the same way.

The theme's compiled assets are in the public folder and are published to public/vendor/igniterlabs-plum. After updating the theme, publish them again with:

php artisan igniter:theme-vendor-publish

To change the theme's Vue pages or styles, install the Node dependencies and rebuild the assets from the theme folder:

npm install
npm run build

npm run dev starts the Vite development server with hot reloading.

Did this answer your question?

Your feedback helps us improve our help articles.

Need more help?

Explore the help center, join the community, or get priority support from the TastyIgniter team.