• Toll-free  888-665-8637
  • International  +1 717-220-0012
Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

birdsafe
#1 Posted : Thursday, August 30, 2007 8:51:41 AM(UTC)
birdsafe

Rank: Member

Joined: 2/21/2007(UTC)
Posts: 1,113

I think that when you delete a product from inventory and a customer who has purchased that item in the past goes into thier Order History and tries to copy that order to the shopping cart, it creates a "object reference" error -- and from that point on the customer cannot even get to the shopping cart page unless they clear their cache and/or cookies in their browser.


Even logging out and loggin in as a new customer creates the problem because the items are still in the cart. I think Mitch brought this issue up before, that items in the cart need to go with the customer and not with the "session"
MitchA
#2 Posted : Thursday, August 30, 2007 10:16:29 AM(UTC)
MitchA

Rank: Member

Joined: 3/3/2006(UTC)
Posts: 1,737

Yes. I noticed that "Recently Viewed Items" (in a content block) would remain on the computer in spite of a change in users / sessions. I still think there's a deeper security issue here.

I just placed a product in my wish-list, edited the product and un-checked 'active'. It came off of my wish-list.

It seems the problem is only with inventory controls.
Optimists invent airplanes,
Pessimists buy parachutes.
bvuser
#3 Posted : Thursday, August 30, 2007 1:58:49 PM(UTC)
bvuser

Rank: Member

Joined: 4/10/2006(UTC)
Posts: 462

Personally, I think the problem moreso lies in the fact that Bv even allows a true delete function to occur. I am personally of the school of thought that believes nothing in a database should ever be deleted especially relational databases because it is almost impossible to prevent these types of errors from occuring. The "delete" function should simply set a product as permanently deactivated in my opinion and the "Delete order" function should be changed to a "Cancel order".
Netriplex Corporation<br />
CorneliuTusnea
#4 Posted : Friday, August 31, 2007 8:18:26 AM(UTC)
CorneliuTusnea

Rank: Member

Joined: 8/17/2006(UTC)
Posts: 681

I agree with caplink.
Imagine "deleting" a product and then having a return on an older order on that product. Fix that :)
Corneliu.
http://www.bestgames.com.au
http://www.bestchess.com.au



BV Product Links, Details and Signatures: Improve your customer experience:

http://www.acorns.com.au/projects/bv/quicklink/

jetheredge
#5 Posted : Friday, August 31, 2007 8:34:08 AM(UTC)
jetheredge

Rank: Member

Joined: 3/1/2006(UTC)
Posts: 1,142

We have considered this change in the past, and the issue here lies with the fact that some stores have a huge turnover in products and this would create tons of wasted space in the db, which of course would affect performance. Some users with very large catalogs already have issues with this. We currently store product name, sku, etc... on line items in order to alleviate this problem from certain aspects, but it does appears that there are cases where this is causing an issue, particularly in carts. We will attempt to address this issue in the future.

The carts going with users issue is also another issue that some store owners feel one way and other store owners feel another way. We added this in Bvc5 (it used to be the other way in 2004) because store owners wanted a user to be able to create a cart with a bunch of products, then login, and not destroy or reset their cart. Another reason we did this is because in bvc5 we have anonymous checkouts and in this case a cart doesn't have a user.
Justin Etheredge
Senior Software Engineer
BVSoftware
birdsafe
#6 Posted : Friday, August 31, 2007 9:41:27 AM(UTC)
birdsafe

Rank: Member

Joined: 2/21/2007(UTC)
Posts: 1,113

Thanks Justin,

With my old cart, Andy Miller created a Sign In module that allowed customers to have their items tied to their visits to the store through the use of cookies, did not have to sign in so that would take care of the anonymous shopper issue, yet did not affect if you were to log in as another user -- so perhaps that methodology could be looked into.

I certainly understand that various merchants want different, if not competing, features -- though I would determine and place more importance on what these folks -- merchants -- want and need, over what "developers" might want and need.
bvuser
#7 Posted : Friday, August 31, 2007 10:11:14 AM(UTC)
bvuser

Rank: Member

Joined: 4/10/2006(UTC)
Posts: 462

Hi Justin,

One thing you may want to consider is having an archive product table or 2. Every so often when a product has been deleted, the product is removed from the main product table to the archive table. You can use sql 2005's native xml type to create typed schemas for your simple relational table like product choices, etc. Then in the InternalProduct class you can add a check that when/if a particular product is requested if it is not found during the standard query of the main product table it performs another search on the archive table to retrieve the data that is needed. You now keep the performance benefits as your main table size is reduced, but still retain all of the data in database for later use when needed.
Netriplex Corporation<br />
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

©2025 Develisys. All rights reserved.
  • Toll-free  888-665-8637
  • International  +1 717-220-0012