State Management :: Best Practices For Shopping Cart Data?
Jun 29, 2010
I m developing new shopping cart by using mvc2.and i have followed sample video store application posted in asp.net.my question is: What is the best way to keep shopping cart data.is it in db or a session.
View 3 Replies
Similar Messages:
Feb 3, 2011
I need to implement the following feature for a shopping cart using profile:
1. User opens the site from Computer A and selects items which are added to the shopping cart. Now suppose the User logs in the same items should be displayed in the shopping cart as before he logged in. Now say he adds some more items to the shopping cart and logs out, then the items he added newly should also be displayed in the shopping cart.
2. If the same User as in Step1 opens the site from Computer B and logs in there should be a different profile entry for him and he is not to be shown the items that were selected in the shopping cart in Step1.
I feel I need an implementation of the profile on per user+ computer basis for logged in Users. We have this kind of requirement for a B2B site where companies will have only one common login and it will be used by many Users to order items.
View 4 Replies
Mar 8, 2011
i am currently storing my shopping cart in a datatable assigned to the session. but i wanted to know is it a good idea to store the GUID for the session shopping cart?
View 6 Replies
Jan 12, 2010
the purpose of using Profile in asp.net. I would like to know the usage of profile in shopping cart based sites.I could see from some of the cart websites that profile plays a major role for online shopping projects.It is better to know how this profile to create opnline website and which websites or example to reach the technologies as well.
View 1 Replies
May 1, 2010
I'm creating a shopping cart application and I'm having some issues with implementing a session state for my arraylist.
in my page load i declared
if (Session["Cart"] == null)
{
Session["Cart"] = new ArrayList();
}
else
{
ArrayList cart = (ArrayList)Session["Cart"];
}
to create the session if it doesn't exist yet.
then i have an event handler for a button to add items to the arraylist
protected void onClick_AddBooking(object sender, EventArgs e)
{
int ClassID = Convert.ToInt32(Request.QueryString.Get("Class_Id"));
ArrayList cart1 = new ArrayList();
cart1 = Session["Cart"];
cart1.Add(ClassID);
I'm essentially storing the class_ID then when the student confirms i'll store that to the DB and associate that ID with the Class Details.
View 1 Replies
Nov 1, 2010
how can i cart items for shopping cart application ...i am really new to web development and i want to create a shopping cart and want to cart items in it. how should i cart items.
View 2 Replies
Sep 6, 2013
I have a existing gridview in asp.net+vb web . i am willing to add a shopping cart to it how is to be done
View 1 Replies
Jan 13, 2014
i want to know how to add cart in datalist..
View 1 Replies
Mar 12, 2011
i've a songs website, where i'm adding items to cart for users who are logged in, but when a song is deleted from the website the users still have the cart info still intact, i'd like the songs in the cart also too be deleted when the song from the website is gone, how may i accomplish this ?
View 1 Replies
May 27, 2010
Anyways i am having some serious trouble with a datalist. im sure it is probably pretty easy but im am just not very good at all with the codebehind. Basically i have a datalist connected to sqldatasource and it pulls a list of items. I want to be able to select a record from the datalist and store that value in some sort of shopping cart.
<asp:DataList ID="DataList1" runat="server" CellPadding="4"
DataSourceID="SqlDataSource1" ForeColor="#333333">
<FooterStyle BackColor="#5D7B9D" Font-Bold="True" ForeColor="White" />
<AlternatingItemStyle BackColor="White" ForeColor="#284775" />
<ItemStyle BackColor="#F7F6F3" ForeColor="#333333" />
[Code]....
View 8 Replies
Jan 6, 2011
I have a listview displaying my products and an "Add to Cart" button in the item template. the button fires 2 functions that should add that specific products information and the order details to two SQL database tables(Orders and Quantity(intersection entity between Orders and Products tables)) then you get redirected to the shopping cart page and it should display the item(s) according the specific key in the Quantity table(key is foreign key in Orders)My problem is that i cannot pull any information from the specific item template when i click that button. Need a way to find that specific controls information in my listview. Can anyone help with this?Below is my item template...
<ItemTemplate>\
<td id="Td2" runat="server">
<table ID="Prodtable" runat="server" width="130px" height="95px">
[code]...
View 1 Replies
Jan 10, 2011
After I complete an order and return to my products area my shopping cart still shows the items that were ordered. I have checked the database and the items are not there anymore. somehow my code is remembering the data.
View 3 Replies
Jun 14, 2010
I have some experience in developing a shopping cart in Dreamweaver. Now I wanna develop a fully functional shopping cart with Paypal payment integration in Visual Developer Express Edition 2010. My question is - Is there any nice tutorial to develop fully functional Shopping cart with Paypal Integration in ASP.NET?...
I have seen some tutorial some of them are without Payment System and Some of them are content management systems. I wanna develop my own. what is best Tutorial to develop fully functional shopping cart with Payment System in Visual Developer Express Edition 2010.
View 3 Replies
Jul 15, 2010
I am building a shopping cart with datatable in C#.net.As i select the product again for shopping cart,besides inceasing the quantity of the product.it is showing the product again in gridview.
View 4 Replies
May 27, 2010
I am working on a site in which some pages are to be run on secured server(ie https) & some on non-secured(ie http) eg Login, User Information, etc. will be run under https & View cart, etc. are to be run on http. Now, when user chooses some products in his cart, he is prompted to enter login details. After he fills in his login detail(ie in https), he is redirected to Checkout. But here the Session doesn't picks the value and it shows Session[UserID] value null. So, rather then redirecting to Checkout it shows MyAccount page. Does anyone know how to pass Session Value from https to http.
View 3 Replies
May 11, 2010
can i get a good example.. in order to get started with shopping cart.. how long it's gonna take while implementing it..?
View 5 Replies
Feb 7, 2010
What is the easy way to create shopping cart?
View 8 Replies
Apr 25, 2010
offer a good shopping cart tutorial?This looked like just the thing: http://net.tutsplus.com/tutorials/other/build-a-shopping-cart-in-aspnet/There are postive and negative comments though.I'm a C# beginner so know how to put it mostly together, but I'm not experience enough to know anything about "singletons" and other performance issues that above code may have.
View 5 Replies
Jun 28, 2012
What is the most common or preferred control to build the shopping cart? By this, I mean the actual control that contains the product image, description, price & checkbox to select the item.
View 8 Replies
Feb 25, 2011
How to create a simple shopping cart in asp.net/c#
View 4 Replies
Dec 11, 2010
I am making progress on my shopping cart page. I want to show the contents of my shopping cart but I am puzzled on how to do this.
Here is the code :
Cart Class (Cart.cs)
[Code]....
Default.aspx ( I would like the cart to show up on a label on this page at the bottom)
[Code]....
[Code]....
View 3 Replies
Feb 28, 2011
I'm looking for a free shopping cart source code to start creating customized chart.MSC Musicstore sample code is too simple. NOPCommerce requires adding link into it in every page.Where so find such source code ?
View 4 Replies
Nov 21, 2010
Say i have a Laptop for 600.00. Say i change it to $650.00. How do shopping carts handle that? Like do they store the price in the cart or the item? How do they make sure they get the price they wanted but not bill the customer the new change without asking them? Or do most store them in both?
I was thinking maybe i could store it in both.So if the current price is over the cart price for a item, don't remove it/bill them from their cart. Then after, tell them what was billed/email a receipt for the items that didn't change that was billed(say they had more then one item) and remove it from the cart. For the items that did change, say something like "Items left in cart due to price change, check if you still want to buy the items at the new price." So leave the items that changed in the cart but update the price in the cart.
I don't think the language should matter. Guess this is more of a logical type question. Do most shopping carts do it this way or is there a better way?
View 3 Replies
Apr 2, 2011
I have a master page where in one ContentPlaceHolder I put my shopping cart:
<asp:ContentPlaceHolder ID="continutMeniuContulMeu" runat="server">
asp:UpdatePanel runat="server" ID="updatePanelCos" UpdateMode="Conditional">
<ContentTemplate>
<user:ShoppingCart ID="shoppingCartControl" runat="server" />
</ContentTemplate>
</asp:UpdatePanel>
</asp:ContentPlaceHolder>
View 1 Replies
Jul 9, 2010
I had done a shoppingcart in asp.net and i have to connect it to Authorize.net for payment process.
I dont know anything about this.
View 2 Replies