Developer forum

Forum » Development » CartCmd=addMulti causes: Attempt to aritmatic with two prices of different currency

CartCmd=addMulti causes: Attempt to aritmatic with two prices of different currency

Dimitrij Jazel
Reply

Hi guys,

I am getting this error here:

https://www.screencast.com/t/CzVRrZ5CuirE

 

DW version: 8.8.1.6

 

I am getting this error when I am using AddMulti cart cmd Command.

Here is the data that I am sending:

cartcmd:addmulti
OrderContext:Cart_1
ID:421
Quantity1:2
ProductLoopCounter1:1
ProductID1:0034500000000
UnitID1:
wishListID1:0
Quantity2:2
ProductLoopCounter2:2
ProductID2:0034500100000
UnitID2:
wishListID2:0
Quantity3:2
ProductLoopCounter3:3
ProductID3:0034620000000
UnitID3:
wishListID3:0

Anything I can do in order to ensure that I am adding correct currency?

In order to see full request see fille attached

/Dmitrij

 


Replies

 
Nicolai Pedersen
Reply

Hi Dmitrij

You send this to the root of the website (/Default.aspx). My guess is that you have several websites with different cultures/currencies. You have to post to a page id in the same website as your cart resides.

BR Nicolai

 
Dimitrij Jazel
Reply

Hi Nicolai,

Looks like the issue was Product data, not sure what exactly or how, but when we wiped out, and re-imported all product data again, all was OK.

Regarding "Page ID" ofcourse I included it. it is right here: https://www.screencast.com/t/LDtKBdfpn7

And here: https://www.screencast.com/t/3n9GSIT6qx (in the file attachment).

 

You must be logged in to post in the forum