PDA

View Full Version : More than 5 Products on an order


bcarroll
17th February 2004, 01:26 PM
I have had a few customers complain recently that they cant add more than 5 items to an order - the sixth dissapears out of the cart. I cant replicate this and have had hundreds of orders with up to 10 odd items on it - has anyone else heard or know why this may happen?

dferguson
18th February 2004, 06:18 AM
With the current cart design it should be able to hold a lot more than 5 items.. So im not sure why it would occur.

shell
23rd February 2004, 05:51 AM
Unfortunately, I have to report that it has been duplicated on my shopping cart also.
Received a order this morning for 5 items and I was advised that sixth one fell off.
Is there a time-out on the cart?
thx

davidel
17th July 2004, 03:34 AM
would anyone have manually edited their "viewcart.htm", perchance...?

I saw something similar and it took me for ever to find the cause. Customers were placing items in the cart, but could only add 5 - after that they did not appear, and/or the cart became empty.

Its a bit of a story. As we sell to US customers but use Australian Dollars, I liked to have our cart say "Subtotal in Australian Dollars" instead of just "Subtotal" but there was no way via the ezimerchant interface to edit this. So I used to manually edit the viewcart.htm after each build but prior to upload. Then I came up with the idea of keeping a copy seperate to the build directory and just dropping it in each time.

Then after some recent editing and adding new products, I did a build and upload and the problems started to happen. I tracked it down to the products java script files.

When you add products into ezimerchant, it creates a file called "eziproducts.js" which is essentially a listing of the products details and settings (size, price, etc). If you keep on adding products, at some number Ezimerchant decides to start a new file, which it calls "eziproducts1.js", then "eziproducts2.js" and so on (we have lots of products!).

Anyway, the code used in the viewing of the cart on the viewcart.htm page uses these js files to get product details and calculate the totals. My recent edits had forced Ezimerchant to create "eziproducts3.js", but I had dropped in my manually edited copy of viewcart which was from an earlier build and did not reference the new js file. So when a customer added one of the new products referenced on eziproducts3.js, it broke the cart.

I only found this by doing a build and upload with no manual edits (to make sure the cart worked for customers - first things first!), and comparing the key files, then narrowing it down to the viewcart page and comparing the new one vs. my manual one and seeing the problem.

hope this helps.

dferguson
25th February 2005, 10:35 AM
The shopping cart should cope with about 100 products in it - depending on the length of the product codes and product names you use and if the products have custom fields.

ezimerchant Professional V3.8.2 and above has optimised javascript which makes the shopping cart more reliable than in previous versions - Especially websites with thousands of products.

Try upgrading to 3.8.2 or above and then generating, testing and uploading your site.

Note: We previously reccommened that an ezimerchant website have a TOTAL of around 2500 products in the catalogue. Due to the recent javascript optimisations we can now advise that there are ezimerchant websites with over 5000 products working fine but stress that this is certainly the upper limit of what you should expect it to handle.