segment-boneyard / analytics-magento

[DEPRECATED] The hassle-free way to integrate analytics into any Magento store.
15 stars 19 forks source link

removing code that accidentally overwrites casting of Magento product #73

Closed jklina closed 9 years ago

jklina commented 9 years ago

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.

sperand-io commented 9 years ago

hey sorry for the delay on this — looks awesome. thanks!