Comments (15)
How do you access the method? Do you use a custom model in your application? Do you use the component standalone or within the Vanilo Framework?
from product.
from product.
Can you access other methods on the model? Did you customize the statuses of the product?
from product.
Also, which version of Vanilo are you using? 1.2?
from product.
Can you access other methods on the model? Did you customize the statuses of the product?
Yes, i can access other methods; i don't think i customised statuses. Is that possible?
from product.
Also, which version of Vanilo are you using? 1.2?
Yes, version 1.2. I also downgraded but the error remains.
from product.
Yes, customizing of statuses is possible: https://vanilo.io/docs/1.2/enums#customizing-enums
Can you please post here the output of the command:
php artisan concord:enums
?
from product.
Yes, customizing of statuses is possible: https://vanilo.io/docs/1.2/enums#customizing-enums
Can you please post here the output of the command:
php artisan concord:enums?
+------------------+-------------------------------------------+----------------------------------------+
| Shorthand | Contract | Concrete |
+------------------+-------------------------------------------+----------------------------------------+
| address_type | Konekt\Address\Contracts\AddressType | Konekt\Address\Models\AddressType |
| cart_state | Vanilo\Cart\Contracts\CartState | Vanilo\Cart\Models\CartState |
| customer_type | Konekt\Customer\Contracts\CustomerType | Konekt\Customer\Models\CustomerType |
| gender | Konekt\Address\Contracts\Gender | Konekt\Address\Models\Gender |
| gravatar_default | Konekt\AppShell\Contracts\GravatarDefault | Konekt\AppShell\Models\GravatarDefault |
| name_order | Konekt\Address\Contracts\NameOrder | Konekt\Address\Models\NameOrder |
| province_type | Konekt\Address\Contracts\ProvinceType | Konekt\Address\Models\ProvinceType |
| user_type | Konekt\User\Contracts\UserType | Konekt\User\Models\UserType |
+------------------+-------------------------------------------+----------------------------------------+
from product.
Product Status is missing as I expected. Can you post the contents of config/concord.php
?
from product.
Product Status is missing as I expected. Can you post the contents of
config/concord.php
?
<?php
return [
'modules' => [
Konekt\AppShell\Providers\ModuleServiceProvider::class => [
'ui' => [
'name' => 'Vanilo',
'url' => '/admin/product'
]
],
Vanilo\Cart\Providers\ModuleServiceProvider::class
]
];
from product.
The product module hasn't been added.
You have to add it:
<?php
return [
'modules' => [
Konekt\AppShell\Providers\ModuleServiceProvider::class => [
'ui' => [
'name' => 'Vanilo',
'url' => '/admin/product'
]
],
Vanilo\Cart\Providers\ModuleServiceProvider::class,
Vanilo\Product\Providers\ModuleServiceProvider::class // <- add this line
]
];
from product.
The product module hasn't been added.
You have to add it:
<?php return [ 'modules' => [ Konekt\AppShell\Providers\ModuleServiceProvider::class => [ 'ui' => [ 'name' => 'Vanilo', 'url' => '/admin/product' ] ], Vanilo\Cart\Providers\ModuleServiceProvider::class, Vanilo\Product\Providers\ModuleServiceProvider::class // <- add this line ] ];
thanks... it works now. btw: why wasn't it there? did i miss something in the docs? is this necessary when using the standalone products module?
from product.
I also get the same error when i do this: $taxon->taxonomy. So i added:
Vanilo\Category\Providers\ModuleServiceProvider::class,
Vanilo\Properties\Providers\ModuleServiceProvider::class,
Can these be automatically discovered by the package?
from product.
Add Vanilo\Category\Providers\ModuleServiceProvider::class
to concord.php
.
Basically, every Vanilo module must be added this way.
Concord v2.0 will be hooked with auto-discovery, currently, you have to do this. It's a one-time 5-second change ;)
from product.
Add
Vanilo\Category\Providers\ModuleServiceProvider::class
toconcord.php
.
Basically, every Vanilo module must be added this way.Concord v2.0 will be hooked with auto-discovery, currently, you have to do this. It's a one-time 5-second change ;)
Thanks. Issues with concord resolved.
from product.
Related Issues (11)
- Publish admin panel assets
- Class App\Product must extend or implement Vanilo\Category\Contracts\Taxon. HOT 3
- Sluggable package is not being installed HOT 1
- No SKU HOT 2
- addTaxon undefined HOT 9
- No Quantity HOT 5
- Add multiple property values to product HOT 3
- How to paginate productFinder results? HOT 1
- Create product variants HOT 13
- Column type for 'stock' should be integer
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from product.