|
|
Comments and Discussions
|
|
 |
|
|

|
you did a bang up job on this!! Works in all tested browsers EXCEPT IE9 (Cart doesn't show up at all). Any idea why??
Rob
|
|
|
|

|
IE9 has problem with document.cookie so try to install IE10
|
|
|
|

|
my bad! working correctly in IE9
|
|
|
|

|
This code doesn't work in firefox correctly. it only adds one product and when I closed the project and run it again, doesn't work at all. but in opera or chrome I don't have any problem. please help me to run it correctly in firefox. thanks a lot
|
|
|
|

|
i tried it with firefox 16.0.2 (latest version) and it is working fine
|
|
|
|

|
When deal with space in product name. If two products both have space in the name, after adding second product, it won't be able to remove the first added product.
|
|
|
|

|
simple, customizable, easy to use, i love this control
pls keep update, you have all my kudos today
|
|
|
|

|
although i do prefer adding a quantity input box
|
|
|
|
|
|

|
This is an excellent Project or user tool that we can link to the exisiting.
But the concern over here is when we add the shopping cart user control to other project then the UI screen for that page gets totally disturbed. The Fonts and alignment changes when we import this control. My project has a common CSS file from where the settings are set for all the pages.
Can you please let me know where i am going wrong to add this control.
|
|
|
|

|
it is working fine with me in master page or regular page, what you can do is create empty page and add the control to it then start adding the content of your page to find the problem reason.
|
|
|
|
|

|
Hi,
Thanks for providing shoppingcart example, but am facing postback problem, when i am using master page for the (webpage containing user control).
Could you please help me how to avoid post backs.
Thanks,
|
|
|
|

|
the Post-back should be happened since every time when you select a product or remove it; you need to check your stock in database.
|
|
|
|

|
But with out master page, it is not happening.
Postback is happening only when i am using masterpage.
please provide your thoughts.
Thanks,
|
|
|
|

|
I did not get you, the attached example working without master page.
|
|
|
|

|
There's a lot of reinventing the wheel going on here.
Others have mentioned regarding JQuery UI which is one valid point, the cookie handling is also something that can be abstracted with JQuery plugins and the code to show/hide the cart user control has a great deal of hard coded values in it. You could have separated the concerns of styling and the logic for that with JQuery and CSS as well.
The code in itself is OK, but it's more than 5 years out of date.
|
|
|
|

|
hi can you give some explanation about the implementation techniques and which algorithm u used to develop this basket
|
|
|
|

|
Your article is great and easy to follow. For that you have my points, but I have to say that developers should start looking at jQuery and jQuery UI for client side. You could do wonders on this project. Check the demos of jQuery UI. This basket could have drag and drop for products and could avoid postback by using ajax.
|
|
|
|

|
I am alreay using Ajax but I do not like the drag and drop idea for basket so i did it like this.
|
|
|
|

|
Hi
I did mange to connect my Product_usercontrol to the basket and I added this code inside this control <a id = A1 Href="" Add to cart runat="server" > , in order to get all the product info I created property at the Product user control that will get the full href from code behind .
My question is , How do I disable the postback for each click on "Add to cart" ?
thanks in advance ....
|
|
|
|

|
just remove runat="server"
|
|
|
|
 |
|
|
General News Suggestion Question Bug Answer Joke Rant Admin
|
A simple and easy way to add shopping cart to your website and start using it
| Type | Article |
| Licence | CPOL |
| First Posted | 14 Jul 2010 |
| Views | 76,234 |
| Downloads | 7,374 |
| Bookmarked | 90 times |
|
|