Code Monkey home page Code Monkey logo

framework's Introduction

Vanilo

The Laravel E-commerce Framework

Tests Packagist version Packagist downloads StyleCI MIT Software License

Vanilo's aim is that Laravel developers can rapidly create E-commerce applications with pleasure.

Stable Version

4.x

The latest stable release is 4.0.1, and it was released on Apr 25th, 2024. Vanilo v4.0 supports Laravel 10.x & 11.x versions and PHP 8.2 - 8.3

Refer to the Roadmap for upcoming versions.

Further Information

The Vanilo Documentation contains technical information about using Vanilo or its components.

Feel free to submit your questions, suggestions by adding a new issue here.

Follow us on twitter or on Telegram.

framework's People

Contributors

abdul-fattah-tayih avatar addgod avatar damarev avatar faisuc avatar fulopattila122 avatar imanghafoori1 avatar j-dohnalek avatar justrau avatar kedves avatar mahdirezaei-dev avatar netzknecht avatar reinierkors avatar s-dickson avatar stokic avatar stylecibot avatar titouanmathis avatar yoeriboven avatar yusufkandemir 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  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

framework's Issues

PHP Fatal error: Cannot redeclare getModelForGuard()

Hi,

I'm getting the following issue when using spatie/laravel-permission and vanillo/framework together.

PHP Fatal error: Cannot redeclare getModelForGuard() (previously declared in C:....\vendor\konekt\acl\src\Support\helpers.php:8) in C:....\vendor\spatie\laravel-permission\src\helpers.php on line 14

I can see that konekt/acl is a modified version of spatie/laravel-permission package, and @fulopattila122 you are also one of the authors konekt/acl

Since both the definition and functionality is same so this issue can be avoided if following solution is implemented.

if(!function_exists('getModelForGuard') {
function getModelForGuard(string $guard)
{
return collect(config('auth.guards'))
->map(function ($guard) {
return config("auth.providers.{$guard['provider']}.model");
})->get($guard);
}
}

or rename the function from getModelForGuard to getGuardModel

Thanks.

Override vanilo controllers

I’m using vanilo in a project I’m working on even though I realise you do not have the 1.0 yet.

I’ve had to modify a method in a controller in vendor/vanilo/framework/resources/views and I was wondering if you envisioned a system to override some of these controllers in the framework properly ?
SO I could have modified views in my main folder and leave everything untouched in vendor.

Thanks again for your help and this cool project

ER Diagram

Is it possible for you to provide an ER diagram on this? it would be extremely easier then to identify it would be compatible with our needs..

PS: This is a wonderful project. Thanks

Error: Method Illuminate\Database\Query\Builder::customers does not exist.

I am trying to insert address for a company and this error comes up above the form:
Error: Method Illuminate\Database\Query\Builder::customers does not exist.

The address gets inserted, however there is no link created between customer to address in customer_addresses table.

Any help on this please?

Foreign key constraint is incorrectly formed on fresh installation

i'm following the installation instruction but i have encountered this issue twice, when running
php artisan migrate

i get this error message

Migrating: 2016_12_18_121118_create_profiles_table

   Illuminate\Database\QueryException  : SQLSTATE[HY000]: General error: 1005 Can't create table `vanilo`.`#sql-9a5_a6` (errno: 150 "Foreign key constraint is incorrectly formed") (SQL: alter table `profiles` add constraint `profiles_user_id_foreign` foreign key (`user_id`) references `users` (`id`))

  at vaniloapp/vendor/laravel/framework/src/Illuminate/Database/Connection.php:664
    660|         // If an exception occurs when attempting to run a query, we'll format the error
    661|         // message to include the bindings with SQL, which will make this exception a
    662|         // lot more helpful to the developer instead of just the database's errors.
    663|         catch (Exception $e) {
  > 664|             throw new QueryException(
    665|                 $query, $this->prepareBindings($bindings), $e
    666|             );
    667|         }
    668| 

  Exception trace:

  1   PDOException::("SQLSTATE[HY000]: General error: 1005 Can't create table `vanilo`.`#sql-9a5_a6` (errno: 150 "Foreign key constraint is incorrectly formed")")
      vaniloapp/vendor/laravel/framework/src/Illuminate/Database/Connection.php:458

  2   PDOStatement::execute()
      vaniloapp/vendor/laravel/framework/src/Illuminate/Database/Connection.php:458

my database is Server version: 10.2.18-MariaDB - Homebrew

Product Attributes?

Is it possible within the OrderFactory to assign custom variables/attributes to the order? for example at the moment I've got the following:

$factory = app(OrderFactory::class);
$item = [
    'product' => 'product',
    'product_id'   => 3,
    'price' => $this->getPrice(Request::get('platform'), Request::get('amount')),
    'name' => 'Virtual Currency',
    'quantity'     => 1,
];
$factory->createFromDataArray([], [$item]);

Would it be possible to maybe add the ability for us to add dynamic elements to the $item such as something like so?

$factory = app(OrderFactory::class);
$item = [
    'product' => 'product',
    'product_id'   => 3,
    'price' => $this->getPrice(Request::get('platform'), Request::get('amount')),
    'name' => 'Virtual Currency',
    'quantity' => 1,
    'currency_volume' => '5000'
];
$factory->createFromDataArray([], [$item]);

Installing problems with ConcordServiceProvider

I've tried to install Vanilo, but there is an error
Declaration of Konekt\Menu\ItemCollection::add(Konekt\Menu\Item $item) should be compatible with Illuminate\Support\Collection::add($item)

CSS not loading: fresh installation

I have followed the installation section of the official documentation, without any error messages, except some warnings when running yarn run dev:

$ npm run development
                                                                                   > @ development C:\Users\computer\Documents\php-projects\vaniloapp
> cross-env NODE_ENV=development node_modules/webpack/bin/webpack.js --progress --hide-modules --config=node_modules/laravel-mix/setup/webpack.config.js
                                                                                   The system cannot find the path specified.                                                 Additional dependencies must be installed. This will only take a moment.
        Running: npm install vue-template-compiler --save-dev --production=false
npm WARN rm not removing C:\Users\computer\Documents\php-projects\vaniloapp\node_modules\.bin\regjsparser.cmd as it wasn't installed by C:\Users\computer\Documents\php-projects\vaniloapp\node_modules\regjsparser
npm WARN rm not removing C:\Users\computer\Documents\php-projects\vaniloapp\node_modules\.bin\regjsparser as it wasn't installed by C:\Users\computer\Documents\php-projects\vaniloapp\node_modules\regjsparser
npm WARN rm not removing C:\Users\computer\Documents\php-projects\vaniloapp\node_modules\.bin\json5.cmd as it wasn't installed by C:\Users\computer\Documents\php-projects\vaniloapp\node_modules\json5
npm WARN rm not removing C:\Users\computer\Documents\php-projects\vaniloapp\node_modules\.bin\json5 as it wasn't installed by C:\Users\computer\Documents\php-projects\vaniloapp\node_modules\json5
npm WARN rm not removing C:\Users\computer\Documents\php-projects\vaniloapp\node_modules\.bin\jsesc.cmd as it wasn't installed by C:\Users\computer\Documents\php-projects\vaniloapp\node_modules\jsesc
npm WARN rm not removing C:\Users\computer\Documents\php-projects\vaniloapp\node_modules\.bin\jsesc as it wasn't installed by C:\Users\computer\Documents\php-projects\vaniloapp\node_modules\jsesc
npm WARN rm not removing C:\Users\computer\Documents\php-projects\vaniloapp\node_modules\.bin\cssesc.cmd as it wasn't installed by C:\Users\computer\Documents\php-projects\vaniloapp\node_modules\cssesc
npm WARN rm not removing C:\Users\computer\Documents\php-projects\vaniloapp\node_modules\.bin\cssesc as it wasn't installed by C:\Users\computer\Documents\php-projects\vaniloapp\node_modules\cssesc
npm notice created a lockfile as package-lock.json. You should commit this file.
        Okay, done. The following packages have been installed and saved to your package.json dependencies list:

        - vue-template-compiler

The system cannot find the path specified.
        Additional dependencies must be installed. This will only take a moment.

        Running: npm install sass-loader@7.* sass [email protected] --save-dev --production=false

npm WARN deprecated [email protected]: package is bloated with temp files (fixed in 2.3.2)
npm WARN [email protected] requires a peer of webpack@^3.0.0 || ^4.0.0 but none is installed. You must install peer dependencies yourself.
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules\fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for [email protected]: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"})

The final result when going to the url http://127.0.0.1:8000/admin/customer is:

image

I'm on windows 10, composer version is: 1.8.0 2018-12-03 10:31:16; php version is 7.2.10

Image paths

I configured vanilo in my project. But when I add product images, it saved as "http://localhost/storage/5/conversions/sdf-thumbnail.jpg" which has being saved correctly, but cannot access because it missing port details. correct form should be http://localhost:8000/storage/5/conversions/sdf-thumbnail.jpg

A question for a Laravel 5.6 installation

Hi there!

Thank you for the work you've put into creating this framework, it's very well built and nicely documented. :)

I have a question regarding setting Vanilo on a Laravel 5.6 installation.

How would you go about extending the \Konekt\AppShell\Models\User class with the Authenticatable trait that the standard LV 5.6 User extends?

Any guidance would be greatly appreciated!

Not able to setup vanilo correctly

I followed all the instructions at https://vanilo.io/docs/0.2/installation but when I try to access myurl/admin/customer I keep getting " Symfony \ Component \ HttpKernel \ Exception \ HttpException
No message" error. Not sure what's going wrong. I did download demo app and that worked fine.

Only thing I did different was when I created super user then instead of default admin role, I entered in "super admin" which created new role.

Interface 'Konekt\AppShell\Contracts\Requests\BaseRequest' not found

Soon after installing when I do "php artisan concord:modules -a", I get the following:

PHP Fatal error: Interface 'Konekt\AppShell\Contracts\Requests\BaseRequest' not found in /home/vagrant/Projects/vanilo.local/www/vendor/vanilo/framework/src/Contracts/Requests/CreateProduct.php on line 17

In CreateProduct.php line 17:
Interface 'Konekt\AppShell\Contracts\Requests\BaseRequest' not found

Please let me know how I should about it. Thanks and keep up the great work! Love the concept!!

Getting Syntax Error on "php artisan migrate --seed"

I am getting the error below on runnning "php artisan migrate --seed"
SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error i
n your SQL syntax; check the manual that corresponds to your MariaDB server
version for the right syntax to use near 'json not null, custom_propertie s json not null, responsive_images json not n' at line 1

Laravel 5.8 support

Hello. It seems Vanilo does not support Laravel 5.8 (released today). Can you update the composer.json?

I am in hurry because I need to start a project for a client this week.
Thanks a lot!

error migrate db

`Migration table created successfully.

In Connection.php line 664:

SQLSTATE[42000]: Syntax error or access violation: 1071 Specified key was t
oo long; max key length is 767 bytes (SQL: alter table users add unique users_email_unique(email))

In Connection.php line 458:

SQLSTATE[42000]: Syntax error or access violation: 1071 Specified key was t
oo long; max key length is 767 bytes
`

Error in queue

I create product images using temporary pictures stored in storage
image

Here is a part of my Product model
image

And here is a part of vanilo config
image

If I uncomment 'queued' => true strings I get following error
Spatie\MediaLibrary\Exceptions\InvalidConversion: There is no conversion named large in /var/www/html/soulmade/vendor/spatie/laravel-medialibrary/src/Exceptions/InvalidConversion.php:11
Stack trace:
#0 /var/www/html/soulmade/vendor/spatie/laravel-medialibrary/src/Conversion/ConversionCollection.php(61): Spatie\MediaLibrary\Exceptions\InvalidConversion::unknownName('large')
#1 /var/www/html/soulmade/vendor/spatie/laravel-medialibrary/src/UrlGenerator/UrlGeneratorFactory.php(27): Spatie\MediaLibrary\Conversion\ConversionCollection->getByName('large')
#2 /var/www/html/soulmade/vendor/spatie/laravel-medialibrary/src/Models/Media.php(74): Spatie\MediaLibrary\UrlGenerator\UrlGeneratorFactory::createForMedia(Object(Spatie\MediaLibrary\Models\Media), 'large')
#3 /var/www/html/soulmade/vendor/spatie/laravel-medialibrary/src/FileManipulator.php(81): Spatie\MediaLibrary\Models\Media->getPath('large')
#4 /var/www/html/soulmade/vendor/laravel/framework/src/Illuminate/Support/Collection.php(1516): Spatie\MediaLibrary\FileManipulator->Spatie\MediaLibrary{closure}(Object(Spatie\MediaLibrary\Conversion\Conversion), 1)
#5 [internal function]: Illuminate\Support\Collection->Illuminate\Support{closure}(Object(Spatie\MediaLibrary\Conversion\Conversion), 1)
#6 /var/www/html/soulmade/vendor/laravel/framework/src/Illuminate/Support/Arr.php(611): array_filter(Array, Object(Closure), 1)
#7 /var/www/html/soulmade/vendor/laravel/framework/src/Illuminate/Support/Collection.php(549): Illuminate\Support\Arr::where(Array, Object(Closure))
#8 /var/www/html/soulmade/vendor/laravel/framework/src/Illuminate/Support/Collection.php(1518): Illuminate\Support\Collection->filter(Object(Closure))
#9 /var/www/html/soulmade/vendor/spatie/laravel-medialibrary/src/FileManipulator.php(90): Illuminate\Support\Collection->reject(Object(Closure))
#10 /var/www/html/soulmade/vendor/spatie/laravel-medialibrary/src/Jobs/PerformConversions.php(32): Spatie\MediaLibrary\FileManipulator->performConversions(Object(Spatie\MediaLibrary\Conversion\ConversionCollection), Object(Spatie\MediaLibrary\Models\Media))
#11 [internal function]: Spatie\MediaLibrary\Jobs\PerformConversions->handle()
#12 /var/www/html/soulmade/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(32): call_user_func_array(Array, Array)
#13 /var/www/html/soulmade/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(90): Illuminate\Container\BoundMethod::Illuminate\Container{closure}()
#14 /var/www/html/soulmade/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(34): Illuminate\Container\BoundMethod::callBoundMethod(Object(Illuminate\Foundation\Application), Array, Object(Closure))
#15 /var/www/html/soulmade/vendor/laravel/framework/src/Illuminate/Container/Container.php(576): Illuminate\Container\BoundMethod::call(Object(Illuminate\Foundation\Application), Array, Array, NULL)
#16 /var/www/html/soulmade/vendor/laravel/framework/src/Illuminate/Bus/Dispatcher.php(94): Illuminate\Container\Container->call(Array)
#17 /var/www/html/soulmade/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(128): Illuminate\Bus\Dispatcher->Illuminate\Bus{closure}(Object(Spatie\MediaLibrary\Jobs\PerformConversions))
#18 /var/www/html/soulmade/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(104): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline{closure}(Object(Spatie\MediaLibrary\Jobs\PerformConversions))
#19 /var/www/html/soulmade/vendor/laravel/framework/src/Illuminate/Bus/Dispatcher.php(98): Illuminate\Pipeline\Pipeline->then(Object(Closure))
#20 /var/www/html/soulmade/vendor/laravel/framework/src/Illuminate/Queue/CallQueuedHandler.php(49): Illuminate\Bus\Dispatcher->dispatchNow(Object(Spatie\MediaLibrary\Jobs\PerformConversions), false)
#21 /var/www/html/soulmade/vendor/laravel/framework/src/Illuminate/Queue/Jobs/Job.php(88): Illuminate\Queue\CallQueuedHandler->call(Object(Illuminate\Queue\Jobs\DatabaseJob), Array)
#22 /var/www/html/soulmade/vendor/laravel/framework/src/Illuminate/Queue/Worker.php(327): Illuminate\Queue\Jobs\Job->fire()
#23 /var/www/html/soulmade/vendor/laravel/framework/src/Illuminate/Queue/Worker.php(277): Illuminate\Queue\Worker->process('database', Object(Illuminate\Queue\Jobs\DatabaseJob), Object(Illuminate\Queue\WorkerOptions))
#24 /var/www/html/soulmade/vendor/laravel/framework/src/Illuminate/Queue/Worker.php(118): Illuminate\Queue\Worker->runJob(Object(Illuminate\Queue\Jobs\DatabaseJob), 'database', Object(Illuminate\Queue\WorkerOptions))
#25 /var/www/html/soulmade/vendor/laravel/framework/src/Illuminate/Queue/Console/WorkCommand.php(102): Illuminate\Queue\Worker->daemon('database', 'default', Object(Illuminate\Queue\WorkerOptions))
#26 /var/www/html/soulmade/vendor/laravel/framework/src/Illuminate/Queue/Console/WorkCommand.php(86): Illuminate\Queue\Console\WorkCommand->runWorker('database', 'default')
#27 [internal function]: Illuminate\Queue\Console\WorkCommand->handle()
#28 /var/www/html/soulmade/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(32): call_user_func_array(Array, Array)
#29 /var/www/html/soulmade/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(90): Illuminate\Container\BoundMethod::Illuminate\Container{closure}()
#30 /var/www/html/soulmade/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(34): Illuminate\Container\BoundMethod::callBoundMethod(Object(Illuminate\Foundation\Application), Array, Object(Closure))
#31 /var/www/html/soulmade/vendor/laravel/framework/src/Illuminate/Container/Container.php(576): Illuminate\Container\BoundMethod::call(Object(Illuminate\Foundation\Application), Array, Array, NULL)
#32 /var/www/html/soulmade/vendor/laravel/framework/src/Illuminate/Console/Command.php(183): Illuminate\Container\Container->call(Array)
#33 /var/www/html/soulmade/vendor/symfony/console/Command/Command.php(255): Illuminate\Console\Command->execute(Object(Symfony\Component\Console\Input\ArgvInput), Object(Illuminate\Console\OutputStyle))
#34 /var/www/html/soulmade/vendor/laravel/framework/src/Illuminate/Console/Command.php(170): Symfony\Component\Console\Command\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Illuminate\Console\OutputStyle))
#35 /var/www/html/soulmade/vendor/symfony/console/Application.php(921): Illuminate\Console\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#36 /var/www/html/soulmade/vendor/symfony/console/Application.php(273): Symfony\Component\Console\Application->doRunCommand(Object(Illuminate\Queue\Console\WorkCommand), Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#37 /var/www/html/soulmade/vendor/symfony/console/Application.php(149): Symfony\Component\Console\Application->doRun(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#38 /var/www/html/soulmade/vendor/laravel/framework/src/Illuminate/Console/Application.php(90): Symfony\Component\Console\Application->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#39 /var/www/html/soulmade/vendor/laravel/framework/src/Illuminate/Foundation/Console/Kernel.php(133): Illuminate\Console\Application->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#40 /var/www/html/soulmade/artisan(37): Illuminate\Foundation\Console\Kernel->handle(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#41 {main}

In non-queued mode everything work fine but slow. Sorry for such a long text but and ideas why is it so?

any help wanted?

Hi @fulopattila122,

Do you need any help for this project? I would like to help as i'm looking for some ecommerce frameworks like this project, but i couldn't find any. So, if you need my help on it, it would be my pleasure to contribute on this project.

LICENCE file please

I had to look inside `conposer.json' file to see whether you have included a license or not.

Can you please make it explicit so other users know what kind of license this project is using?

Cannot change admin prefix

When adding Framework / AppShell configuration for routes -> prefix in concord.php, an exception is raised:
DaveJamesMiller\Breadcrumbs\Exceptions\DuplicateBreadcrumbException : Breadcrumb name "home" has already been registered

I can't change default Menu

I comment my code, but continuous showing for me in the admin,
image
CRM, Setting Group is hiding, but shop won't
image
where is "Shop" Item ?

ideas of shipment handling

Hi there,

Would you be able to share some your basic concepts of shipment handling. We currently are starting up a new project and would like to use Vanilo as the framework. However, we don't think we will have the time to wait until the shipment feature's release. To avoid trouble for further upgrading, it might be good if we can implement similar concepts regarding the shipment handling. It would be greater if you could provide some ideas for order processing as well.

For the payment feature, would there be possibilities for us to add on customized payment channel?

Thanks and regards

Using npm instead of yarn

I use npm instead of yarn (Windows 10) and it works fine. No mention of it on installation instructions.

Issues running yarn run dev

Hello,

After installation following the documentation the following error showed up upon running yarn run dev:

ERROR in ./vendor/konekt/appshell/src/resources/assets/sass/appshell.sass
Module build failed (from ./node_modules/css-loader/index.js):
ModuleBuildError: Module build failed (from ./node_modules/sass-loader/lib/loader.js):

  &.callout-#{$color} {
 ^
      Top-level selectors may not contain the parent selector "&".
  &.callout-#{$color} {
  ^^^^^^^^^^^^^^^^^^^^
  vendor/konekt/appshell/src/resources/assets/sass/core/_callout.scss 48:3  @import
  stdin 45:9                                                                root stylesheet

My versions are the following:

vagrant@homestead:~/code/vanillo$ composer show konekt/appshell|grep 'versions'
versions : * 1.3.0
vagrant@homestead:~/code/vanillo$ composer show vanilo/framework|grep 'versions'
versions : * 0.4.0
vagrant@homestead:~/code/vanillo$ composer show laravel/framework|grep 'versions'
versions : * v5.7.20

In the mean time I'm going to use your demo repo to run a few tests.

Also, I'm going to be building an e-commerce site for the next 2 months at least with a lot of free time.
I'm interested in a few features that you still have in development/not release so if you need help on those I would gladly help you and this framework while doing also my website.

Thanks,
João Lourenço.

Uploads URL issue

Hello, i have this issue :

capture1
capture2
capture3

When uploading Image to Product, i have this path error .
I saw a related Issue but closed, it says it's APP_URL fault but in my case it's not.
Same in Production where APP_URL is good , looks like it missing the "/app/" part of url.

View override

I’m using vanilo in a project I’m working on even though I realise you do not have the 1.0 yet.
I’ve had to modify a few of the views in vendor/vanilo/framework/resources/views and I was wondering if you envisioned a system to override some of the views or controllers in the framework properly ?
SO I could have modified views in my main folder and leave everything untouched in vendor.
Thanks for your help and for this very promising project for the Laravel community

Error occured when yarn run dev

Hi I got this error when running 'yarn run dev'

ERROR in multi ./resources/assets/js/app.js ./vendor/konekt/appshell/src/resources/assets/sass/appshell.sass
Module not found: Error: Can't resolve '/Users/liaolliso/work/vaniloapp/resources/assets/js/app.js' in '/Users/liaolliso/work/vaniloapp'
@ multi ./resources/assets/js/app.js ./vendor/konekt/appshell/src/resources/assets/sass/appshell.sass

not sure why this happens, any ideas much appreciated!

Customer account / Customer login / adding data to the customer object

I copied some of the demo code for the checkout flow and now, at this stage, in the database, after going through the checkout flow, I see

  1. Entries in the addresses table
  2. Bill payers
  3. Orders

Now I have he following questions

Why do I have no customer in the customers table ? I was assuming the customer would be linked to a Laravel user account or something so that the customer could log back in his/her account later (and see an order list for example). Today, the order is linked to the billpayer but I see no way for this billpayer to authenticate. Actually, this billpayer does not have an email …. So, numbering my questions :

  1. How to create a customer account so that the user can authenticate later ?
  2. How to add an email to the customer or billpayer ?
  3. How to add data to the customer object (like phone)
  4. What are the order statuses today ? Pending means paid and processed by seller ? Or means awaiting payment ?
  5. Also, in the example I do not see any code to populate the "notes" field of the order

Thanks for your help

The back-office should provide a dashboard

As an administrator, when I login to the back-office, I should land on a dashboard page summarizing latest orders, number of products in Catalog, basic statistics and last login information.
Feel free to discuss about the idea and about the features that this dashboard should provide.

As an example (and I mean "only for demonstration purposes, not feature request"), I link a screenshot of Magento 2 dashboard:

screenshot-2018-3-21 dashboard magento admin

Countries

when eve i execute "php artisan db:seed --class 'Konekt\Address\Seeds\Countries'"
i get error
ReflectionException : Class 'Konekt\Address\Seeds\Countries' does not exist
Help please

Route to access all products within taxonomy

Hi. Is there a way to retrieve all products that belongs to taxonomy?
Route::get('c/{taxonomyName}/{taxon?}', 'ProductController@index')->name('category');
This route works only with taxons. I couldn't find a solution witout rewriting compitelly
ProductController@index method

Still maintained?

Hello @fulopattila122 ,
I'm really interested in your project and wanted to know if you are still working on it or I should consider it abandoned.

Thanks!

composer install "comand"

[Symfony\Component\Debug\Exception\FatalThrowableError]
Class 'Konekt\Vanilo\Providers\ModuleServiceProvider' not found

Cannot assign category to product

I've installed both the framework and the demo site and I cannot locate or do not have a way to assign a product to a category...I've created test products, and a test category...please advise

Perhaps a site already loaded with demo data?

[Q] Why does Vanilo use Concord?

I started to use this package but I don't find any explanation on why it's built on top of concord ugly module system.

The default Laravel extensions system is organized enough, and I think using concord module system only desviates Vanilo from his original objective that is to be "Simple & truly Laravel".
For example, AppShell JS & Sass resources are inside the VENDOR directory without compiling. This makes difficult to unit test and add CI because you need not only to compile your custom assets but also the vendor assets on each CI pipeline. So, there is no separation of concerns for "frontend"(npm) and "backend"(composer) because the AppShell frontend resources are inside the composer vendor directory.

The laravel documentation states clearly how public assets should be handled: https://laravel.com/docs/5.8/packages#public-assets
And the concord system is not handling this well. Also, it's not offering anything that cannot be done with plain PHP.

So, I think using concord is lowering the quality of vanilo and the separation of concerns. And also adding a lot of dependencies that does not add anything useful. (Yes, I know AppShell is based on corcord, but it can be easily rewrited in plain Laravel)

So, my final question is.. why does Vanilo use Concord?

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.