Skip to main content

All Questions

Tagged with
0 votes
1 answer
28 views

Laravel : installation shoppingcart failed

//my composer.json { "name": "laravel/laravel", "version": "11", "type": "project", "description": "The ...
lara's user avatar
  • 1
0 votes
1 answer
52 views

How do I connect the Home, Shopping cart, and add to cart with each other?

I've been trying to direct the add to cart button on the home page of the website(for online shopping) to the addtocart file and the shopping cart. I just can't seem to find what's wrong. Here are the ...
ARA12's user avatar
  • 13
0 votes
1 answer
42 views

how to get products and images table from cart model

How can I get This tree table with one query? This is my products table Schema::create('products', function (Blueprint $table) { $table->id(); $table->string('slug'); ...
Irakli Qiria's user avatar
1 vote
1 answer
788 views

how can i fix this package installation error and install require hardevine/shoppingcart for my laravel project

PS F:\web\Laravel-Advance-Ecommerce-master> PS F:\web\Laravel-Advance-Ecommerce-master> PS F:\web\Laravel-Advance-Ecommerce-master> composer require hardevine/shoppingcart Info from https://...
US King's user avatar
  • 11
1 vote
0 answers
355 views

Laravel how can i store child with parent if the parent data doesnt exist in restful api

so i want to create a card product feature in my laravel api, i create a table where products belongs to cartsdetail and carts has many cartsdetail, i make a function store in cartdetail controller ...
cakra wala's user avatar
0 votes
1 answer
57 views

dynamic transportation value in cart app laravel

I want to get the transportation cost from the database in the card.php but now its write statically 25000 .this cost must be dynamic that owner of site can be change it. in photo transportation ...
user avatar
0 votes
1 answer
977 views

After Click Add to Cart Button then Button Change to Go to Cart in Laravel 8

Please help me, i'm right now try to change Add to Cart Button to Go to Cart after click, how possible I can do that?, please help me, I have trying but didn't work, here my condition code in ...
N. Arifin's user avatar
1 vote
0 answers
524 views

How to have a live data from localStorage with javascript

I have a cart list of customer shopping I save customer items with add to basket button to localStorage I have 2 problems First one my data of basket in page is old and need to updated without ...
bardia riahi's user avatar
1 vote
2 answers
116 views

How to make users cannot add product to cart session from different store?

So, i want to make if else statement where if $cart session has different sponsor_id value, users cannot add product from another sponsor_id heres my CartController public function addToCart(Request $...
Muzakir Nur's user avatar
1 vote
0 answers
1k views

Is it a good idea to store shopping carts in database with Laravel

I am developing an e-commerce website and I am expecting the users to visit the website from both mobiles and computers, so I can't store the cart in a session like in darryldecode/cart Is it a good ...
Lama's user avatar
  • 67
0 votes
1 answer
1k views

Laravel 8 update product in cart if exists

I'm using a Laravel 8 with darryldecode/laravelshoppingcart Cart Package. I'm struggling a bit with updating product quantity if it exists in users cart. For example: If cart is empty, while adding a ...
wise1999's user avatar
0 votes
1 answer
370 views

Accessing session data in other method in same controller is not working in laravel

I need session to create cart for shopping but after store session in method when can I use On the same controller but another method can not access session data I try to add 'StartSession' '...
majid kamali's user avatar
0 votes
0 answers
263 views

How to build a chrome extension to read shopping carts from Amazon, Ebay.. etc?

How can I build a chrome extension to read stores' shopping cart data? Let me explain my idea, I want a user to install my chrome extension, and when he visits Amazon, Ebay,... etc, my extension will ...
Someone001's user avatar
0 votes
0 answers
1k views

Laravel Shopping cart destroy method delete all items in the card

I use olimortimer LaravelShoppingcart My code is properly setup however after adding items to the card it goes to a table each item has a delete button however when i click one button it clear all ...
Omer Stimpack's user avatar
0 votes
1 answer
180 views

How to check if products added to cart have free deliveries conflict with each other

I'm making an Online Store with Laravel 5.8 and in this project, I have set free delivery for some of the products. And there are also two types of free delivery: City Free Delivery & Country Free ...
user avatar

15 30 50 per page
1
2 3 4 5 6