@extends('layouts.app') @section('title', 'Widgets') @section('navigation') Dashboard Settings Events Widgets @endsection @section('content')

EventBookings Widgets

Add EventBookings widgets to your Shopify theme to display events on your storefront.

View Live Examples

1. Events List Widget

Display a list of all visible events from your EventBookings account.

HTML Code:

Customization Options:

2. Events Grid Widget

Display events in a responsive grid layout, perfect for showcasing multiple events.

HTML Code:

3. Featured Events Widget

Display only events marked as "featured" in the Events management section.

HTML Code:

4. Single Event Widget

Display detailed information for a specific event. Get the event UUID from the Events management section.

HTML Code:

Note: Replace YOUR_EVENT_UUID_HERE with the actual UUID of the event you want to display.

How to Add Widgets to Your Theme

Method 1: Shopify Theme Editor (Recommended)

  1. Go to your Shopify admin → Online Store → Themes
  2. Click "Customize" on your current theme
  3. Navigate to the page where you want to add the widget
  4. Add a new "Custom HTML" or "Custom Liquid" section
  5. Paste the widget code from above
  6. Save your changes

Method 2: Theme Code Editor

  1. Go to your Shopify admin → Online Store → Themes
  2. Click "Actions" → "Edit code" on your current theme
  3. Find the template file where you want to add the widget
  4. Paste the widget code in the desired location
  5. Save the file

Method 3: Create a New Page Template

  1. Go to your Shopify admin → Online Store → Pages
  2. Create a new page (e.g., "Events")
  3. In the page content, switch to HTML view
  4. Paste the widget code
  5. Save the page and add it to your navigation menu

Widget Styling

The widgets come with basic styling that matches most themes. You can customize the appearance by adding CSS to your theme.

Example CSS Customization:

Note: Add this CSS to your theme's main stylesheet or in a custom CSS section.

Need Help?

If you need assistance adding widgets to your theme or have questions about customization:

@endsection @push('scripts') @endpush