C# - To Implement A Shopping Basket?
Sep 15, 2010
I want to implement a shopping basket.
I created a shopping basket class, and included all the functions inside it that basket will need.
It works OK, but on every content page I need the lines:
Basket myBasket = new Basket();
myBasket.drawBasket();
Is there anyway to get that code to execute on every page without having to manually create the class and run it? Perhaps not use classes?
View 3 Replies
Similar Messages:
Mar 28, 2011
How to implement shopping cart in asp.net. Provide with step by step procedures
View 3 Replies
Feb 3, 2010
Is there a framework in ASP.NET world which makes it easy for me to create a shopping cart? The open source world has plenty of existing frameworks which come with built-in shopping carts etc.let me know of a good & free ecommerce framework which makes it quick for me to implement shopping cart.
View 2 Replies
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
Oct 5, 2010
I want exactly like this...not a simple box but the one with shadow borders like this one..I have been googling but all I came across is Slide down boxes and tool tips..that's not what I want..How do I implement the one in this website..oh and this box's got HTML stuff in it...like buttons and all
Is there any way I can see the code of this in that website ?
View 1 Replies
Feb 22, 2011
I need to keep my basket more permanent I have two options and I want to choose the best one.
I have eCommerce web site application in asp.net and there is a basket include products which are selected by users before, so options:
1- keep basket in database (consider the cost and time to store and retrieve information)
2- store my basket in Cookies (I don't know what the implementation is)
I couldn't use session because it is not permanent and clear by closing browser.
My goal is : when the user close the IE for 1 day or 2 days make ability to remember all products that already added to basket.
In addition, my basket is store in hash-table now, for example : {1:4055,2:4588,...} they are ID and product code(keys). they are all save in a hash table.
View 1 Replies
May 11, 2010
i have a buy basket in master page.
and when user add a product(for child) i want to Ajax update buy basket
how i can implement that?
View 3 Replies
Dec 26, 2010
I developed an ecommerce application.In this application (out of all other user products stuff ) use Sales to products
Here is simple demo:
http://clients.mantis.co.il/EcommerceDemo/
For example
Buy 20 products and the other 2 product with 50% off
And another example
Buy 1 product and the other cost 9.99$
And last example
Baying more than 600$ got 20$ discount
Course calculate this is not so simple, and the GET BASKET event can take time
I wondered what the best way to do it. My 2 options are:
1. Try to cache the user basket.Yes - because this calculate make just one time (until the user change and add product to the basket etc')No - because this object keep on the server, and if I take a situation that many user fill their basket I don't want the server work slower because the consequence of this decision.
2. Of course the opposite to call this calculate each time than its make slow the make basket event but this not "sit" on the sever and I am not afraid of crash the server.
View 1 Replies
Jan 27, 2010
The company I am doing work for are creating an online catalogue and want links on product details that will automatically add said product to the basket of their ecommerce store, namely [URL]
View 1 Replies
Oct 1, 2010
I have 2 sites, one the main product site the other a secure site featuring the basket and checkout processes.
When a user clicks "add item to basket" I am creating a basket in a database and then adding the items to the basket. The theory was then to store the id from the database for the basket (the basketid) in a cookie, redirect the user to secure site, use the basket id from the cookie and display the contents in the basket.
However I am having trouble getting the secure site to use the same cookie. When I redirect the users to the secure site, the basket appears empty. I need to go back to the main site and then back to secure before the cookie appears.
Here is the code for the cookie
[Code]....
And then on the secure site this is how it gets the basket ID from the cookie
[Code]....
But like I say it's having problems. I've tried replacing the cookies with session variables as well but it didn't work.
View 6 Replies
Sep 8, 2010
I am busy building a shopping cart with cookies. I have datalist which I populate from the cookies with a delete button next to each cookie
[Code]....
Now the problem is that when I hit the delete / remove button to expire the cookie, what happens when repopulating the datalist is that it shows the original cookie with all it's values as well as a new entry where all the values are blank.
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
Jul 27, 2010
I just want to know that how can I utilize the concept of Abstract class, virtual class etc. in my shopping cart website. I have read the tutorial out there on internet and I saw some examples too, but those examples are so general that they dosen't fit into real world scenerio like I am searching for a shopping website. Same questions again and again comes to my mind that why to made a class only to give the declaration of methods and property.
View 4 Replies
Mar 7, 2010
I am working on building a new shopping cart applicaiton. When i checked many shopping card applications, i found that the cateogry pages and product pages seems to be dynamically created. eg: http://shopping.sify.com/cadbury-bournville-almond/chocolates/CHOC24112009TTL14.htm
How this is being done? Is this page is created while adding product itself?
View 2 Replies
Mar 24, 2010
I am looking for a drag & drop shopping cart, which I can use with asp.net & can save the details in sql server 2005 database. I don't bother if it from ajax, javascript or jquery.Actually I have a grid, in which I am having picture, product name & price (say), so either I could be able to drag the row to the cart to add or increase the product quantity. or on click on the add to cart button, it will flow to the shopping cart.
View 10 Replies
Oct 20, 2010
I am working on a Railway Portal and would require maintaining a shopping cart of components user has selected, there could be multiple components of different type in the cart. I don't see a value in storing the cart in database, would like to store the final order in DB. Where can I store/hold (temporary) the cart data per user session in MVC? All MVC samples I saw online save the cart data in DB - not sure why.
MVC presentation layer will be communicating with external web services for pricing and availability of these components, so I can't store only the product IDs to do a lookup for actual product descriptions/prices during the shopping process... I have to store everything in the cart (Product IDs, Descriptions, Prices etc) some place in memory. My application will be running in WEB FARM environment and cannot use in-process session storage.
Options come to my mind are:
SESSION STATE in SQL SERVER Using some kind of Distributed Caching Mechanism to store Session data such as "Windows Server AppFabric"
View 4 Replies