@bzero Strange as the output show vendor directory such as ui or shop. But most of concern is your instance using new compiled files or not?
bagisto-mogul
Banned
Posts made by bagisto-mogul
-
RE: Install error with master branch, missing features in admin panel
-
RE: Install error with master branch, missing features in admin panel
@bzero
I recommend you to use Node 8.11LTS till we figure out support form higher versions. -
RE: How to open model popup in gird mass action
@ppstech
Mass actions does not support any kind of frontend component invoke. Rather is dependent on a single AJAX function for passing all the selected IDs to your provided route.You would be required to over ride the datagrid blade files to do that and create a delayed sequence on submission of mass action AJAX request.
Regards:
Prashant. -
RE: DataGrid action
Greetings!!!
Currently, there ain't native way to do that but you can use blade render event to pass some javascript explicitly.
With that javascript you need to inject your required things such as HTML also from script itself.Ways to pass JS:
-
@push('scripts')
//JS code
@endpush -
Use listener to listen event "bagisto.admin.layout.body.after" for admin and "bagisto.shop.layout.body.after" for shop.
Using these events you can pass any blade file with your script and html either or both.
Regards,
Prashant. -
-
RE: Install error with master branch, missing features in admin panel
@bzero
Greetings of the day.Would you care to share your NPM and Node version that are installed on your system.
-
RE: Filters in the category page
Hello,
@Keerthi Very soon you will be able to do this.Cheers!!!:
Bagito Team -
RE: Composer install error ! when run the command ?
Hello @engrmasum
Please delete your vendor folder and composer.lock file and then replace your contents of composer.json file with contents below:
{
"name": "bagisto/bagisto",
"description": "Bagisto Laravel ECommerce",
"keywords": [
"framework",
"laravel"
],
"license": "MIT",
"type": "project",
"require": {
"php": "^7.1.3",
"ext-curl": "",
"ext-intl": "",
"ext-mbstring": "",
"ext-openssl": "",
"ext-pdo": "",
"ext-pdo_mysql": "",
"ext-tokenizer": "",
"barryvdh/laravel-dompdf": "^[email protected]",
"dimsav/laravel-translatable": "^9.0",
"doctrine/dbal": "^[email protected]",
"fideloper/proxy": "^4.0",
"flynsarmy/db-blade-compiler": "",
"guzzlehttp/guzzle": "~6.0",
"intervention/image": "^2.4",
"intervention/imagecache": "^2.3",
"kalnoy/nestedset": "^4.3",
"konekt/concord": "^1.2",
"laravel/framework": "5.6.*",
"laravel/tinker": "^1.0",
"maatwebsite/excel": "3.1.11",
"nwidart/laravel-modules": "^3.2",
"prettus/l5-repository": "2.6.32",
"tymon/jwt-auth": "dev-develop"
},
"require-dev": {
"barryvdh/laravel-debugbar": "^3.1",
"filp/whoops": "^2.0",
"fzaninotto/faker": "^1.4",
"laravel/dusk": "^4.0",
"mockery/mockery": "^1.0",
"nunomaduro/collision": "^2.0",
"phpunit/phpunit": "^7.0"
},
"replace": {
"bagisto/laravel-user": "v0.1.0",
"bagisto/laravel-admin": "v0.1.0",
"bagisto/laravel-ui": "v0.1.0",
"bagisto/laravel-core": "v0.1.0",
"bagisto/laravel-attribute": "v0.1.0",
"bagisto/laravel-checkout": "v0.1.0",
"bagisto/laravel-customer": "v0.1.0",
"bagisto/laravel-inventory": "v0.1.0",
"bagisto/laravel-category": "v0.1.0",
"bagisto/laravel-product": "v0.1.0",
"bagisto/laravel-shop": "v0.1.0",
"bagisto/laravel-theme": "v0.1.0",
"bagisto/laravel-shipping": "v0.1.0",
"bagisto/laravel-payment": "v0.1.0",
"bagisto/laravel-sales": "v0.1.0",
"bagisto/laravel-tax": "v0.1.0",
"bagisto/laravel-api": "v0.1.0",
"bagisto/laravel-paypal": "v0.1.0",
"bagisto/laravel-discount": "v0.1.0"
},
"autoload": {
"classmap": [
"database/seeds",
"database/factories"
],
"psr-4": {
"App\": "app/",
"Webkul\User\": "packages/Webkul/User/src",
"Webkul\Admin\": "packages/Webkul/Admin/src",
"Webkul\Ui\": "packages/Webkul/Ui/src",
"Webkul\Category\": "packages/Webkul/Category/src",
"Webkul\Checkout\": "packages/Webkul/Checkout/src",
"Webkul\Attribute\": "packages/Webkul/Attribute/src",
"Webkul\Shop\": "packages/Webkul/Shop/src",
"Webkul\Core\": "packages/Webkul/Core/src",
"Webkul\Customer\": "packages/Webkul/Customer/src",
"Webkul\Inventory\": "packages/Webkul/Inventory/src",
"Webkul\Product\": "packages/Webkul/Product/src",
"Webkul\Theme\": "packages/Webkul/Theme/src",
"Webkul\Shipping\": "packages/Webkul/Shipping/src",
"Webkul\Payment\": "packages/Webkul/Payment/src",
"Webkul\Paypal\": "packages/Webkul/Paypal/src",
"Webkul\Sales\": "packages/Webkul/Sales/src",
"Webkul\Tax\": "packages/Webkul/Tax/src",
"Webkul\API\": "packages/Webkul/API",
"Webkul\Discount\": "packages/Webkul/Discount/src",
"Webkul\CMS\": "packages/Webkul/CMS/src"
}
},
"autoload-dev": {
"psr-4": {
"Tests\": "tests/"
}
},
"extra": {
"laravel": {
"dont-discover": [
"barryvdh/laravel-debugbar"
]
}
},
"scripts": {
"post-root-package-install": [
"@php -r "file_exists('.env') || copy('.env.example', '.env');""
],
"post-create-project-cmd": [
"@php artisan key:generate"
],
"post-autoload-dump": [
"Illuminate\Foundation\ComposerScripts::postAutoloadDump",
"@php artisan package:discover"
]
},
"config": {
"preferred-install": "stable",
"sort-packages": true,
"optimize-autoloader": true
},
"minimum-stability": "dev"
} -
RE: Coupons
Well, to add extra conditions of your choice will be a bit tough to implement but in next release we will add a provision to inflict rules with outer system conditions that will resolve to boolean outputs only.
But for your current bagisto version you can apply and create a new action by pushing a new Action class in config('discount-rule.cart') and make a new action class or override the previous classes and place your customer first sale condition.
And remember the key is zero discount never gets presented on cart they are ignored.
Regards,
Prashant. -
RE: how can I fill the DB with dummy data?
Hi,
- To do for products you have to take a deep dive in productRepository class present in product package. It already have create and update methods inside it. To create a product you would be needed to select three things:
a. SKU
b. Attribute Family
c. Select variants if you are creating congurable product.
Both the methods create and update in productRepository should work simultaneously if you want to create a product at one go.
To create products with faker you will just need to inject productRepository class and then create products with all necessary values used as it.
- For categories, you can refer this blog: https://bagisto.com/en/create-new-category-and-root-category-in-bagisto/
Regards:
Prashant. - To do for products you have to take a deep dive in productRepository class present in product package. It already have create and update methods inside it. To create a product you would be needed to select three things: