I am in need of some help here. I have the basic beginnings of a shopping cart made from using an older array inventory example. However, after 3 days of testing it, I attempted to add it into an existing C3 project and was informed that the functions used in the .c3p are deprecated. When I attempted to change the functions to the newer usage I was unable to set array data as string, only as numbers. What am I doing wrong here? Even after changing the parameters to only numbers the array will not populate. Attached is the working .c3P file with the older function plugin.
https://www.dropbox.com/s/2raoh55asaxhd10/Array%20and%20Function%20Shopping%20Cart.c3p?dl=0
Any help at all would be awesome.