close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Max items in cart?

Thread begun 5/20/2010 12:23 am by jajja | Last modified 6/12/2010 1:13 pm by jajja | 3225 views | 7 replies |

jajja

Max items in cart?

Hello,

(eCart 4, asp, Sql-server 2000)

For some reason the max amount of items (rows) in my cart is 24. I can put in 25 items (again, I mean 25 rows) into the cart but not more. Nothing happens as I click on "Add to cart" -button after that, the cart seems to be full.

Upon opening the cart itself the amount drops to 24.

Please help asap.

Sign in to reply to this post

Jason ByrnesWebAssist

Is the cart object set to use Cookies?

a cookie has a maximum size of 4 KB, if you store the cart contents in a cookie it is possible to exceed the 4 KB maximum cookie size.

Instead, you should set the cart to use sessions.

Sign in to reply to this post

jajja

The cart uses sessions, not cookies.

Wouldn't it be strange too if the cookie was "filled up" as the items have wery different length of names and text etc. and it is always 24 rows that is accepted but not 25?

Can you think of something else?

I'd be glad to send you the files if you open a support ticket for me.

Sign in to reply to this post

Jason ByrnesWebAssist

can you send a link please.

Sign in to reply to this post

jajja

Not here, it's a "hot" extranet for retailers and one needs privilegies to log on.

Please open a ticket so I can send the link with usernames/ passwords.

Sign in to reply to this post

jajja

As you noticed, my cart uses cookies (sorry I remembered wrong) and the cookie seems to fill up at 23 rows of items in the cart. Now, is there a way of showing how many rows the cart consists of for the user?

I made a text explaining this cookie limit and would like to show how many rows the cart consist's of. -Or why not count down to 0 "..rows left before sending this order and start a new".

As I have eCart 5 installed and the site is classic ASP I have to code this by hand. Any advice would be welcome.

Sign in to reply to this post

Jason ByrnesWebAssist

the code for showing unique items in the cart is:

UBound(eCart1.Items)





you could create a message showing how many more items they can add using something like:

<% If (UBound(eCart1.Items) > 0) Then %>Yow have <%= UBound(eCart1.Items) %> items in the cart. You can add <%= (23 - cInt(UBound(eCart1.Items)))%> more.<% End If %>
Sign in to reply to this post

jajja

Thank's for the help.

Sign in to reply to this post

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...