Great module! I have two issues with the shopping cart:

1. Clicking the "Add to cart" button multiple times on the search results page generates the following errors:
* Sorry - there was an error accessing Amazon.com. Details are in the system log (and here:) Amazon error returned. Code=AWS.ECommerceService.ItemAlreadyInCart, Message=The item you specified, 1595580042, is already in your cart. //
* This item is already in your cart. Not added again
* Error: Item not added to cart
Is this a known issue? It would be nice to increase the cart quantity by 1 if available on Amazon.com.

2. Updating the cart quantity on the Shopping Cart page bahaves strangly when the available quantity on Amazon.com is lower than the requested quantity.
Thanks,
Laszlo
osherl.com

Comments

rfay’s picture

Thanks -

#1: I'm aware of this one and have battled it occasionally. What it should do is to increment the number of items in the cart. Since the cart is actually maintained on Amazon, this requires multiple calls to amazon, and they warn you to stay under 1 call per second. However, perhaps it just needs to be done.

#2: When the cart quantity is changed to something higher than Amazon's available number, Amazon truncates to that number. I would assume that is what you would want? There really isn't any option anyway, as Amazon is doing this.

I will try to work on #1 (again) :-)

osherl’s picture

Thanks!
#2 makes perfect sense. Looking forward to the fix for #1.

rfay’s picture

Title: Shopping Cart issues » "Add to cart" should increment count if the cart already has item in it
rfay’s picture

Status: Active » Fixed

Committed a fix. "Add to cart" when the item is already in the cart now increments the quantity in the cart.

rfay’s picture

Status: Fixed » Closed (fixed)