elektronika_bagisto/README.md

225 lines
9.2 KiB
Markdown
Raw Normal View History

<p align="center">
2021-11-08 05:32:19 +00:00
<a href="http://www.bagisto.com"><img src="https://bagisto.com/wp-content/themes/bagisto/images/logo.png" alt="Total Downloads"></a>
</p>
<p align="center">
2021-11-08 05:32:19 +00:00
<a href="https://packagist.org/packages/bagisto/bagisto"><img src="https://poser.pugx.org/bagisto/bagisto/d/total.svg" alt="Total Downloads"></a>
<a href="https://packagist.org/packages/bagisto/bagisto"><img src="https://poser.pugx.org/bagisto/bagisto/v/stable.svg" alt="Latest Stable Version"></a>
<a href="https://packagist.org/packages/bagisto/bagisto"><img src="https://poser.pugx.org/bagisto/bagisto/license.svg" alt="License"></a>
<a href="https://github.com/bagisto/bagisto/actions"><img src="https://github.com/bagisto/bagisto/workflows/CI/badge.svg" alt="Backers on Open Collective"></a>
<a href="#backers"><img src="https://opencollective.com/bagisto/backers/badge.svg" alt="Backers on Open Collective"></a>
<a href="#sponsors"><img src="https://opencollective.com/bagisto/sponsors/badge.svg" alt="Sponsors on Open Collective"></a>
</p>
2021-11-18 10:34:42 +00:00
<p align="center">
2021-11-18 11:08:01 +00:00
<a href="https://twitter.com/intent/follow?screen_name=bagistoshop"><img src="https://img.shields.io/twitter/follow/bagistoshop?style=social"></a>
<a href="https://www.youtube.com/channel/UCbrfqnhyiDv-bb9QuZtonYQ"><img src="https://img.shields.io/youtube/channel/subscribers/UCbrfqnhyiDv-bb9QuZtonYQ?style=social"></a>
2021-11-18 10:34:42 +00:00
</p>
<p align="center">
➡️ <a href="https://bagisto.com/en/">Website</a> | <a href="https://devdocs.bagisto.com/">Documentation</a> | <a href="https://webkul.com/blog/laravel-ecommerce-website/">Installation Guide</a> | <a href="https://forums.bagisto.com/">Forums</a> | <a href="https://www.facebook.com/groups/bagisto/">Community</a> ⬅️
</p>
<p align="center" style="display: inline;">
<img class="flag-img" src="https://flagicons.lipis.dev/flags/4x3/ar.svg" alt="Arabic" width="24" height="24">
<img class="flag-img" src="https://flagicons.lipis.dev/flags/4x3/de.svg" alt="German" width="24" height="24">
<img class="flag-img" src="https://flagicons.lipis.dev/flags/4x3/us.svg" alt="English" width="24" height="24">
<img class="flag-img" src="https://flagicons.lipis.dev/flags/4x3/es.svg" alt="Spanish" width="24" height="24">
<img class="flag-img" src="https://flagicons.lipis.dev/flags/4x3/ir.svg" alt="Persian" width="24" height="24">
<img class="flag-img" src="https://flagicons.lipis.dev/flags/4x3/it.svg" alt="Italian" width="24" height="24">
<img class="flag-img" src="https://flagicons.lipis.dev/flags/4x3/nl.svg" alt="Dutch" width="24" height="24">
<img class="flag-img" src="https://flagicons.lipis.dev/flags/4x3/pl.svg" alt="Polish" width="24" height="24">
<img class="flag-img" src="https://flagicons.lipis.dev/flags/4x3/pt.svg" alt="Portuguese" width="24" height="24">
2021-11-18 10:34:42 +00:00
<img class="flag-img" src="https://flagicons.lipis.dev/flags/4x3/tr.svg" alt="Turkish" width="24" height="24">
2022-03-26 17:38:41 +00:00
<img class="flag-img" src="https://flagicons.lipis.dev/flags/4x3/eg.svg" alt="Egyptian" width="24" height="24">
<img class="flag-img" src="https://flagicons.lipis.dev/flags/4x3/cn.svg" alt="Chinese" width="24" height="24">
2021-11-18 10:34:42 +00:00
</p>
## Topics
2021-11-08 05:32:19 +00:00
1. [Introduction](#introduction)
2. [Documentation](#documentation)
3. [Requirements](#requirements)
4. [Installation & Configuration](#installation-and-configuration)
5. [License](#license)
6. [Security Vulnerabilities](#security-vulnerabilities)
2021-08-03 06:43:54 +00:00
7. [Modules](#modules)
8. [Miscellaneous](#miscellaneous)
### Introduction
2018-10-30 11:33:13 +00:00
2021-11-18 10:34:42 +00:00
An easy to use, free and opensource laravel ecommerce platform to build your online shop in no time.
2021-10-13 17:51:44 +00:00
[Bagisto](https://www.bagisto.com) is a hand-tailored E-Commerce framework built on some of the hottest opensource technologies
such as [Laravel](https://laravel.com) (a [PHP](https://secure.php.net/) framework) and [Vue.js](https://vuejs.org)
a progressive Javascript framework.
2021-10-20 12:10:06 +00:00
**Bagisto can help you cut down your time, cost, and workforce for building online stores or migrating from physical stores
to the ever-demanding online world. Your business -- whether small or huge -- can benefit. And it's straightforward to set it up.**
Cart rule inside promotions, various improvements and fixes. (#964) * Some syntax issue fixes * Adding discount things inside promotions in admin * routes updated for creating discount rules * fixed customer profile redirect parameter issue * added cart and catalog rule routes to admin section * migrations for discount almost to be finished, final revision left * migrations for discounts complete * catalog rule form underway * catalog rule * Made some dynamic form fields in catalog rule create form * made some changes for custom validations used in ProductForm request class * working on prepopulating the values fields in conditions * need another revisit on discount rules tables and then prepare for actions * removed discounts table * catalog rule form changed to muliti attribute set for single condition * new icons added for promotion and customer note. new action for customer added to take notes on the customers * catalog and cart rule designs stable, now moving towards validations on client side and backend * catalog rules migrations added * catalog rule models added with contracts and proxies * fixed customer group bug in customer registration controller * fixed customer registration bug due to last fix * fixed product card image not found issue * catalog rule translations added * Added migrations for cart rules and catalog rule products their contracts and remaining necessary files related to them. * making cart attributes for cart rules * Added more fields for cart rules * working on conditions for cart rule form * minor changes in migrations related to price rules * currency and locale switcher now only available for a channel on storefront when more than on locale and currency are assigned to that channel * part of conditions on the cart rule form added * daily sync * cart rate migrations updated * Added select and multi select attributes options fetching with ajax on catalog rule form * changed some migrations and data being populated at runtime inside catalog rule form * catalog rule create complete, migrations changes, translations added * catalog rule edit form complete * catalog rule form complete, now moving towards catalog rule products * added delete functionality for catalog rules * added cart rule preferences for coupon codes * cart rule submission problem due to repository issue * Cart rule form and migrations complete * Models and Repositories updated for cart rule usage * base sync with master * designing process to get suitable discount rules * cart rule form completed * added helpers in cart and discount to apply rules on cart at checkout or not * cart rule coupon implementation in progress for discount coupon in shop checkout pages * cart rules working * added coupon box on checkout screen * removed the conditions empty bug * Nearing to completion of coupon based rules * made some changes in cart rule coupon application on checkout related to new designs * some bug fixes * calculation for automatic cart rules complete * non couponable cart rules implemented, now moving on to binding them on frontend * some conditions improvements in couponable cart rules * some bug fixes * removed some bugs from summary blade for cart rule * added the table for cart rule cart for managing rules with cart and removed various bug fixes * some bug fixes * Removed bugs and added coupon based cart rule removal functionality * some bug fixes * cart rule labels refactoring in midway * Cart rule labels bug fixed * removed margin classes from shop to UI * Refactoring cart rule on front end * added checks * Discount rule implemented. * cart rule bug fixes * provision to remove the couponable and non couponable rule had been added * Cart rule frontend work done * altered some frontend variables on onepage checkout * Altered cart rules to some extent
2019-06-10 07:49:05 +00:00
**Read our documentation: [Bagisto Docs](https://devdocs.bagisto.com/)**
2021-10-20 12:10:06 +00:00
**We also have a forum for any concerns, feature requests, or discussions. Please visit: [Bagisto Forums](https://forums.bagisto.com/)**
2022-05-05 11:30:40 +00:00
# Headless Commerce
The power of headless commerce now comes to Bagisto enabling you to experience seamless and easily scalable storefront performance. Backed by some of the hottest tech stack Vue and React, Bagisto commerce can now be used to build powerful headless commerce solution offering blazing fast speed and easy customisation powered by Vue Storefront and Next.js
## Vue Storefront
Vue Storefront 2 integration for Bagisto: [https://github.com/bagisto/vuestorefront](https://github.com/bagisto/vuestorefront)
## Next.js Commerce
Develop and deploy your next headless commerce storefronts with Next JS and Bagisto: [https://github.com/bagisto/nextjs-commerce](https://github.com/bagisto/nextjs-commerce)
# Visit our live [Demo](https://demo.bagisto.com)
It packs in lots of features that will allow your E-Commerce business to scale in no time:
* Multiple Channels, Locale, Currencies.
* Built-in Access Control Layer.
* Beautiful and Responsive Storefront.
* Descriptive and Simple Admin Panel.
* Admin Dashboard.
* Custom Attributes.
* Built on Modular Approach.
* Support for Multiple Store Themes.
* Multistore Inventory System.
* Orders Management System.
* Customer Cart, Wishlist, Product Reviews.
2020-02-13 10:38:10 +00:00
* Simple, Configurable, Group, Bundle, Downloadable and Virtual Products.
Cart rule inside promotions, various improvements and fixes. (#964) * Some syntax issue fixes * Adding discount things inside promotions in admin * routes updated for creating discount rules * fixed customer profile redirect parameter issue * added cart and catalog rule routes to admin section * migrations for discount almost to be finished, final revision left * migrations for discounts complete * catalog rule form underway * catalog rule * Made some dynamic form fields in catalog rule create form * made some changes for custom validations used in ProductForm request class * working on prepopulating the values fields in conditions * need another revisit on discount rules tables and then prepare for actions * removed discounts table * catalog rule form changed to muliti attribute set for single condition * new icons added for promotion and customer note. new action for customer added to take notes on the customers * catalog and cart rule designs stable, now moving towards validations on client side and backend * catalog rules migrations added * catalog rule models added with contracts and proxies * fixed customer group bug in customer registration controller * fixed customer registration bug due to last fix * fixed product card image not found issue * catalog rule translations added * Added migrations for cart rules and catalog rule products their contracts and remaining necessary files related to them. * making cart attributes for cart rules * Added more fields for cart rules * working on conditions for cart rule form * minor changes in migrations related to price rules * currency and locale switcher now only available for a channel on storefront when more than on locale and currency are assigned to that channel * part of conditions on the cart rule form added * daily sync * cart rate migrations updated * Added select and multi select attributes options fetching with ajax on catalog rule form * changed some migrations and data being populated at runtime inside catalog rule form * catalog rule create complete, migrations changes, translations added * catalog rule edit form complete * catalog rule form complete, now moving towards catalog rule products * added delete functionality for catalog rules * added cart rule preferences for coupon codes * cart rule submission problem due to repository issue * Cart rule form and migrations complete * Models and Repositories updated for cart rule usage * base sync with master * designing process to get suitable discount rules * cart rule form completed * added helpers in cart and discount to apply rules on cart at checkout or not * cart rule coupon implementation in progress for discount coupon in shop checkout pages * cart rules working * added coupon box on checkout screen * removed the conditions empty bug * Nearing to completion of coupon based rules * made some changes in cart rule coupon application on checkout related to new designs * some bug fixes * calculation for automatic cart rules complete * non couponable cart rules implemented, now moving on to binding them on frontend * some conditions improvements in couponable cart rules * some bug fixes * removed some bugs from summary blade for cart rule * added the table for cart rule cart for managing rules with cart and removed various bug fixes * some bug fixes * Removed bugs and added coupon based cart rule removal functionality * some bug fixes * cart rule labels refactoring in midway * Cart rule labels bug fixed * removed margin classes from shop to UI * Refactoring cart rule on front end * added checks * Discount rule implemented. * cart rule bug fixes * provision to remove the couponable and non couponable rule had been added * Cart rule frontend work done * altered some frontend variables on onepage checkout * Altered cart rules to some extent
2019-06-10 07:49:05 +00:00
* Price rules (Discount) inbuilt.
2020-02-13 10:38:10 +00:00
* Theme (Velocity).
* CMS Pages.
* Check out [these features and more](https://bagisto.com/features/).
2018-10-30 11:33:13 +00:00
**For Developers**:
2021-10-20 12:10:06 +00:00
Take advantage of two of the hottest frameworks used in this project -- Laravel and Vue.js -- both have been used in Bagisto.
2018-10-26 11:03:46 +00:00
### Documentation
2019-05-31 07:06:09 +00:00
2019-05-31 13:40:53 +00:00
#### Bagisto Documentation [https://devdocs.bagisto.com](https://devdocs.bagisto.com)
2019-05-31 07:06:09 +00:00
### Requirements
2019-08-17 10:12:24 +00:00
* **SERVER**: Apache 2 or NGINX.
* **RAM**: 3 GB or higher.
2022-05-09 14:09:01 +00:00
* **PHP**: 8.0 and 8.1.
2019-02-06 12:48:15 +00:00
* **For MySQL users**: 5.7.23 or higher.
2022-05-09 14:09:01 +00:00
* **For MariaDB users**: 10.2.7 or higher.
* **Node**: 8.11.3 LTS or higher.
2022-04-26 06:48:30 +00:00
* **Composer**: 2.3.5 or higher.
### Installation and Configuration
2020-03-03 00:19:22 +00:00
**1. You can install Bagisto by using the GUI installer.**
2019-02-05 12:46:21 +00:00
2019-02-05 12:58:03 +00:00
##### a. Download zip from the link below:
2019-02-05 12:46:21 +00:00
2020-03-03 00:19:22 +00:00
[Download the latest release](https://github.com/bagisto/bagisto/releases/latest)
2019-02-05 12:46:21 +00:00
2021-10-18 20:04:55 +00:00
##### b. Extract the contents of the zip and execute the project in your browser:
2019-02-05 12:46:21 +00:00
~~~
2021-01-14 17:50:29 +00:00
http(s)://example.com
2019-02-05 12:46:21 +00:00
~~~
2020-03-03 00:19:22 +00:00
**2. Or you can install Bagisto from your console.**
2019-02-05 12:46:21 +00:00
##### Execute these commands below, in order
2018-12-19 10:31:56 +00:00
2018-10-30 11:33:13 +00:00
~~~
1. composer create-project bagisto/bagisto
~~~
2018-10-30 11:33:13 +00:00
~~~
2021-11-08 05:32:19 +00:00
2. php artisan bagisto:install
2019-02-05 11:45:17 +00:00
~~~
2019-02-05 12:51:47 +00:00
**To execute Bagisto**:
2019-02-05 12:56:00 +00:00
##### On server:
2021-10-20 12:10:06 +00:00
Warning: Before going into production mode, we recommend you uninstall developer dependencies.
To do that, run the command below:
Cart rule inside promotions, various improvements and fixes. (#964) * Some syntax issue fixes * Adding discount things inside promotions in admin * routes updated for creating discount rules * fixed customer profile redirect parameter issue * added cart and catalog rule routes to admin section * migrations for discount almost to be finished, final revision left * migrations for discounts complete * catalog rule form underway * catalog rule * Made some dynamic form fields in catalog rule create form * made some changes for custom validations used in ProductForm request class * working on prepopulating the values fields in conditions * need another revisit on discount rules tables and then prepare for actions * removed discounts table * catalog rule form changed to muliti attribute set for single condition * new icons added for promotion and customer note. new action for customer added to take notes on the customers * catalog and cart rule designs stable, now moving towards validations on client side and backend * catalog rules migrations added * catalog rule models added with contracts and proxies * fixed customer group bug in customer registration controller * fixed customer registration bug due to last fix * fixed product card image not found issue * catalog rule translations added * Added migrations for cart rules and catalog rule products their contracts and remaining necessary files related to them. * making cart attributes for cart rules * Added more fields for cart rules * working on conditions for cart rule form * minor changes in migrations related to price rules * currency and locale switcher now only available for a channel on storefront when more than on locale and currency are assigned to that channel * part of conditions on the cart rule form added * daily sync * cart rate migrations updated * Added select and multi select attributes options fetching with ajax on catalog rule form * changed some migrations and data being populated at runtime inside catalog rule form * catalog rule create complete, migrations changes, translations added * catalog rule edit form complete * catalog rule form complete, now moving towards catalog rule products * added delete functionality for catalog rules * added cart rule preferences for coupon codes * cart rule submission problem due to repository issue * Cart rule form and migrations complete * Models and Repositories updated for cart rule usage * base sync with master * designing process to get suitable discount rules * cart rule form completed * added helpers in cart and discount to apply rules on cart at checkout or not * cart rule coupon implementation in progress for discount coupon in shop checkout pages * cart rules working * added coupon box on checkout screen * removed the conditions empty bug * Nearing to completion of coupon based rules * made some changes in cart rule coupon application on checkout related to new designs * some bug fixes * calculation for automatic cart rules complete * non couponable cart rules implemented, now moving on to binding them on frontend * some conditions improvements in couponable cart rules * some bug fixes * removed some bugs from summary blade for cart rule * added the table for cart rule cart for managing rules with cart and removed various bug fixes * some bug fixes * Removed bugs and added coupon based cart rule removal functionality * some bug fixes * cart rule labels refactoring in midway * Cart rule labels bug fixed * removed margin classes from shop to UI * Refactoring cart rule on front end * added checks * Discount rule implemented. * cart rule bug fixes * provision to remove the couponable and non couponable rule had been added * Cart rule frontend work done * altered some frontend variables on onepage checkout * Altered cart rules to some extent
2019-06-10 07:49:05 +00:00
> composer install --no-dev
2019-01-14 12:58:23 +00:00
~~~
2021-10-20 12:10:06 +00:00
If not done, open the specified entry point in your host's file in your browser or make an entry in the host file.
2019-02-05 12:08:08 +00:00
~~~
2019-02-05 12:56:00 +00:00
##### On local:
2019-02-05 12:08:08 +00:00
2019-01-14 12:58:23 +00:00
~~~
2021-11-08 05:32:19 +00:00
php artisan serve
2019-02-05 12:08:08 +00:00
~~~
2019-02-05 12:51:47 +00:00
2019-02-05 12:46:21 +00:00
**How to log in as admin:**
2019-02-05 12:08:08 +00:00
2019-02-05 12:46:21 +00:00
> *http(s)://example.com/admin/login*
2019-02-05 12:08:08 +00:00
2019-01-14 12:58:23 +00:00
~~~
email:admin@example.com
password:admin123
~~~
2021-10-13 17:51:44 +00:00
**How to log in as a customer:**
2019-02-05 12:46:21 +00:00
2021-10-13 17:51:44 +00:00
*You can directly register as a customer and then log in.*
2019-02-05 12:46:21 +00:00
2019-02-05 12:08:08 +00:00
> *http(s)://example.com/customer/register*
### License
2021-10-13 17:51:44 +00:00
Bagisto is a truly open-source E-Commerce framework that will always be free under the [MIT License](https://github.com/bagisto/bagisto/blob/master/LICENSE).
2019-01-17 07:28:20 +00:00
### Security Vulnerabilities
2021-10-20 12:10:06 +00:00
Would you please not disclose security vulnerabilities publicly? If you find any security vulnerability in Bagisto, then please email us: mailto:support@bagisto.com.
2019-01-17 07:28:20 +00:00
2021-08-03 06:20:35 +00:00
### Modules
2021-08-03 14:46:27 +00:00
[Available Modules](https://bagisto.com/en/extensions)
2021-08-03 06:20:35 +00:00
2021-10-20 12:10:06 +00:00
Need something else? Please email us at support@bagisto.com.
2021-08-03 06:20:35 +00:00
### Miscellaneous
2019-01-17 07:28:20 +00:00
2021-06-04 15:21:51 +00:00
#### Contribute
2021-10-20 12:10:06 +00:00
Bagisto is a community-driven project; we appreciate every contribution from the community.
2021-06-04 15:21:51 +00:00
- If you found an issue that you think we should know about, or if you have a suggestion, please submit an issue.
2021-06-04 15:23:42 +00:00
- If you want to submit a solution or offer a new feature, please create a pull request.
2021-06-04 15:21:51 +00:00
2021-06-07 12:56:53 +00:00
Please read our [contributing guide](https://github.com/bagisto/bagisto/blob/master/.github/CONTRIBUTING.md) for more info.
2021-06-04 15:21:51 +00:00
#### Contributors
2021-10-20 12:10:06 +00:00
This project is on [Open Collective](https://opencollective.com/bagisto), and it exists thanks to the people who contribute.
<a href="https://github.com/bagisto/bagisto/graphs/contributors"><img src="https://opencollective.com/bagisto/contributors.svg?width=890&button=false"/></a>
#### Backers
Thank you to all our backers! 🙏
<a href="https://opencollective.com/bagisto#contributors" target="_blank"><img src="https://opencollective.com/bagisto/backers.svg?width=890"></a>
#### Sponsors
Support this project by becoming a sponsor. Your logo will show up here with a link to your website.
2021-02-26 12:51:54 +00:00
<div>
<a href="https://opencollective.com/bagisto/contribute/sponsor-7372/checkout" target="_blank">
<img src="https://images.opencollective.com/static/images/become_sponsor.svg">
</a>
</div>
2021-02-26 12:45:36 +00:00
<kbd>
2021-03-03 07:42:27 +00:00
<a href="http://e.ventures/" target="_blank">
<img src="https://images.opencollective.com/e-ventures1/7d61db2/logo.png" height="75">
</a>
2021-02-26 12:45:36 +00:00
</kbd>