In the model there is code that converts an of Magento products into a hash that is compatible with Segment's API. However, after the information is casted it was being overwritten back to its original state. I also removed the boolean casting method because the code is manually casted.
I'm also adding functionality to record discounts and revenue.
In the model there is code that converts an of Magento products into a hash that is compatible with Segment's API. However, after the information is casted it was being overwritten back to its original state. I also removed the boolean casting method because the code is manually casted.
I'm also adding functionality to record discounts and revenue.