Developer forum

Forum » Development » Can't set Quantity in Cart.Line.Added

Can't set Quantity in Cart.Line.Added

Lars Sørensen
Reply

Hi guys,

I'm using the eCommerce.Cart.Line.Added notification subscriber to multiply the QTY with packaging size. However, for some reason I can't do anything about to the AddedLine. I can add new lines, clone the added line, but adjusting QTY, and even releting the AddedLine or removing it from the order, doesn't react.

The solution is running 18.4.1.12, and the subscriber is used on a solution running 8.3.1.9, so somewhere in between something must have been changed.

I have similar functionality in the eCommerce.Cart.Line.Increased subscriber which seems to be working fine.

This is pretty urgent, so I hopen someone will look into it soon. Thanks in advance.

BR.

Lars


Replies

 
Lars Sørensen
Reply

Hi again,

I found out that the problem was because the same notification subscriber is used in the LiveIntegration module. After moving the quantity code to here, it seems to work fine. It puzzles me, though, that the other notification seem to work like a charm.

BR.

Lars

 

You must be logged in to post in the forum