Bagisto

Bagisto is an open-source e-commerce platform based on Laravel that helps businesses create and manage online stores. It offers a flexible solution for setting up and customizing product catalogs, order processing, and payment handling. With Bagisto, users can manage various aspects of their store, including inventory, customer management, and shipping. The platform also supports multi-store functionality, allowing businesses to operate multiple online stores through a single admin panel. Additionally, it provides tools for SEO, product management, and customer engagement, making it suitable for businesses of different sizes to create a scalable and customizable e-commerce solution.

Prerequisites

Installation

  1. 1

    Retrieve package via Composer

    Run the following command:

    composer require seven.io/bagisto
    
  2. 2

    Register package as a service provider

    Add an entry in config/app.php.

    // Insert example code here
    
  3. 3

    Clear cache and migrate database

    Execute these commands:

    php artisan cache:clear && php artisan migrate
    

Setup

Before you can send SMS, you need to submit your seven API key. This can be done in two ways:

Configuration via the admin panel

  1. Navigate to Dashboard -> Configure -> seven in your Bagisto admin panel.
  2. Enter your API key and click Save.

Setting an environment variable

  1. 1

    Set variable

    Define your seven API key in the environment by adding an entry to the .env file in the root directory of your project.

    SEVEN_API_KEY=YOUR_API_KEY
    
  2. 2

    Extend configuration

    Add the following lines to config/services.php:

    return [
        // ...
        'seven' => [
            'api_key' => env('SEVEN_API_KEY'), // must match the key from .env file added in the previous step
        ],
    ];
    

Clear the cache and cache the configuration by executing php artisan cache:clear && php artisan config:cache.

Usage

Send SMS to customers

Go to 'Customers' and click on the seven symbol in the action column.

Send SMS to customer group

Go to 'Groups' and click on the seven icon in the action column.

You can use placeholders that refer to the properties of the person, provided these are defined. For example, is replaced by the person's first and last name.

Last updated: 5 days ago