Member Since 4 Months Ago
3,130 experience to go until the next level!
In case you were wondering, you earn Laracasts experience when you:
Earned once you have completed your first Laracasts lesson.
Earned once you have earned your first 1000 experience points.
Earned when you have been with Laracasts for 1 year.
Earned when you have been with Laracasts for 2 years.
Earned when you have been with Laracasts for 3 years.
Earned when you have been with Laracasts for 4 years.
Earned when you have been with Laracasts for 5 years.
Earned when at least one Laracasts series has been fully completed.
Earned after your first post on the Laracasts forum.
Earned once 100 Laracasts lessons have been completed.
Earned once you receive your first "Best Reply" award on the Laracasts forum.
Earned if you are a paying Laracasts subscriber.
Earned if you have a lifetime subscription to Laracasts.
Earned if you share a link to Laracasts on social media. Please email [email protected] with your username and post URL to be awarded this badge.
Earned once you have achieved 500 forum replies.
Earned once your experience points passes 100,000.
Earned once your experience points hits 10,000.
Earned once 1000 Laracasts lessons have been completed.
Earned once your "Best Reply" award count is 100 or more.
Earned once your experience points passes 1 million.
Earned once your experience points ranks in the top 50 of all Laracasts users.
Earned once your experience points ranks in the top 10 of all Laracasts users.
Started a new Conversation Laravel Session
I Want to Mail Laravel Session Array Value ...But I received a Mail but get only Last value of Session Array....
This is How I Store Value in Session Array
Session::put('order_placed_session', ['item_name' => $order_item->Transistor_manufacturer,'item_quantity'=>$order_item->item_quantity,'order_id'=>$order_id]);
This is My Blade File
@foreach (Session::get('order_placed_session') as $product_id)
<h1> {{$product_id}}</h1>
@endforeach
Replied to Add Tax In My ECommerce App
Schema::create('orders', function (Blueprint $table) { $table->bigIncrements('id'); $table->unsignedBigInteger('user_id'); $table->foreign('user_id')->references('id')->on('users')->onDelete('cascade'); $table->unsignedBigInteger('address_id'); $table->foreign('address_id')->references('id')->on('addresses')->onDelete('cascade'); $table->unsignedBigInteger('coupon_id')->nullable(); $table->foreign('coupon_id')->references('id')->on('coupons')->onDelete('set null'); $table->enum('status', ['in_progress', 'accepted', 'on_delivery', 'delivered', 'canceled']); $table->decimal('total_product_count'); $table->decimal('discount')->default(0); $table->decimal('total'); $table->decimal('total_paid'); $table->timestamps(); });
Replied to Laravel Event And Listeners Error
sir i want to send welcome message after email verification ....
Started a new Conversation How To Send Welcome Email After Email Verification In Laravel
I Want to Send Welcome Email To User After Email Verification ...?
Replied to Laravel Event And Listeners Error
Thank You ...Can i Ask one More Question ??? @michaloravec
Started a new Conversation Laravel Event And Listeners Error
Why i got this Error ....
Argument 1 passed to App\Events\UserHasRegisteredEvent::__construct() must be an instance of App\User, instance of App\Models\User given, called in C:\eventlistener\EcomMA\app\Http\Controllers\Auth\RegisterController.php on line 76
I want to send mail after User successfully Register....
Started a new Conversation Best Way To Generate Order Id
Anybody, Please Guide me ...How to generate order id?
Started a new Conversation How To Generate Unique Serial Number In Invoice
I am Using This package For Invoice but struck at some place....i don't know how to generate Unique Serial number for Every Order ....
Replied to How To Load Blade File Using Ajax Jquery
@yamis1745 sir if i refresh my page then I lost the content....
Replied to How To Load Blade File Using Ajax Jquery
sir if i refresh my page then I lost the content....
Started a new Conversation How To Load Blade File Using Ajax Jquery
Can anayone please help me....i want to load a blade file using ajax....
Replied to What Kind Of Web Hosting I Would Need To Deploy Laravel And Php Websites ?
@eddy1992 You Have To Try Hostinger for shared Hosting....i also use hostinger too
Started a new Conversation Send Another Mail After Email Verification In Laravel
Can Anybody please tell me how to Send Another Mail After Email Verification in Laravel....something like your Welcome! Account Created
Started a new Conversation Need Your Suggestion
I develop a Ecommerce Website....But iam Little Bit Confused.....Can Anyone Please Tell me where I want to store my Category Section either in client side or in Database...if in Database Can You Please Suggest Me a Field in Table ???
Replied to Why After Post Request My New Blade File Is Not Open....
one question.....sir if want to post data using ajax to my controller function and I want to send that data to my blade file can you please tell me how ???
Replied to Why After Post Request My New Blade File Is Not Open....
sir can you please tell me how to get data inside controller function ??
Replied to Why After Post Request My New Blade File Is Not Open....
sir in my network tab i got the post value but when I print that data inside controller function nothing printed ...
Replied to Why After Post Request My New Blade File Is Not Open....
using
public function storeValue(Request $request)
{
$data = $request->all();
dd($data);
}
Replied to Why After Post Request My New Blade File Is Not Open....
@marianomoreyra sir thanks for your response.....one question if I want to print post data in my controller.....but data is not printed ???
Replied to Why After Post Request My New Blade File Is Not Open....
This is My js Function Through Whic i Post data...
$(".order_div" ).click(function() {
// var text = $(this).text();
var text = $(this).find('div:last').text()
alert(text);
var data = { value : text };
$.ajax({
type: "POST",
url: '/session/storeValue',
data: data,
headers: {
'X-CSRF-TOKEN': $('meta[name="csrf-token"]').attr('content')
},
success: function() {
alert("hello");
}
});
});
This is My Route
Route::post('/session/storeValue',[ProductsController::class, 'storeValue']);
This is My Controller Function
public function storeValue(Request $request)
{
return redirect()->route("cartProducts");
}
Started a new Conversation Why After Post Request My New Blade File Is Not Open....
Why After Post Request My New Blade File is Not Open....????
Started a new Conversation Laravel Post Request
Hey I am New in Laravel.....Can Anyone Please Help me to post my Data from Js File to my Controller function ???
Replied to Laravel Basic Problem
@automica Once Again You Helped me Out and Support Me Till the End of The Problem....Happy Howl-o-ween! Sir...
Replied to Laravel Basic Problem
Sir doing this thing workes fine for all blade file except one file I don't know why...
Replied to Laravel Basic Problem
sir i did it but my header and footer have the same problem...but only body content workes fine
Replied to Laravel Basic Problem
Havent't host it anywhere....???sir is their any medium where I send you file of my project
Replied to Laravel Basic Problem
@automica Their is a problem with one file, another file is running fine why sir ???
Replied to Laravel Basic Problem
Sir when i inspect that page all this will come but bootstrap is not working...
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta content="width=device-width, initial-scale=1.0" name="viewport">
<title>YantraDeals</title>
<meta content="" name="description">
<meta content="" name="keywords">
<!-- Favicons -->
<link href="assets/img/favicon.png" rel="icon">
<link href="assets/img/apple-touch-icon.png" rel="apple-touch-icon">
<!-- Google Fonts -->
<link href="https://fonts.googleapis.com/css?family=Open+Sans:300,300i,400,400i,600,600i,700,700i|Raleway:300,300i,400,400i,500,500i,600,600i,700,700i|Poppins:300,300i,400,400i,500,500i,600,600i,700,700i" rel="stylesheet">
<!-- Vendor CSS Files -->
<link href="assets/vendor/bootstrap/css/bootstrap.min.css" rel="stylesheet">
<link href="assets/vendor/icofont/icofont.min.css" rel="stylesheet">
<link href="assets/vendor/boxicons/css/boxicons.min.css" rel="stylesheet">
<link href="assets/vendor/venobox/venobox.css" rel="stylesheet">
<link href="assets/vendor/owl.carousel/assets/owl.carousel.min.css" rel="stylesheet">
<link href="assets/vendor/aos/aos.css" rel="stylesheet">
<!-- Template Main CSS File -->
<link href="assets/css/style.css" rel="stylesheet">
</head>
<body>
<!-- ======= Top Bar ======= -->
<section id="topbar" class="d-none d-lg-block">
<div class="container d-flex">
<div class="contact-info mr-auto ">
<ul>
<li><i class="icofont-envelope"></i><a href="mailto:[email protected]">[email protected]</a></li>
<li><i class="icofont-phone"></i> +1 5589 55488 55</li>
<li><i class="icofont-clock-time icofont-flip-horizontal"></i> Mon-Fri 9am - 5pm</li>
</ul>
</div>
<div class="cta">
<a href="#about" class="scrollto">Get Started</a>
</div>
</div>
</section>
<!-- ======= Header ======= -->
<header id="header">
<div class="container d-flex">
<div class="logo mr-auto">
<h1 class="text-light"><a href="/"><span style="color: white">YantraDeals</span></a></h1>
<!-- Uncomment below if you prefer to use an image logo -->
<!-- <a href="index.html"><img src="assets/img/logo.png" alt="" class="img-fluid"></a>-->
</div>
<div>
</div>
<div class="mt-1" style="margin-right: 90px">
<form class="navbar-form" role="search">
<div class="input-group add-on">
<input class="form-control" placeholder="Search for Products,brand and more" name="srch-term" id="srch-term" type="text" size="40">
<div class="input-group-btn ">
<button class="btn btn-primary" type="submit"><i class="icofont-ui-search"></i></button>
</div>
</div>
</form>
</div>
<nav class="nav-menu d-none d-lg-block">
<ul >
<li class="drop-down"><a href="" style="color: white">My Account</a>
<ul>
<li><a href="#">Drop Down 1</a></li>
<li class="drop-down"><a href="#">Drop Down 2</a>
<ul>
<li><a href="#">Deep Drop Down 1</a></li>
<li><a href="#">Deep Drop Down 2</a></li>
<li><a href="#">Deep Drop Down 3</a></li>
<li><a href="#">Deep Drop Down 4</a></li>
<li><a href="#">Deep Drop Down 5</a></li>
</ul>
</li>
<li><a href="#">Drop Down 3</a></li>
<li><a href="#">Drop Down 4</a></li>
<li><a href="#">Drop Down 5</a></li>
</ul>
</li>
<li class=""><a href="http://127.0.0.1:8000/cart" style="color: white"><i class="icofont-shopping-cart"></i> Cart <span style="font-weight: bolder;color:greenyellow">3</span> </a>
</li>
</li>
<li class=""><a href="/home" style="color: white">Profile </a></li>
<li class=""><a href="/login" style="color: yellow;font-family:bolder">Atul Rawat </a></li>
</ul>
</nav><!-- .nav-menu -->
</div>
</header><!-- End Header -->
<div class="container">
<div class="row">
<ul class="list-group">
<li class="list-group-item">Status:-
<li class="list-group-item">Shipping Cost<span style="text-align: right">Free<span/></li>
<li class="list-group-item">Total Amount:-690</li>
</ul>
<a class="btn btn-success btn-block" href="http://127.0.0.1:8000/product/paymentIni">Pay Now</a>
</div>
</div>
<!-- ======= Footer ======= -->
<footer id="footer">
<div class="footer-top">
<div class="container">
<div class="row">
<div class="col-lg-3 col-md-6 footer-contact">
<h3>YantraDeals</h3>
<p>
DDN<br>
UTTARAKHAND , NY 535022<br>
<br><br>
<strong>Phone:</strong>7897646686<br>
<strong>Email:</strong> [email protected]<br>
</p>
</div>
<div class="col-lg-2 col-md-6 footer-links">
<h4>Useful Links</h4>
<ul>
<li><i class="bx bx-chevron-right"></i> <a href="#">Home</a></li>
<li><i class="bx bx-chevron-right"></i> <a href="#">About us</a></li>
<li><i class="bx bx-chevron-right"></i> <a href="#">Services</a></li>
<li><i class="bx bx-chevron-right"></i> <a href="#">Terms of service</a></li>
<li><i class="bx bx-chevron-right"></i> <a href="#">Privacy policy</a></li>
</ul>
</div>
<div class="col-lg-3 col-md-6 footer-links">
<h4>Our Services</h4>
<ul>
<li><i class="bx bx-chevron-right"></i> <a href="#">Web Design</a></li>
<li><i class="bx bx-chevron-right"></i> <a href="#">Web Development</a></li>
<li><i class="bx bx-chevron-right"></i> <a href="#">Product Management</a></li>
<li><i class="bx bx-chevron-right"></i> <a href="#">Marketing</a></li>
<li><i class="bx bx-chevron-right"></i> <a href="#">Graphic Design</a></li>
</ul>
</div>
<div class="col-lg-4 col-md-6 footer-newsletter">
<h4>Join Our Newsletter</h4>
<p>Tamen quem nulla quae legam multos aute sint culpa legam noster magna</p>
<form action="" method="post">
<input type="email" name="email"><input type="submit" value="Subscribe">
</form>
</div>
</div>
</div>
</div>
<div class="container d-lg-flex py-4">
<div class="mr-lg-auto text-center text-lg-left">
<div class="copyright">
© Copyright <strong><span>YantraDeals</span></strong>. All Rights Reserved
</div>
</div>
<div class="social-links text-center text-lg-right pt-3 pt-lg-0">
<a href="#" class="twitter"><i class="bx bxl-twitter"></i></a>
<a href="#" class="facebook"><i class="bx bxl-facebook"></i></a>
<a href="#" class="instagram"><i class="bx bxl-instagram"></i></a>
<a href="#" class="google-plus"><i class="bx bxl-skype"></i></a>
<a href="#" class="linkedin"><i class="bx bxl-linkedin"></i></a>
</div>
</div>
</footer><!-- End Footer -->
<a href="#" class="back-to-top"><i class="icofont-simple-up"></i></a>
<!-- Vendor JS Files -->
<script src="assets/vendor/jquery/jquery.min.js"></script>
<script src="assets/vendor/bootstrap/js/bootstrap.bundle.min.js"></script>
<script src="assets/vendor/jquery.easing/jquery.easing.min.js"></script>
<script src="assets/vendor/php-email-form/validate.js"></script>
<script src="assets/vendor/jquery-sticky/jquery.sticky.js"></script>
<script src="assets/vendor/venobox/venobox.min.js"></script>
<script src="assets/vendor/owl.carousel/owl.carousel.min.js"></script>
<script src="assets/vendor/isotope-layout/isotope.pkgd.min.js"></script>
<script src="assets/vendor/aos/aos.js"></script>
<!-- Template Main JS File -->
<script src="assets/js/main.js"></script>
</body>
</html>
Started a new Conversation Laravel Basic Problem
Bootstrap works fine for all blade file except one...i don't know why ...please help me
Started a new Conversation Laravel App Deploy Question
403 Forbidden
nginx/1.18.0
This Error comes when I open my laravel app which I deploy in elastic beanstalk....(AWS)
Replied to TEMPORARY Table In Laravel
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class TempData extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('temp_data', function (Blueprint $table) {
$table->increments('id');
$table->integer('sender_id');
$table->integer('receiver_id');
$table->string('message');
$table->timestamps();
$table->temporary();
});
}
/**
* Reverse the migrations.
*
* @return void
*/
public function down()
{
Schema::dropIfExists('temp_data');
}
}
Replied to TEMPORARY Table In Laravel
is temp table shown in the database ???......temp_data table is not shown in my database sir
Replied to TEMPORARY Table In Laravel
@mvd i already run php artisan migrate
DB::table('temp_data')->insert(['sender_id'=>2,'receiver_id'=>3,'message'=>'message temp check']);
$data = DB::table('temp_data')->get();
dd($data);
Schema::drop('temp_data');
return $data;
}
Same Error Sir
Started a new Conversation TEMPORARY Table In Laravel
This is My controller function
public function temporary_check()
{
DB::table('temp_data')->insert(['sender_id'=>2,'receiver_id'=>3,'message'=>'message temp check']);
$data = DB::table('temp_data')->get();
Schema::drop('temp_data');
return $data;
}
when I call this function i got an Error
SQLSTATE[42S02]: Base table or view not found: 1146 Table 'shoppingsite.temp_data' doesn't exist (SQL: insert into `temp_data` (`sender_id`, `receiver_id`, `message`) values (2, 3, message temp check))
Note That this is Temp Table
Replied to Basic Question Part 2
@michaloravec right.... you guys are awesome.....that's why I love this community...
Replied to Basic Question Part 2
@sinnbeck problem not sloved sir
Trying to get property 'Transistor_manufacturer' of non-object
Replied to Basic Question Part 2
@sinnbeck This error is coming after using this ....
Cannot use object of type App\Cart as array