I am actually a beginner and this is my first "big" project. I am building a web app for a local detergents shop that should allow the users to order a local delivery of the products at home. I am using Laravel, darryldecode’s Cart implementation and Voyager as an admin panel. Everything was going well ..
Category : e-commerce
I want my registered users to appear in my administration panel How could the path be or how can I make all the records from the users table appear in the admin panel? Sourc..
I’m a beginner in laravel and I’ve been trying to create a simple ecommerce web but i got stuck in this logic error for days. I’ve been following in a youtube tutorial about creating shopping cart but the item quantity won’t increment if i add the same item in the cart. The totalPrice and totalQty ..
I am new to Laravel. Add to cart button to add same product into cart with +1 quantity. Trying to check if stock greater than qty. When one item is qty 3 than 2 stock I would like to display some text "The requested qty is not available" instead of form submit. Is this possible? ..
I am new Laravel. I am building e-commerce site. In shopping cart. if i try to add to cart from the product its added. modal display successfully. second click to more increment quantity +5 and nothing modal display "The requested quantity for product is not available". Now i want to display modal when i click ..
I have a problem with an ecommerce’s cart. In my controller when i use the first() property in my query the product that is added in my cart is always the same, the first that I click. This is my code: Controller: public function addToCart(Request $request) { $reference = $request->reference; $ean = $request->ean; $product = ..
I want to: Create a dynamic route logic to handle category and subcategory in URL. Send a dynamic variable to where clause in Products Model Web.php Route file: Route::prefix("products")->group(function () { Route::get(‘{category_one}/{category_two}’,[ProductsController::class,’index’])->where([‘category_one’=> ‘[A-Za-z]+’,’category_two’=>'[A-Za-z]+’]); }); ProductsController.php use AppModelsProducts; public function index() { $products = new Products; $products=$products->getProducts(); return view(‘pages.products’)->with([‘products’=>$products]); } Products.php Model use IlluminateSupportFacadesDB; public function ..
I have this huge problem that I can’t find a workaround. I’m building an e-commerce app with Laravel and it’s essential to build a good filtering system for products. I have products and attributes table with a many-to-many relation. Pivot table product_attribute has additional value (if the attribute is color, value would be red for ..
I am developing marketplace platform using PHP/Laravel. I almost finished project but I am stuck in the last step of project. It’s Shipping part. I collected seller’s address and buyer’s address. And I had stamps.com developer account. can anyone explain me how the system would work? Here is some points what I wanted to know. ..
I am going to build an online store but it needs to have some customizations like categorizing users on sign up, special discounts for a specific niche, Payment by the bank draft, blocking some users from placing an order from admin panel, generating reports in a specific format for legal use, etc. I wanted to ..
I am going to build an online store but it needs to have some customizations like categorizing users on sign up, special discounts for a specific niche, Payment by the bank draft, blocking some users from placing an order from admin panel, generating reports in a specific format for legal use, etc. I wanted to ..
What is the best possible way to get the id to traverse through pages of an ecommerce website with payment and all?To get the data in the next page without passing through URL. I dont want to show the ID in the url. And if we store in session, it will get destroyed during logout. ..
Laravel e-commerce site. Arabic and English languages website. I have tried to develop Multilanguage site with laraval. But I am confused at the below point. Suppose I have Category table with title field. I want to insert title field in the two language. So i have created migration for title_en and title_ar. <?php namespace App; ..
i’m looking for a secure open source market place app to be used in production without restrictions. here is what it must provide: 1 .presentation of products with categories and filtering 2. possibility of stores creation 3. payment transactions 4 .high level of security any suggestions please ? Sourc..
for the time i am making a database schema for a small ecommerce site. so there are two tables product (main) and category. i want to define relation between them using foreign key, but i have a doubt that in which table should i define column which contain primary key of anothor table. currently I ..
I’ve been reading the docs for a while and I haven’t found an easy method to extend a CMS page with new attributes. Is there any non-overkill way? Sourc..
I am making an e-commerce website and trying to finish my order management for normal users/customers. I want to allow the customer to cancel an order if the status is still pending. I have an OrderHistoryController with the following: public function cancel(Order $order) { $order->status = ‘canceled’; $order->save(); //check if all suborders are canceled $pendingSubOrders ..
Pls can anyone help me to explain aimeos from start to finish. I am a laravel developer having 3months experience and have built 5 application with it. But the projects am embarking on now is e-commerce. Pls i need assistance from start to finish. Like the adjustment of frontend, admin panel, payment gateway, sending promotional ..
I am making a multi-vendor ecommerce website using Laravel 7. I am trying to make an Order History page where in a single can user can view only his/her own orders. I am having a problem building the query on my OrderHistoryController. These are the codes on my controller: $users = User::get(); $orders = Order::find($users); ..

I’m designing the database for a products rental. I’m using Laravel 8 framework. I live in a country where prices changes all the time. The rental order require a quote generated by the client. The prices are stored but not listed in the user view, they are only for reference in the admin order quote ..
Am trying to save different image sizes with its original filename but its refusing and it keeps giving me the above error Below is my code if ($request->hasFile(‘image’)) { $image_tmp = $request->file(‘image’); if ($image_tmp->isValid()) { $filename = $request->file(‘image’)->getClientOriginalName(); $large_image_path = $request->image->store(‘images/backend_img/products/large’, $filename); $medium_image_path = $request->image->store(‘images/backend_img/products/medium’, $filename); $small_image_path = $request->image->store(‘images/backend_img/products/small’, $filename); //Resize Images Image::make($image_tmp)->save($large_image_path); Image::make($image_tmp)->resize(600,600)->save($medium_image_path); Image::make($image_tmp)->resize(300,300)->save($small_image_path); ..

Error message on page reload even after runing php artisan cache clear and then php artisan serve Trying to get property ‘code’ of non-object (View: C:xampphtdocsbagistoresourcesthemesvelocityviewsUIheader.blade.php) (View: C:xampphtdocsbagistoresourcesthemesvelocityviewsUIheader.blade.php) (View: C:xampphtdocsbagistoresourcesthemesvelocityviewsUIheader.blade.php) (View: C:xampphtdocsbagistoresourcesthemesvelocityviewsUIheader.blade.php) .env file config: What am I missing? Sourc..

Error message on page reload even after runing php artisan cache clear and then php artisan serve Trying to get property ‘code’ of non-object (View: C:xampphtdocsbagistoresourcesthemesvelocityviewsUIheader.blade.php) (View: C:xampphtdocsbagistoresourcesthemesvelocityviewsUIheader.blade.php) (View: C:xampphtdocsbagistoresourcesthemesvelocityviewsUIheader.blade.php) (View: C:xampphtdocsbagistoresourcesthemesvelocityviewsUIheader.blade.php) .env file config: What am I missing? Sourc..
i’m using laravel in my project , so when i add a product in the shop cart all the data is displayed except the product image. This is the cartcontroller.php: public function add(Request $request) { $produit=productmodel::find($request->id); Cart::add(array( ‘id’ =>$request->id, // inique row ID ‘name’ =>$request->product_name, ‘price’ => $request->product_price, ‘quantity’ =>$request->product_quantity, ‘attributes’ => array(‘photo’=>$request->product_image))); return redirect ..

Bagisto Laravel e-commerce theme not showing custom uploaded images for store front, even though the images exist in storage/velocity/images/7nh8Ukl4aYlIrEdqCvHJ94hYW6wMREQbv1XgfeSK.jpeg [ [] Sourc..