![]() |
raising the limit on unique items in the cart |
Post Reply ![]() |
Author | |
BrianRoden ![]() Groupie ![]() Joined: 07-September-2007 Status: Offline Points: 0 |
![]() ![]() ![]() ![]() ![]() Posted: 27-January-2009 at 12:13pm |
As it comes from EarlyImpact, ProductCart limits the number of unique SKUs in a cart to 100. I see that this is for server performance reasons, and looking at the code, I see that the active cart is an in-memory array (as opposed to entries in a database table for pending orders or something similar).
We're using PC for a wholesale B2B site, with a limited customer base, so the site could probably handle larger carts (we have a virtual dedicated server, and the possibility of moving to a dual-core full dedicated server with 4GB RAM in the future). Is there any documentation on the changes to make to increase the SKU limit? We have one customer so far (just launched the site Jan 6) who is hitting the 100-item ceiling, and we don't want to make them go through splitting their order.
|
|
![]() |
|
ProductCart ![]() Admin Group ![]() ProductCart Team Joined: 01-October-2003 Status: Offline Points: 135 |
![]() ![]() ![]() ![]() ![]() |
Hi Brian,
The following WIKI articles will help:
Edited by earlyimp - 27-January-2009 at 12:45pm |
|
![]() |
|
BrianRoden ![]() Groupie ![]() Joined: 07-September-2007 Status: Offline Points: 0 |
![]() ![]() ![]() ![]() ![]() |
Thanks, that helps.
But I don't see pc\instPrdCharges.asp in my files. Is that file part of one of the add-ons?
|
|
![]() |
|
ProductCart ![]() Admin Group ![]() ProductCart Team Joined: 01-October-2003 Status: Offline Points: 135 |
![]() ![]() ![]() ![]() ![]() |
That file is part of the Build To Order version, and does not exist in the standard version.
|
|
![]() |
|
BrianRoden ![]() Groupie ![]() Joined: 07-September-2007 Status: Offline Points: 0 |
![]() ![]() ![]() ![]() ![]() |
We increased the array DIM to 150 in those files. We just ahd the following from a customer yesterday. I searched the forum but couldn't find anything related. From: Joanne from 1-2-3 Stitch! [ mailto:joanne@123stitch.com]Sent: Monday, February 02, 2009 5:42 AM To: Kristen Parr Subject: Problem ordering I had less than 100 items in the cart but got this error on check out - I can't seem to get past this and it won't show me the order so I can submit it. I'll send a second email with the order. thanks! * Error At 2/2/2009 5:38:51 AM * CustomerRefID: 901038148-53851 * Session ID: 901038148 * Error Number: 9 * Error Source: Microsoft VBScript runtime error * Error Description: Subscript out of range * Last Query: SELECT pcprod_HideBTOPrice,pcprod_QtyValidate,pcprod_MinimumQty FROM products WHERE idproduct=1179 * RequestMethod: GET * ServerPort: 80 * HTTPS: off * LocalAddr: 74.86.175.238 * HostAddress :98.202.5.150 * UserAgent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0; SLCC1; .NET CLR 2.0.50727; Media Center PC 5.0; .NET CLR 3.0.04506; .NET CLR 1.1.4322) * URL: /cart/pc/OrderVerify.asp * FormData: * HTTP Headers: ***************************** HTTP_CACHE_CONTROL:no-cache HTTP_CONNECTION:Keep-Alive HTTP_ACCEPT:image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/x-ms-application, application/vnd.ms-xpsdocument, application/xaml+xml, application/x-ms-xbap, application/x-shockwave-flash, application/vnd.ms-excel, application/vnd.ms-powerpoint, application/msword, */* HTTP_ACCEPT_ENCODING:gzip, deflate HTTP_ACCEPT_LANGUAGE:en-us HTTP_COOKIE:__utma=148815914.632195364.1188649848.1233439825.1233573862.76; lastURL=http://leisurearts.com/customer_care/search/item_detail.asp?item_num=15932&sort=title&page=1&rec_num=0&startRec=0&skill=CF&search=15932; __utmz=148815914.1229774388.66.2.utmccn=(organic)|utmcsr=google|utmctr=%22pierced+paper%22+%22cross+stitch%22|utmcmd=organic; __utmb=148815914; __utmc=148815914; pcfront%5FvisitedPrds=%2A2031%2A1778%2A2072%2A1822%2A1824%2A; ASPSESSIONIDSCTCBRDQ=DEAMELFDJMIMJKGGNCOPNGHL HTTP_HOST:www.business.leisurearts.com HTTP_REFERER:http://www.business.leisurearts.com/cart/pc/chooseShpmnt.asp HTTP_USER_AGENT:Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0; SLCC1; .NET CLR 2.0.50727; Media Center PC 5.0; .NET CLR 3.0.04506; .NET CLR 1.1.4322) HTTP_UA_CPU:x86 ***************************** |
|
![]() |
Post Reply ![]() |
|
Tweet
|
Forum Jump | Forum Permissions ![]() 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 |