Coder Social home page Coder Social logo

filament-ecommerce's Introduction

Screenshot

Filament Ecommerce Builder

Latest Stable Version PHP Version Require License Downloads

Build your own ecommerce store with FilamentPHP with the Power of Tomato CMS Builder

Installation

composer require tomatophp/filament-ecommerce

we need the Media Library plugin to be installed and migrated you can use this command to publish the migration

php artisan vendor:publish --provider="Spatie\MediaLibrary\MediaLibraryServiceProvider" --tag="medialibrary-migrations"

now you need to install the settings hub use these commands

php artisan vendor:publish --provider="Spatie\LaravelSettings\LaravelSettingsServiceProvider" --tag="migrations"
php artisan filament-settings-hub:install

then you need to publish the account model

php artisan vendor:publish --tag="filament-accounts-model"

after installing your package please run this command

php artisan filament-ecommerce:install

finally register the plugin on /app/Providers/Filament/AdminPanelProvider.php

->plugin(\TomatoPHP\FilamentEcommerce\FilamentEcommercePlugin::make())

Features

  • Multi Company / Branches Management
  • Product Management
  • Product Table Group By Type
  • Product Multi Variants
  • Product Multi Images
  • Product Multi Languages Content
  • Shipping Vendor Management
  • Order Management
  • Order Logs
  • Order Shipping Action
  • Order Change Status Action
  • Order Table Group By Status
  • Order Receipt Print
  • Order Table Summary
  • Order Settings
  • Order Export
  • Order Import
  • Order Charts Widgets
  • Coupon Management
  • Gift Card Management
  • Refferal Management
  • Coupons Service Class
  • Add Discount To Order Using Coupon
  • Product Variants On Order
  • Gitf Card Services
  • Gift Card Apply To Account Wallet
  • Pay Order With Wallet
  • Pay Order With Gift Card
  • Refferal Code Services
  • Refferal Code Middleware Counter
  • Order PDF Export
  • Order Facade Methods
  • Order Tracking Page
  • Product Import
  • Product Export
  • Product Clone
  • Cart Manager
  • Comparison Between Products
  • Wishlist Manager
  • Product Download for Digital Products
  • Search History Manager
  • Filament CMS Page Builder Integration
  • Filament CMS Themes Integration
  • Product Service Class
  • Ecommerce Service Class
  • Ecommerce APIs

Screenshots

Branches Companies Edit Company Products List Create Product Create Order Order Items Orders List Deliveries Edit Shipping Shipping

Use Coupon Service

you can use coupon service to check if coupon is valid or not

you can use this method to check for selected Order

use \TomatoPHP\FilamentEcommerce\Facades\FilamentEcommerce;

FilamentEcommerce::coupon()->check('coupon_code', \TomatoPHP\FilamentEcommerce\Models\Order::find(1));

or you can check the code for selected products

use \TomatoPHP\FilamentEcommerce\Facades\FilamentEcommerce;

FilamentEcommerce::coupon()->products([1,2,4])->check('coupon_code');

or you can get the direct discount amount of the code

use \TomatoPHP\FilamentEcommerce\Facades\FilamentEcommerce;

FilamentEcommerce::coupon()->products([1,2,4])->discount('coupon_code');

and it's the same as check you can apply to selected order or selected products.

Publish Assets

you can publish config file by use this command

php artisan vendor:publish --tag="filament-ecommerce-config"

you can publish views file by use this command

php artisan vendor:publish --tag="filament-ecommerce-views"

you can publish languages file by use this command

php artisan vendor:publish --tag="filament-ecommerce-lang"

you can publish migrations file by use this command

php artisan vendor:publish --tag="filament-ecommerce-migrations"

Support

you can join our discord server to get support TomatoPHP

Docs

you can check docs of this package on Docs

Changelog

Please see CHANGELOG for more information on what has changed recently.

Security

Please see SECURITY for more information about security.

Credits

License

The MIT License (MIT). Please see License File for more information.

filament-ecommerce's People

Contributors

3x1io avatar

Stargazers

Muhammad Zakir Ramadhan  avatar  avatar AFSDARIF avatar Holiq Ibrahim avatar Madushan Serasinghe avatar Henry Betancourth avatar Luis A. Guisado avatar  avatar Luiz Felipe Warmling Amadeu avatar Marco Germani avatar jom avatar  avatar Chuck Rincón avatar AriaieBOY avatar Gustavo Novaro avatar Jaskaran Singh avatar Sotiris Katsaniotis avatar Mike Wall avatar Douglas Maia avatar  avatar jason.liu avatar Black Kaiser avatar Pablo avatar Bastian Fießinger avatar  avatar Sayed Ajmal avatar Alpet Gexha avatar Juan Jose avatar moneya avatar Ian Clemence avatar  avatar Xander Endre avatar

Watchers

 avatar Bastian Fießinger avatar

filament-ecommerce's Issues

Call to a member function generateRouteName() on null

After I ran this artisan

composer require tomatophp/filament-ecommerce

Error

Call to a member function generateRouteName() on null

at vendor\filament\filament\src\Pages\Page.php:124
 120▕
 121▕         $routeName = 'pages.' . static::getRelativeRouteName();
 122▕         $routeName = static::prependClusterRouteBaseName($routeName);
 123▕
➜ 124▕         return $panel->generateRouteName($routeName);
 125▕     }
 126▕
 127▕     /**
 128▕      * @return array<string>

1   vendor\tomatophp\filament-ecommerce\src\FilamentEcommerceServiceProvider.php:87
   Filament\Pages\Page::getRouteName()

2   vendor\laravel\framework\src\Illuminate\Container\BoundMethod.php:36
   TomatoPHP\FilamentEcommerce\FilamentEcommerceServiceProvider::boot()

here is some info about the project

        "php": "^8.2",
        "laravel/framework": "^11.9",
        "laravel/tinker": "^2.9",
        "tomatophp/filament-ecommerce": "1.0.4"

Error on migrate:fresh

SQLSTATE[HY000]: General error: 1215 Cannot add foreign key constraint (Connection: mysql, SQL: alter table orders add constraint orders_address_id_foreign foreign key (address_id) references locations (id) on delete cascade)

I think maybe it's all about some inconsistency in the order of launching migrations between your different plugins.

image

Error on migrate fresh - BUG

Hi,

After running the command php artisan filament-settings-hub:install, I encountered an error during the migration process. I have attached the screenshot of the error below. I am using PostgreSQL as the database.

image

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.