Questions tagged [shopping-cart]
Shopping cart systems for e-businesses such as online shops.
shopping-cart
2,215
questions
0
votes
1
answer
167
views
How to make the code display all the products saved in cartData in the shopping cart but not only the last product?
I think the solution could modifying the last line cartItems.innerHTML = cartHTML to be increasingly repeatable with the loop based on the number of the products in the cartData (based on its length). ...
0
votes
1
answer
411
views
Laravel 8.0 shopping cart with API
I am developing a eCommerce shop application in Laravel 8.0. One task is to retrieve the product list from DB and display in products blade page.
Below is my controller implementation
<?php
...
0
votes
1
answer
266
views
flutter - cartscreen and total price
I want to display the total price on the button like this "buy now $15" $15 is the total price, now I'm confused about how to do it, I've tried it but the results are not what I want.
this ...
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');
...
0
votes
1
answer
5k
views
Uncaught TypeError: Cannot read properties of null (reading 'length') - JavaScript
I'm making a functional shopping cart website for a school project website using javascript, i use addtoCart() function to get product data from the product page, and a showCart() function to display ...
0
votes
0
answers
497
views
I want to add products to the shopping cart in PHP
When i click on adding a product to the shopping cart it shows me this: ' 1 = 0 ' and no product name nor price etc... can anyone please help? (i should mention that the init.inc file has the DB ...
0
votes
1
answer
37
views
Only allow items from same Parent Category in Woocommerce basket
I have 3 'Master' categories, Ambient, Chilled and Frozen. Ambient then breaks down into 3 other categories, Food & Drink, Non Food and Pet Products, each with their own sub categories. I tried ...
1
vote
0
answers
52
views
why does the onclick behave differently after page reload
i have a shopping cart that works. it adds items and increases quantity, and removes them when remove is pressed. i have made it so that the data is stored in local storage, so that if the page ...
1
vote
1
answer
4k
views
Cannot autowire service "App\Controller\MainController": argument "$session" of method "__construct()"
There is my MainController:
<?php
namespace App\Controller;
use App\Entity\ShopCart;
use App\Entity\ShopItem;
use App\Repository\ShopItemRepository;
use Doctrine\ORM\EntityManagerInterface;
use ...
-1
votes
2
answers
132
views
When the functions are passed as props, is the shopping cart unable to render?
I am in the process of creating a shopping page which contains an array of items, I have also implemented functions such as "addToCart", "removeFromCart", "increaseQuantity&...
0
votes
1
answer
89
views
Cart Item not remove or empty after checkout process in POS application in MERN. like await cartItems.findAndUpdate({ $set: { cartItems: [] } });
i have created POS point of sale application in MERN that is working perfectly fine just there are two problems.
Cart Item not remove or empty after checkout process
cart items remains same it didn't ...
-2
votes
2
answers
42
views
Python - main function helpb
Please enter a command: ls
No recipe in meal plan yet.
Please enter a command: ls -a
chocolate peanut butter banana shake
chocolate brownies
seitan
cinnamon rolls
peanut butter
omelette
Please enter a ...
-1
votes
1
answer
129
views
Moving Items from one html page to another
how to move an item in a list from one html page to another without or with using localStorage.set-getItem
I am makimg an e commerce website. When my client clicks the "add" button of an ...
0
votes
1
answer
65
views
How to pass data on button clicked in cell to another add to cart page tableview?
enter image description hereenter image description here
import Foundation
import UIKit
import PanModal
var sum = ""
class CustomBottomSheet: UITableViewController {
@IBOutlet ...
1
vote
1
answer
114
views
Using key/Value of a key as reference to OrderByChild to filter certain items only on Android Studio Firebase
I am trying to make an e-commerce app. When making the AddToCart.class I made a copy of an intended item from a registered item into the Cart node of the current user. Then I populate the Cart ...