Coder Social home page Coder Social logo

updivision / estarter-ecommerce-for-laravel Goto Github PK

View Code? Open in Web Editor NEW
413.0 35.0 169.0 12.15 MB

The best way to start your custom e-commerce on Laravel. You get a ready to clone Laravel installation with a functional shop backend and a DIY frontend.

License: Other

PHP 18.84% JavaScript 79.21% Vue 0.03% HTML 1.92%

estarter-ecommerce-for-laravel's Introduction

eStarter. The beginning of your beautiful, custom ecommerce on Laravel.

What's new?

  • Upgrade to Laravel 5.5 & latest version of BackPack
  • Clients Management (including addresses and companies)
  • Specific Prices for products
  • Cart Rules
  • Orders
  • Notification Templates
  • Users Management
  • Roles & Permissions

All Features

  • Create and organize categories & subcategoires
  • Create attributes and group them in sets of attributes
  • Create currencies
  • Create carriers
  • Create taxes and use them on products
  • Create order statuses
  • Create products and upload product multiple images at once, using dropzone
  • Ability to create product groups
  • Ability to clone a product
  • Add Clients
  • See orders & change order statuses that will notify users via e-mail
  • Add / Edit Notification templates
  • Create users with different roles & permissions
  • Create cart rules
  • Create Specific prices

Installation

  • Clone repository
$ git clone https://github.com/updivision/estarter-ecommerce-for-laravel.git
  • Run in your terminal
$ composer install
$ php artisan key:generate
  • Setup database connection in .env file
DB_CONNECTION=mysql
DB_HOST=127.0.0.1
DB_PORT=3306
DB_DATABASE=homestead
DB_USERNAME=homestead
DB_PASSWORD=secret

Do not forget to add in your env file following lines:

ADMIN_ROLE_NAME=administrator
CLIENT_ROLE_NAME=client
  • Migrate tables and seed with demo data
$ php artisan migrate --seed
  • Access it on
http://localhost/estarter-ecommerce-for-laravel/admin/login

Setup

In order to use the shop and be able to add products, you must have a minimum configuration:

  • Create at least one category;
  • Create at least one attribute for at least one of these types: text, textarea, date, dropdown, multiple select, media;
  • Create at least one attribute set;
  • Create a tax (eg. VAT).

After creating these, you’re ready to add your first product.

Known Issues

  • Product image uploader - still - not fully responsive

EER Diagram

alt_text

Screenshots (update soon)

alt text alt text alt text alt text alt text alt text alt text

Contributors

License

eStarter is based on Backpack which is free for non-commercial use and $49/project for commercial use. Please see License File and backpackforlaravel.com for more information.

estarter-ecommerce-for-laravel's People

Contributors

abarta avatar ghitu avatar paulduca avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

estarter-ecommerce-for-laravel's Issues

Bug with clone product and images dropzone

Hello,

I noticed a bug with the dropzone products. When I clone a product, they also duplicate the images of the dropzone. In the cloned product, when I delete these images, it deletes the files. Suddenly, the images of the original product no longer work.

Thanks for this project!

Basic Auth no longer works

I tried to get basic auth working but im getting errors now any idea why? where you able to get it working i get

"The page has expired due to inactivity.

Please refresh and try again."

Product variation

Do you have realization for Product variations ?
For exsample I have 1 product with diferent options and price

pizza "Margarita"

  • size: 36, price: 5
  • size: 40, price: 6

pizza "Pepperoni"

  • size: 36, price: 4
  • size: 40, price: 5

Front-End

Hi
Anybody develped user-side (front-end) of this project?

Attribute Edit

There seems to be an error on Attribute edit page.

ErrorException (E_ERROR) count(): Parameter must be an array or an object that implements Countable (View: C:\xampp\htdocs\perkyadmin\resources\views\vendor\backpack\crud\fields\attribute_types.blade.php) (View: C:\xampp\htdocs\perkyadmin\resources\views\vendor\backpack\crud\fields\attribute_types.blade.php) (View: C:\xampp\htdocs\perkyadmin\resources\views\vendor\backpack\crud\fields\attribute_types.blade.php) (View: C:\xampp\htdocs\perkyadmin\resources\views\vendor\backpack\crud\fields\attribute_types.blade.php)

USER SHOP PAGE

Hi ,
i need to ask where the user can view product and add to cart and wish list if available .
only i see the admin page which can add products , categories , etc but when enter by client user also he can change the roles and permission for rest of users
Thanks in advance

Product Edit

An error when editing products.
ErrorException (E_ERROR) count(): Parameter must be an array or an object that implements Countable (View: C:\xampp\htdocs\perkyadmin\resources\views\vendor\backpack\crud\fields\product_attributes.blade.php) (View: C:\xampp\htdocs\perkyadmin\resources\views\vendor\backpack\crud\fields\product_attributes.blade.php) (View: C:\xampp\htdocs\perkyadmin\resources\views\vendor\backpack\crud\fields\product_attributes.blade.php) (View: C:\xampp\htdocs\perkyadmin\resources\views\vendor\backpack\crud\fields\product_attributes.blade.php) (View: C:\xampp\htdocs\perkyadmin\resources\views\vendor\backpack\crud\fields\product_attributes.blade.php)

whay

Illuminate\Foundation\ComposerScripts::postAutoloadDump
@php artisan package:discover

In PackageManifest.php line 120:

Undefined index: name

Script @php artisan package:discover handling the post-autoload-dump event returned with error code 1

Improve the dropzone field with descriptions and uptades

Hello !

I test your work. This is a good way to see the practices implemented with Backpack. In addition, it is an excellent base for an e-commerce and for that, thank you!

Only, I have two three small improvements to offer for the future.

  • Update to Laravel 5.5 and Backpack CRUD 3.3 and the latest version of Backpack Base (as long as we are there). Basically, with the new version, we have the possibility to manage several fields of our account as a user. It makes sense in an e-commerce, with the management of addresses etc.

  • Improve the dropzone field. I really like how you did the gallery field and how you implemented it in the database. However, in my opinion, it misses the possibility of adding a "description" field. Describing an image can be important, especially for accessibility (the ALT field), or to specify some details.

I think ESTARTER-ecommerce is a very good base and I thank you for this work which teaches me a lot.

PHP Artisan Error

Hi, when i try to generate a key for Artisan, i get this error

In KeyGenerateCommand.php line 96:

file_get_contents(/var/www/html/estarter-ecommerce-for-laravel/.env): faile
d to open stream: No such file or directory

loading issue

hi,

i just installed this on my local, and installed composer, generated key, run make:auth, seed etc. but i do not have access to admin panel.

any idea?

compact(): Undefined variable: operator

php 7.3.1
MariaDB 10.3.12
Laravel 5.5.32

In backend when selecting ie. users it throw error: compact(): Undefined variable: operator.
Maybe it is because of this build Laravel version: 5.5?

Little OT:
will you in them future create this as addon into backack?
Thanks

http://localhost:8000/admin/products/create

(6/6) ErrorException
count(): Parameter must be an array or an object that implements Countable (View: D:\CODE\estarter-ecommerce-for-laravel\resources\views\vendor\backpack\crud\fields\product_attributes.blade.php) (View: D:\CODE\estarter-ecommerce-for-laravel\resources\views\vendor\backpack\crud\fields\product_attributes.blade.php) (View: D:\CODE\estarter-ecommerce-for-laravel\resources\views\vendor\backpack\crud\fields\product_attributes.blade.php) (View: D:\CODE\estarter-ecommerce-for-laravel\resources\views\vendor\backpack\crud\fields\product_attributes.blade.php) (View: D:\CODE\estarter-ecommerce-for-laravel\resources\views\vendor\backpack\crud\fields\product_attributes.blade.php)

New Product

An error in saving the new product.
SQLSTATE[23000]: Integrity constraint violation: 1048 Column 'start_date' cannot be null (SQL: insert into specific_prices (discount_type, reduction, start_date, expiration_date, product_id) values (Amount, , , , 2))

sku is not correct concept

sku is specific identifier for each instance of each product .
in your system sku is like product-serial (one for all instance of product that have same type) .
you need to create separate table like product_sku to store all unique sku for each instance of each product.
product_sku structure :
sku--------------#pk
product_id-------#fk to product
created_at--------timestamp
is_generated_qr_code------boolean

for product with 54 quantity we need to insert 54 record to product_sku table .

when we create order we can create new table like
order_item_sku with this structure:
id-------#pk
order_item_id-----#fk to order item
sky------------------#fk to product_sku

by adding this tables we can track any product instance status.

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.