Git Product home page Git Product logo

demo's People

Contributors

dependabot[bot] avatar fulopattila122 avatar highstrike avatar kedves avatar yoeriboven 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

demo's Issues

Can't login user after updating user in the admin panel

I am having issues login in a user after the following steps:

  1. created new role "analyst"
  2. assigned permissions to the role "list orders, ..., etc."
  3. created new user "[email protected]"
    3.1 assign user as "admin" and assigned user to the newly created "analyst" role
  4. logged off admin
  5. attempted to login "[email protected]" and a message comes up "These credentials do not match our records."
    Even if I remove the users role and change him back to clients, the user cannot login.

Any help please?

Your requirements could not be resolved to an installable set of packages."vanilo"

I'm getting this problem please help me.
Your requirements could not be resolved to an installable set of packages.

Problem 1
- Installation request for laravel/framework (locked at v8.14.0, required as ^8.12) -> satisfiable by laravel/framework[v8.14.0].
- Installation request for vanilo/framework ^1.2 -> satisfiable by vanilo/framework[1.2.0, 1.2.1, 1.2.x-dev].
- Can only install one of: laravel/framework[8.x-dev, 5.7.x-dev].
- Can only install one of: laravel/framework[v8.12.0, 5.7.x-dev].
- Can only install one of: laravel/framework[v8.12.1, 5.7.x-dev].
- Can only install one of: laravel/framework[v8.12.2, 5.7.x-dev].
- Can only install one of: laravel/framework[v8.12.3, 5.7.x-dev].
- Can only install one of: laravel/framework[v8.13.0, 5.7.x-dev].
- Can only install one of: laravel/framework[v8.14.0, 5.7.x-dev].
- Can only install one of: laravel/framework[5.7.x-dev, v8.14.0].
- Can only install one of: laravel/framework[5.7.x-dev, v8.14.0].
- Conclusion: install laravel/framework 5.7.x-dev
- Installation request for laravel/framework ^8.12 -> satisfiable by laravel/framework[8.x-dev, v8.12.0, v8.12.1, v8.12.2, v8.12.3, v8.13.0, v8.14.0].

Installation failed, reverting ./composer.json to its original content.

Admin View

Hi,

Is it possible to add new fields to the admin menus? I want to add product attributes. Do i have to make a different admin dashboard for that?

Thanks

Multi-language and multi-tenancy support?

Is there any way on this framework to manage the app with multi-language via the settings page to change overall app language and multi-tenancy approach? Because I think this will end up using a third-party package and make the app size bloated.

Hoping for the response.

Thanks and Good day.

how to add config for cart?

Reading the documentation and code, there's a config setting vanilo.cart.auto_destroy and I would like to add it to my fork for this demo but I'm not sure how to add it.

Could you point me to the right direction?

Tweaking settings on admin page

Is there any way to tweak settings forms on admin page like adding a custom field on existing settings form?

My goal is to tweak the app logo together with updating the app name via the settings page.

Hoping for the quick response.

Thanks.

UPDATE
I tried the approach on these docs: https://vanilo.io/docs/1.1/settings#adding-setting-to-the-ui but only the 3rd sample are working, the rest are not, especially in implementing the $settingsTreeBuilder->addSettingItem() method.

Specification/s:
Laravel Version: 6.2

Uploading no selected picture on product edit page generates exception

When editing product in dashboard and I do not select any picture and press upload exception
Spatie\MediaLibrary\Exceptions\FileCannotBeAdded\RequestDoesNotHaveFile appears. With message "The current request does not have a file in a key named images"

I am still using the demo from 2 weeks time, if it was fixed please close the issue.

Not able to see shop main menu

Hi I was trying my hand on Vanilo admin application, I followed as it in the documentation and also took the demo I am not able to see the shop drop down menu but in the screenshot I can see the shop main menu, please help in regards with the same. I am using

vanilo/admin - 3.0
vanilo/framework - 3.1

Am I missing anything here?
Please help
Screenshot 2023-04-10 at 4 21 11 PM

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.

this is where the exception is thrown
/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php line 2817

originating from
vendor/konekt/appshell/src/Http/Controllers/AddressController.php method store()

Any help on this please?

Call to undefined function str_singular()

Hi, I installed the demo application, and after adding a new category I get an error when I try to go along the route:

admin/taxonomy/{id}

Call to undefined function str_singular() (View: patch/vendor/vanilo/framework/src/resources/views/taxonomy/show.blade.php)

Default front end theme

Are there default themes for Vanilo? Are there any recommended theme built or compatible with vanilo?

Trying to get in touch regarding a security issue

Hey there!

I'd like to report a security issue but cannot find contact instructions on your repository.

If not a hassle, might you kindly add a SECURITY.md file with an email, or another contact method? GitHub recommends this best practice to ensure security issues are responsibly disclosed, and it would serve as a simple instruction for security researchers in the future.

Thank you for your consideration, and I look forward to hearing from you!

(cc @huntr-helper)

checkout submit

Illuminate \ Database \ QueryException (42S22)
SQLSTATE[42S22]: Column not found: 1054 Unknown column 'shippingAddress' in 'field list' (SQL: insert into orders (status, shippingAddress, number, user_id, updated_at, created_at) values (pending, shipping, 550-1reg-bvu3, 1, 2018-03-27 22:49:28, 2018-03-27 22:49:28))

Error en php artisan migrate --seed estoy usando MySql

me muestra el siguiente error:

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

at /home/frisly/larapro/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[42000]: Syntax error or access violation: 1071 Specified key was too long; max key length is 767 bytes")
/home/frisly/larapro/vendor/laravel/framework/src/Illuminate/Database/Connection.php:458

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

Please use the argument -v to see more details.

Adding file input field to settings page

Good day,

As I follow the docs here: https://vanilo.io/docs/1.1/settings#adding-setting-to-the-uihttps://vanilo.io/docs/1.1/settings#adding-setting-to-the-ui, there is no sample on including a different type of form fields in settings UI, only text and select.

I want to include a file input form field below the name text field on application section on the general settings tab on the settings page.

Sample screenshot: http://prntscr.com/rf20rp

Hoping for a fast response.

Cart & User Problem

hi May i know how can i associate cart and user?It is bcos the cart will be removed after logout. I appreciate to your awesome project ๐Ÿ‘

Demo Data missing

I followed the instructions, but demo data was not there. Even seed contains only country names.

One product have multiple property values?

Thanks for the great work guys. I just tried Vanilo demo from this repo. It is very inspiring that it works with Laravel as a package and to the best keep laravel itself intact.
I might be doing it wrong but could a product have multiple properties values? For instance a mattress model, to have various sizes like KQDS and KS? When I test-drove it one listing (sku) can only choose one value per property. Appreciate.

errors when running "php artisan migrate --seed" while installing demo

Following the demo setup command I get error when running "php artisan migrate --seed" the following is the output:

Migration table created successfully.

In Connection.php line 664:

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 (SQL: create ta
ble media (id int unsigned not null auto_increment primary key, model_ type varchar(191) not null, model_id bigint unsigned not null, collecti on_name varchar(191) not null, name varchar(191) not null, file_name v
archar(191) not null, mime_type varchar(191) null, disk varchar(191) no
t null, size int unsigned not null, manipulations json not null, custo m_properties json not null, responsive_images json not null, order_colu mn int unsigned null, created_at timestamp null, updated_at timestamp
null) default character set utf8mb4 collate 'utf8mb4_unicode_ci')

In Connection.php line 452:

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

if you require more information please let me know

product image not displayed

I tried uploading both the images it is still not working. I tried both the solutions from #17 and #19 both.
I tried to change but nothing happened
Also did you artisan storage:link
i run this command and tried changing base url nothing changed

here is the output of stat public/storage
Capture

Please help ..Thank you so much in advance

Master product demo

Hey,

I installed the demo application I added a master product with variants but could not see it in the frontend. Any idea how I can see it? Or it's not available in the demo?

php artisan migrate: seed givining me error in command line

Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'json not null, custom_properties json not null, responsive_images json not n' at line 1 (SQL: create table media (id int unsigned not null auto_increment primary key, model_type varchar(191) not null, model_id bigint unsigned not null, collection_name varchar(191) not null, name varchar(191) not null, file_name varchar(191) not null, mime_type varchar(191) null, disk varchar(191) not null, size int unsigned not null, manipulations json not null, custom_properties json not null, responsive_images json not null, order_column int unsigned null, created_at timestamp null, updated_at timestamp null) default character set utf8mb4 collate 'utf8mb4_unicode_ci') {"exception":"[object] (Illuminate\Database\QueryException(code: 42000): SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'json not null, custom_properties json not null, responsive_images json not n' at line 1 (SQL: create table media (id int unsigned not null auto_increment primary key, model_type varchar(191) not null, model_id bigint unsigned not null, collection_name varchar(191) not null, name varchar(191) not null, file_name varchar(191) not null, mime_type varchar(191) null, disk varchar(191) not null, size int unsigned not null, manipulations json not null, custom_properties json not null, responsive_images json not null, order_column int unsigned null, created_at timestamp null, updated_at timestamp null) default character set utf8mb4 collate 'utf8mb4_unicode_ci') at C:\xampp\htdocs\vanilo\vendor\laravel\framework\src\Illuminate\Database\Connection.php:664, Doctrine\DBAL\Driver\PDOException(code: 42000): SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'json not null, custom_properties json not null, responsive_images json not n' at line 1 at C:\xampp\htdocs\vanilo\vendor\doctrine\dbal\lib\Doctrine\DBAL\Driver\PDOConnection.php:63, PDOException(code: 42000):

getThumbnailUrl on cart page not returning the image.

Hello everyone,

For some reason the following is not returning a thumbnail:

{{ $item->product->getThumbnailUrl() ?: '/images/product.jpg' }}

resources/views/cart/show.blade.php

it works fine on the product and category page with:

{{ $product->getThumbnailUrl() }}

I also tried:

  @if($item->product->hasImage())
 YES:: {{$item->product->getThumbnailUrl() }}
@else
NO IMAGE
@endif

and I can confirm it returns no image.

Is this a known issue?, I'll keep on trying to figure it out and post an update if I find anything. Any help is appreciated!

Thanks

Product Image upload

hello, i want to ask about, how to add product image to the website using vanilo admin. thank you very much :)

Order of registering modules appears to remove customers relationship from Address class.

Not sure if this is the correct place to raise the question. I hope the below explanation makes sense.

After installing the demo repository and setting everything up, we noticed that step 1 and step 2 happen during boot of application.

The issue is that after the second module registration Address::class looses the relationship customers(): BelongsToMany.

Is this correct?

Step 1

https://github.com/artkonekt/appshell/blob/61ea8b7c8e715884ab6598acccfdff6796dcc1b0/src/Providers/ModuleServiceProvider.php#L114

First loads the following module
Konekt\AppShell\Providers\ModuleServiceProvider::boot and it runs the following lines

use Konekt\Address\Contracts\Address as AddressContract;
use Konekt\AppShell\Models\Address;

$this->concord->registerModel(AddressContract::class, Address::class);

The Konekt\AppShell\Models\Address::class now has extends Konekt\Address\Models\Address and has relationships as below:

public function country(): BelongsTo
public function province(): BelongsTo
public function customers(): BelongsToMany

Step 2

https://github.com/vanilophp/framework/blob/57298341e8e11659ec2b8a28e381fe82862cdc1e/src/Foundation/Providers/ModuleServiceProvider.php#L85C8-L85C101

Sometimes after the following module load Vanilo\Foundation\Providers\ModuleServiceProvider::boot

use Konekt\Address\Contracts\Address as AddressContract;
use Vanilo\Foundation\Models\Address;

$this->concord->registerModel(AddressContract::class, Address::class, $registerRouteModels);

The Vanilo\Foundation\Models\Address::class now extends Konekt\Address\Models\Address::class and has relationships as below:

public function country(): BelongsTo
public function province(): BelongsTo

How to implement new payment gateways

Greetings!
I have a question about the implementation of new payment gateways

For example: I created a class app/CustomPayPaymentGateway.php that implements the interface PaymentGateway

Where and how can I register a new gateway?
I don't understand the line:
PaymentGateways::register('paypal', PaypalPaymentGateway::class);

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.