All Questions
Tagged with shopping-cart java
50
questions
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 ...
1
vote
0
answers
355
views
remove cart items from cart on finalization of shopping transaction
the question to you dear experts is how I need to delete cart items when finalizing shopping. What I know is that I should not delete cart but only items in it. Therefore how to delete cart items when ...
0
votes
0
answers
438
views
How to show image from database to jsp page in spring boot
Index.jsp
this is my code to print 2nd column of image from table but it not work
<td><img src="<%out.print(rs.getString(2)); %>"
height="...
-1
votes
1
answer
761
views
How to make all my cart items have the same order ID when I check out?
I'm trying to build a website with shopping cart functionality using java servlet and mysql. When multiple items are added to the cart, the user can either buy them separately or check out all at once....
0
votes
1
answer
807
views
Increase Quantity in ShoppingCart instead of adding a new line-JAVA
I am trying to create a shoppiing cart that when you addItem if it already exists in cart only increase the quantity and don't add a new line. Currently I have got the the quantity increasing right ...
-1
votes
2
answers
136
views
How to add up total cost of basket?
import java.util.Scanner;
class Main {
public static void main(String[] args) {
System.out.println("Welcome to Mercadona");
System.out.println("-----Mercadona Menu----&...
0
votes
1
answer
3k
views
How do I calculate the total price in the shopping cart?
The shopping cart section of my app is implemented offline when the user presses the add button. The product is stored in the database and then displayed in the shopping cart.
my question
How can I ...
0
votes
0
answers
14
views
Cant scan traits of customer into customerData array [duplicate]
I am trying to make a method that allows a Manager or Employee to be able to add customers with the traits fname, lname, address, city, state, and zip. I want to store this data in String [][] ...
0
votes
2
answers
126
views
**How to select specified number of IMG tags from quantity input value**
Image example:
As you can see from clicking the image example link above, “EE” is the row and “8” is the item number.
I would like to select three of the following four IMG tag items located in the ...
0
votes
0
answers
120
views
Conecptional issues designing a shopping cart for multilple user
For my assignment I have to create at least two classes. "ShoppingCart" and "Article". The programm shall be used by mutltiple user and should be able to add, remove and change items for the active ...
1
vote
2
answers
1k
views
last item in the cart
I am learning microservices and trying to design an e-commerce website. I can't figure out how big shopping sites take care of the last item in the cart problem.
For example, I selected an item from ...
1
vote
1
answer
918
views
Saving Many child under one parent in firebase android
I have tried the below code in the onDataChange() method to save the item click in the firebase storage and I am trying to add the item into cart under the single user that can have many items(as ...
0
votes
0
answers
408
views
Adding simple cart functions to button in Android suite
I am creating a simple department store app for a class, and have a functioning main screen and screens for "products". I added a plus button next to each product, now I need Android to push the ...
0
votes
1
answer
490
views
How to expire cart after a limited time
I need Help on how to expire a shopping cart
Suppose we have a shopping cart in a e-commerce website, and a user adds a product to his shopping cart the problem is that from the inventory we should ...
0
votes
1
answer
604
views
How do i scan multiple QR codes and get the addition?
I have n QR codes containing price in integers. I want to scan each qr code and add its price to the total amount. Here is MainActivity.java
eg. If i scan a qr code containing price 40, 40 gets ...