All Questions
Tagged with shopping-cart c#
78
questions
0
votes
1
answer
135
views
why make a new "CartItem" entity for the cart if the number of entries in the database does not change solely for readability?
Without going into details, right now I have two entities: Invoice and Product. Is it worth creating a new CatItem entity with literally one property "Quantity" (and relationship properties ...
0
votes
1
answer
284
views
.NET Angular Shopping cart
I'm writing a website (.NET 6, Angular 14) (an online electronics store) that has a shopping cart. I don't know how to properly implement a shopping cart. It is necessary to write a service for adding ...
0
votes
0
answers
223
views
Trying to create a cart Counter Variable
I am trying to create a counter variable where when a user clicks "Add To Cart" a number will appear indicating that the item was added and the number shown represents how many items are in ...
0
votes
1
answer
151
views
shopping cart in c# does not work correctly
Actually I am preparing an app in c# like a shopping cart and my bill does not work. When I load the page it keeps loading and shows no error or something else, it just keeps loading and shows nothing....
0
votes
1
answer
203
views
Xamarin Forms Quantity Toggle
I had a look online but can't seem to find any solution at the moment.
I'm trying to simply update the total price when I toggle the quantity of a product.
For example.
Product price is : $50
Quantity ...
0
votes
3
answers
842
views
How To Get Total Prices From ListView Collection in Xamarin Forms
I've been looking online for a simple solution but can't seem to find any.
I simply want to generate a total price from all the item prices in my listview collection but can't seem to figure out how ...
1
vote
1
answer
2k
views
Adding a price to each item in a listbox - C# .Net, Windows Forms Applications
I am trying to build an windows forms application with c#.
The main functionality of the application is that it is going to allow the user to add items to a shopping cart (an listbox probably) and sum ...
0
votes
1
answer
353
views
How to bind session data to gridview for shopping cart
I am not sure is this a best way but i am storing shopping cart data in Dictionary. I would like to bind data to gridview and use in aspx page.
Somehow, can we use <%# Eval("product_id") %> in ...
0
votes
1
answer
1k
views
calculate shop discount from cart based on shop order limit in a multi-vendor e-commerce store in asp.net mvc5
I have a multi-vendor e-commerce store in which every store manager can manage their discount on shop orders and items.the cart model is as below:
namespace myapp.Models
public class Cart
...
0
votes
0
answers
55
views
Add more items to the model and Session
In my shopping cart i have passed data through Session.In here i face some problem there's 2 additional fields in Shopping cart.How do i add that one to my model.Because model not bind to this view.
...
1
vote
1
answer
336
views
How do I pass an object from a filter to an action method?
I am having some problems implementing a shopping cart into my ASP.NET Core application. I am using session storage to do this but every time OnActionExecuted executes, the cart object passed to the ...
0
votes
1
answer
308
views
How can I find My Cart Total With Repeater in OnItemDataBound (ASP.NET)
I want to find the total price of the items in the shopping cart. But if the product has a discounted price, I have to get discounted price and if there is no discounted price I have to get normal ...
0
votes
1
answer
139
views
Paypal - show cart discount above tax
I've set up a 3rd party shopping cart and everything is working correctly on my site and on PayPal except for one small issue. I'm applying a discount to the entire shopping cart, and applying tax to ...
2
votes
2
answers
2k
views
How to give an ID to an anonymous user to remember their data on database?
I want to give an ID to a user that opens my website and adds some items to their "shopping cart", even if they aren't signed up to the service. Just add, then proceed to sign up when they want to ...
0
votes
1
answer
729
views
Product is empty in shopping cart in list<cart>
i use Shopping in mvc from Microsoft website
these are my models and my controllers
public class Cart
{
[Key]
public int Id { get; set; }
public string CartId { get; set; }
public ...