8 / 8
Sep 2023

When using a link to add the quantity to a cart, the quantity is correctly set in the e-junkie cart the first time. When the user updates the quantity on our site (not in the cart), the quantity is not updated in the cart.

For example...

Add w/ Qty
https://www.fatfreecartpro.com/ecom/gb.php?c=cart&ejc=2&cl=XXX&i=102&quantity=3

Update Qty
https://www.fatfreecartpro.com/ecom/gb.php?c=cart&ejc=2&cl=XXX&i=102&quantity=9

Upon updating the quantity to "9", the value in the cart remains with the original value of "3".

Can you please confirm if this is a bug? Or if this is by design? If the latter, is there a work-a-round?

  • created

    Jul '22
  • last reply

    Sep '23
  • 7

    replies

  • 894

    views

  • 3

    users

  • 1

    like

  • 2

    links

I think it's just that we never developed any way for a cart-button URL to update existing items already in a buyer's cart at all, and the cart doesn't support adding the same item to a buyer's cart more than once, in order to avoid confusion or mis-orders in case a buyer didn't realize they'd already added that item, so trying to add another instance of an existing item in the cart just gets ignored.

Normally, quantity would be made editable by enabling "Let buyer edit quantity" in the product's settings in your E-junkie Dashboard, then buyers can change the quantity of that item in their cart once they've added it.

Thanks for the reply. I'm aware of the option to edit the quantity in the cart. I could just keep track of the cart items and quantities and then just clear out the cart cookie and then reapply the items, but that seems like quite a bit of excessive work when a simple option would be fairly easy to add in the cart.

For example, how about another url param that says to override whatever quantity is in the cart?

<url>?c=cart&ejc=2&cl=XXX&i=102&quantity=3&forceQuantity=true

Or something like that?

I have asked our Devs if it might be possible and feasible for them to build-out cart support for updating the quantity of an existing item in a buyer's cart via an Add to Cart URL with a &quantity= parameter for that item number.

&quantity= is already allowed and correctly sets the cart's quantity the first time used. It's when using it a 2nd time that it fails to update the cart. The general idea is to include the 3rd param of &forceQty=true or something like that.

Right, that's all I meant to say, and a new param may not be necessary if we could just add support for the &quantity= param to update the item qty. if that item is already in the buyer's cart.

1 year later

Over a year later, and the same behavior is occurring. Has this made it on to the product roadmap?

Looks like there's been no action logged for that item on our Dev wishlist, and, until now, no interest in that feature before or since the earlier forum post here. I'll mention to our Devs that someone else expressed interest in it.