Fix null check for cart row in cart.blade.php to prevent errors when row is null

This commit is contained in:
Frank John Begornia
2026-02-23 01:50:12 +08:00
parent 59fc920498
commit 8b6a1cbbc8
4 changed files with 37 additions and 5856 deletions

View File

@@ -5,21 +5,24 @@
"license": "MIT",
"type": "project",
"require": {
"php": ">=7.0.0",
"laravel/framework": "5.5.*",
"webpatser/laravel-uuid": "^2.0",
"php": "^7.2",
"laravel/framework": "^6.0",
"laravel/helpers": "^1.1",
"laravel/tinker": "^2.0",
"webpatser/laravel-uuid": "^3.0",
"netshell/paypal": "dev-master",
"guzzlehttp/guzzle": "^6.3",
"google/recaptcha": "~1.1",
"spatie/laravel-analytics": "^2.0",
"spatie/laravel-analytics": "^3.0",
"league/flysystem-sftp": "^1.0",
"aws/aws-sdk-php": "~3.0"
},
"require-dev": {
"filp/whoops": "~2.0",
"fzaninotto/faker": "~1.4",
"mockery/mockery": "~1.0",
"phpunit/phpunit": "~6.0"
"facade/ignition": "^1.4",
"fzaninotto/faker": "^1.4",
"mockery/mockery": "^1.0",
"nunomaduro/collision": "^3.0",
"phpunit/phpunit": "^8.0"
},
"autoload": {
@@ -39,17 +42,15 @@
]
},
"scripts": {
"post-install-cmd": [
"php artisan clear-compiled",
"php artisan optimize"
"post-autoload-dump": [
"Illuminate\\Foundation\\ComposerScripts::postAutoloadDump",
"@php artisan package:discover --ansi"
],
"post-update-cmd": [
"php artisan clear-compiled",
"php artisan optimize"
"post-root-package-install": [
"@php -r \"file_exists('.env') || copy('.env.example', '.env');\""
],
"post-create-project-cmd": [
"php -r \"copy('.env.example', '.env');\"",
"php artisan key:generate"
"@php artisan key:generate --ansi"
]
},
"config": {